AMX 86 Assembler Interface
K
A
DAK
387
PROCEDURE
C ASM PURPOSE P ARAMETERS IN OUT AX =
ERRORS E D R
Timing Control
ajclk AACLK AMX Clock Handler Note 1 nnn
ajtick AATICK Read elapsed system ticks DX:AX no onn
ajtmcnv AATMCNV Convert milliseconds to system ticks Interval (ms) DX:CX no ooo
Interval (system ticks) DX:CX
ajtmcre AATMCRE Create an interval timer A(Timer Definition) ES:BX AERNTM onn
Timer id DX AERTMV
Note 5
ajtmdel AATMDEL Delete an interval timer Timer id DX AERNSTM onn
ajtmrd AATMRD Read an interval timer Timer id DX AERNSTM onn
Timer value (system ticks) DX:CX
ajtmtag AATMTAG Fin d id of timer with specific tag Tag DX:CX AERNSTM on n
Timer id DX Note 5
ajtmwr AATMWR Start/stop an interval timer Timer id DX AERNSTM onn
Timer value (system ticks) BX:CX AERTMV
(0:0 = stop)
ajtslv AATSLV Change a task ' s time slice interval Task id DX AERNST ooo
Time slice value (system ticks) CX
ajtsof AATSOF Disable time slicing no ooo
ajtson AATSON Enable time slicing no ooo
Time/Date Manager
ajtdf AATDF Format calendar time/dat e A(time/date structure) ES:BX no ooo
as an ASCII string A(text buffer) DS:DI
Format specification byte DL
Count of chars formatted AX
ajtdg AATD G Get c a lendar time/date A(time/date st ructure) ES:BX Note 1 onn
AATDRR Time/Dat e Restart Procedure Note 4 onn
ajtds AATDS Set calendar time/date A(time/date structure) ES:BX Note 1 onn