Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagenone
titleRST 20H, DEFW $F206
IN:
     A = HT_RES ($01), reset hardware timer
         HL = pointer to a 5 bytes buffer
     A = HT_RD ($02), read hardware timer
	 A = HT_UPT ($03), read uptime

OUT:
     A(in) =  HLHT_RES ($01)
		 -
     A(in) = HT_RD ($02)
		 BHL = pointer to a 5 byte11 bytes time system buffer

OUT:     -	 A = HT_UPT ($03)
		 BCD = minutes, E = seconds since latest hard reset

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 

...