AMX 86 Frozen Dessert Maker User Manual


 
388
K
A
DAK
AMX 86 Assembler Interface
PROCEDURE
C ASM PURPOSE PARAMETERS IN OUT
AX =
ERRORS E D R
Semaphore Manager
ajsmcre AASMCRE Create a semaphore Initial value (0 to 32767) BX AERISV
onn
(-1 for resource semaphore) AERNSB
Tag DX:CX Note 5
Semaphore id BX
ajsmdel AASMDEL Delete a semaphore Semaphore id BX AERNSS
onn
AERSIU
ajsmfre AASMFRE Free a resource (unconditional) Resource semaphore id BX AERNSS
onn
AERRNY
ajsmget AASMGET Get use of a semaphore Semaphore id BX AERNSS
onn
(no wait) AERSBY
ajsmrls AASMRLS Release a resource (nested) Resource semaphore id BX AERNSS
onn
AERRNY
AASMRR Semaphore Manager Note 4
onn
Restart Procedure
ajsmrsv AASMRSV Reserve a resource Resource semaphore id BX AERNSS
nno
(optional timeout) Max. wait time (system ticks) DX:CX AERTMO
(0:0 = forever) AERTMV
Wait priority DI
(0 = highest)
ajsmsig AASMSIG Signal to a semaphore Semaphore id BX AERNSS
onn
AERNME
ajsmtag AASMTAG Find id of semaphore with Tag DX:CX AERNSS
onn
specific tag Semaphore id BX Note 5
ajsmwat AASMWAT Wait on a semaphore Semaphore id BX AERNSS
nno
(optional timeout) Max. wait time (system ticks) DX:CX AERTMO
(0:0 = forever) AERTMV
Waiting priority DI
(0 = highest)