J-SET-SERVICE
Set an address for a far call for that service
Expects:
AL
:
Janus Service Number t o support
ES:DX: Entry address for FAR call
Returns:
AL
Status (J-OK, J-NO-SERVICE)
J-STOP-SERVICE
Prevents AMlGA from using the far call (see above) for this function
and releases this Service Number.
No memory is freed up.
No calls are accepted from either side anymore.
Expects:
AL
Number of Service t o stop
Returns:
AL: Status (J-OK, J-NO-SERVICE)
J-CALLAMIGA
Calls the requested function on AMlGA side.
Does not wait for the call t o complete.
If J-SET-SERVICE defined, it is internally called on completion.
Expects:
AL
:
AMlGA Service t o call
BX
:
New Parameter Memory offset t o use,
-
1
Use
default offset
Returns:
AL: Status (J-PENDING, J-FINISHED, J-NO-SERVICE)
J-WAITAMIGA
Waits for a previous issued J-CALLAMIGA t o complete.
This function is used if no JSET-SERVICE is defined.
Expects:
A L
Service Number to wait for
Returns:
AL
Status (J-FINISHED, J-NO-SERVICE)
J-CHECKAMIGA
Checks completion status of a pending J-CALLAMIGA
Expects:
A L
Service Number t o check
Returns:
A L
Status (J-PENDING. J-FINISHED, J-NO-SERVICE)
This is the Interrupt we are using:
JANUS
equ
Obh
These are the function codes we know:
J-GET-SERVICE
equ
0
J-GET-BASE
equ
1
JALLOC-MEM
equ
2