J-SET-SERVICE
Set an address for a far call for that service
Expects:
AL
:
Janus Service Number to 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 to stop
Returns:
AL: Status
(J-OK, J-NO-SERVICE)
J-CALLAMIGA
Calls the requested function on AMlGA side.
Does not wait for the call to complete.
If
J-SET-SERVICE defined,
it
is internally called on completion.
Expects:
AL
:
AMlGA Service to call
BX
:
New Parameter Memory offset to use,
-
1
Use
default offset
Returns:
AL: Status
(J-PENDING, J-FINISHED, J-NO-SERVICE)
J-WAITAMIGA
Waits for a previous issued J-CALLAMIGA to complete.
This function is used if no
JSET-SERVICE is defined.
Expects:
AL
Service Number to wait for
Returns:
AL
Status (J-FINISHED, J-NO-SERVICE)
J-CHECKAMIGA
Checks completion status of a pending J-CALLAMIGA
Expects:
AL Service Number to check
Returns:
AL 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