Browse Source

HBIOS: Get timer tick now include the tick frequency

pull/123/head
Dean Netherton 6 years ago
parent
commit
3b05013b62
  1. 1
      Source/Doc/Architecture.md
  2. 1
      Source/HBIOS/hbios.asm

1
Source/Doc/Architecture.md

@ -1721,6 +1721,7 @@ available along with the registers/information returned.
| _Returned Values_
| A: Status (0=OK, else error)
| DE:HL: Current Timer Tick Count Value
| C: Tick frequency (typically 50 or 60)
#### SYSGET Subfunction 0xD1 -- Get Seconds Count (SECONDS)

1
Source/HBIOS/hbios.asm

@ -2458,6 +2458,7 @@ SYS_GETTIMER:
HB_DI
CALL LD32
HB_EI
LD C, TICKFREQ
XOR A
RET
;

Loading…
Cancel
Save