Section
4.3
Janus.Library
PREFACE
THE
PUBLIC
ROUTINES
Contents
Descriptions
This
is
a brief description of the janus code. This code supports low
level access to the
')anusw system -the link between a PC and an
Amiga.
m
AllocJanusMem
m
CheckJanuslnt
m
CleanupJanusSig
m
FreeJanusMem
m
GetJanusStart
m
GetParamOffset
m
JBCopy
m
JanusLock
m
JanusMemBase
m
JanusMemToOffset
m
JanusMemType
m
JanusUnLock
m
SendJanuslnt
m
SetJanusEnable
m
SetJanusHandler
m
SetJanusRequest
m
SetParamOffset
m
SetupJanusSig
The code is packaged as a library (specifically ')anus.library"), which
is
loaded during Autoconfig procedure.
All
routines that return a value return
it
in
DO.
There is a link library
for C routines,
'j'lib.lib".
oldHandler
=
SetJanusHandler( jintnum. intserver
)
DO
A1
This routine sets up an interrupt handler for a particularjanus inter-
rupt. The old interrupt is returned. A null means that there
is
no
in-
terrupt handler. If there is no interrupt handler then interrupts not
will be processed for that
jintnum.
oldEnable
=
SetJanusEnable( jintnum, newvalue
)
DO D
1