AMX 86 Assembler Interface
K
A
DAK
389
PROCEDURE
C ASM PURPOSE P ARAMETERS IN OUT AX =
ERRORS E D R
Event Manager
ajevcre AAEVCRE Create an event group Initial value for event group BX AERNEB on n
Tag DX:CX Not e 5
Group id BX
ajevdel AAEVDEL Delete an event group Group id BX AERNSG onn
AEREVU
ajevnt AAEVNT Get sa ved event state Event value AX no ooo
ajevrd AAEVRD Read current event sta te Group id BX AERNSG ooo
Event value CX
AAEVRR Even t Manager Restart Procedure Not e 4 onn
ajevsig AAEVSIG Signal one or more events in a group PUSH <signal value> AERNS G onn
PUSH <event mask> AERNME
PUSH <group id>
CALL AAEVSIG
ADD SP,6
ajevtag AAEVTAG Find id of event group with Tag DX:CX AERNSG onn
specific tag Group id BX Note 5
ajevwat AAEVWAT Wait for all/any of a set of events DX:CX=<timeout-syst em ticks> AERTMO nno
(0:0 = forever) AERNSG
PUSH DX AERTMV
PUSH CX
PUSH <0 for any; 1 for all>
PUSH <match value>
PUSH <event mask>
PUSH <group id>
CALL AAEVWAT
ADD SP,12