AMX 86 Procedures
K
A
DAK
333
ajtmtag ajtmtag
Purpose Find an Interval Timer
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID timerid;
char tag[4];
int status;
.
.
status = ajtmtag(&timerid, tag);
AX DX= [DX:CX] see note
Where &timerid is a pointer to storage for the timer id of the interval timer of
interest.
tag is a pointer to a 4-character name identifying the timer of interest.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERNSTM = No timer with matching tag can be found
If more than one timer was created with the same tag, you will get back
the timer id of one of them, but which one is not certain.
If an interval timer with the given tag cannot be located, the timer id in
timerid will be undefined.
Timer tags are 4 characters long. All characters must match your search
tag exactly.
Note A tag 'ABCD' is presented in register DX:CX with 'A' in CL and 'D' in
DH.
See Also ajtmcre