F$Time

From NitrOS-9
Jump to: navigation, search
Time Gets the system date and time
OS9 F$Time 103F 15

Entry Conditions

X address of the area in which to store the date and time packet

Exit Conditions

X date and time

Error Output

CC carry set on error

B error code (if any)

Additional Information

  • The Time call returns the current system date and time in the form of a 6-byte packet (in binary). NitrOS-9 copies the packet to the address passed in Register X.
  • The packet looks like this:
  • Time is a part of the clock module and it does not exist if no previous call to F$STime has been made.

Clock