UBYTE *ja-IoBase;
/*
ptr
to
base
of io register region
*/
UBYTE 7aExpanBase;
/*
ptr
to
start
of shared memory
*/
APTR ja-ExecBase;
l*
ptr to exec library
*/
APTR ja-SegList;
/*
ptr to loaded code
*/
struct Interrupt **ja-IntHandlersd* base of array of int
handler ptrs
*l
struct Interrupt jalntserver;
/*
INTB-PORTS server
*/
struct Interrupt ja-ReadHandlerd* JSERV-READAMIGA
handler
*l
l;
l*
hide a byte field in the lib-pad field
*/
#define ja-SpurriousMask lib-pad
l*
magic constants for memory allocation
*/
#define MEM-TYPEMASK OxOOff
l*
8
memory areas
*/
#define MEMB-PARAMETER
(0)
/*
parameter memory
*/
#define MEMB-BUFFER (1)
/*
buffer memory
*/
#define MEMF-PARAMETER
(1
<CO)
/*
parameter memory
*/
#define MEMF-BUFFER (1
<<
1
)
/*
buffer memory
*/
#define MEMACCESSMASK 0x3000
/*
bits that participate in
access types
*/
#define MEM-BYTEACCESS 0x0000
/*
return base suitable for
byte access
*/
#define MEM-WORDACCESS 0x1
000
/*
return base suitable for
word access
*/
#define MEM-GRAPHlCACCESSOx2000
/*
return base suitable for
graphic access
*/
#define MEM-IOACCESS 0x3000
/*
return base suitable for
io access
*/
#define TYPEACCESSTOADDR
5
/*
#
of bits to turn access
mask to addr
*/
#define JANUSNAME ']anus.library"
janusreg.h
-
janus hardware registers (from amiga point
of view)
Copyright
O
1986,
Commodore Amiga Inc., All rights reserved
l*
hardware interrupt bits all bits are active low
*/
#define JINTB-MINT
(0)
l*
mono video ram written to
*/
#define JINTB-GINT (1)
/*
color video ram written to
*/
#define JINTB-CRTI INT (2)
/*
mono video control registers
changed
*/
#define JINTB-CRTZINT
(3)
/*
color video control registers
changed
*/
#define JINTB-ENBKB
(4)
/*
keyboard ready for next
character
*/