Download Print this page

Commodore Amiga A500 Technical Reference Manual page 145

Hide thumbs Also See for Amiga A500:

Advertisement

janus.i
-
software conventions for janus.i
Copyright 0
1986,
Commodore-Amiga Inc., All rights reserved
IFND
EXEC-TY PES-I
INCLUDE "exec/types.i"
EN DC
EXEC-TY PES-I
l
FN
D
EXEC-LIBRARIES-I
INCLUDE "exec1libraries.i"
ENDC
EXEC-LIBRARIES-I
IFND
EXEC-INTERRUPTS-I
INCLUDE "exec/interrupts.i"
ENDC
EXEC-INTERRUPTS-I
;
JanusResource
-
an entity which keeps track o f the reset state o f
the 8088. I f this resource does not exist, i t is assumed the 8088 can
be reset.
STRUCTURE JanusResource,LN-SIZE
APTR
jr-BoardAddress
;
address of JANUS board
UBYTE
jr-Reset
;
non-zero indicates 8088
is held reset
LABEL
JanusResource-SIZEOF
;
As a coding convenience, we assume a maximum of 3 2 handlers.
;
People should avoid using this in their code, because we want t o
;
be able t o relax this constraint in the future. All the standard
;
commands' syntactically support any number of interrupts, but
;
the internals are limited t o 32.
MAXHANDLER
EQU
3 2
;
JanusAmiga
-
amiga specific data structures forjanus project:
STRUCTURE JanusAmiga,LIB-SIZE
ULONG
ja-IntReq
;
software copy of out-
standing requests
ULONG
jalntEna
;
software copy of enabled
interrupts
APTR
ja-ParamMem
;
ptr t o (word arranged)
param mem
APTR
ja-IoBase
;
ptr t o base of io register
region
APTR
jaExpanBase
;
ptr t o start of shared
memory
APTR
ja-ExecBase
;
ptr t o exec library
APTR
ja-DOSBase
;
ptr t o DOS library
APTR
ja-Seg List
;
holds a pointer t o our
code segment

Advertisement

loading

This manual is also suitable for:

Amiga a2000