/
OS_Ht, Hardware time manipulation

OS_Ht, Hardware time manipulation

Register parameters

RST 20H, DEFW $F206
IN:  A = HT_RES ($01), reset hardware timer

OUT: -

Registers changed after return:
     A.BCDEHL/IXIY same
     .F....../.... different

IN:  A = HT_RD ($02), read hardware timer
         HL = pointer to a 5 bytes buffer
OUT: -

Registers changed after return:
     A.BCDEHL/IXIY same
     .F....../.... different

IN:  A = HT_MDT ($03), read monthy/date/time address
OUT: Fc = 0
     BHL = month, date, time address

Registers changed after return:
     ...CDE../IXIY same
     AFB...HL/.... different

IN:	 A = HT_UPT ($04), read uptime
OUT: Fc = 0
	 BCD = minutes, E = seconds since latest hard reset

Registers changed after return:
     AF....HL/IXIY same
     ..BCDE../.... different

Notes

Internal operating system usage.

Deprecated in OZ 5.0, call integrated in respective GN_ calls.

Related content

GN_Sdo, send date and time to standard output
GN_Sdo, send date and time to standard output
More like this
GN_Msc, Miscellaeneous time operations
GN_Msc, Miscellaeneous time operations
More like this
OS_Hout, write a hexadecimal byte to standard output
OS_Hout, write a hexadecimal byte to standard output
More like this
OS_Fn, Handle functions
OS_Fn, Handle functions
More like this
Process Management and OZ information
Process Management and OZ information
More like this
OS_Pout, Write embedded string at (PC) to standard output.
OS_Pout, Write embedded string at (PC) to standard output.
More like this

web analytics