Commodore Amiga A500 Technical Reference Manual page 153

Hide thumbs Also See for Amiga A500:
Table of Contents

Advertisement

#definejio_RamBaseAddr
/* now the magic bits in each register (and boy, are there a lot of
them!) */
/* bits for PcIntReq, PcIntGen registers */
#define JPCINTB_IRQ1
#define JPCINTB_IRQ3
#define JPCINTB_IRQ4
#define JPCINTB_IRQ7
#define JPCINTF_IRQ1
#define JPCINTF_IRQ3
#define JPCINTF_IRQ4
#define JPCINTF_IRQ7
/* pc side interrupts */
#define JPCKEYINT
#define JPCSENDINT
#define JPCLP1INT
/* bits for RamSize */
#defineJRAMB_EXISTS
#defineJRAMB-2MEG
#define JRAMF_EXISTS
#define JRAMF.2MEG
/* bits for control register */
#defineJCNTRLB_ENABLEINT (0)
#defineJCNTRLB_DISABLEINT (1)
#define JCNTRLB_RESETPC (2)
#define JCNTRLB_CLRPCINT (3)
/* constants for sizes of various janus regions */
#define JANUSTOTALSIZE
#define JANUSBANKSIZE
#define JANUSNUMBANKS
#define JANUSBANKMASK
150
0x1fff
/* r/w, sets extra ram base
address */
(0)
/* active high */
(1)
/* active low */
(2)
/* active low */
(3)
/* active low */
(1<<0)
(1<<1)
(1<<2)
(1<<3)
(0xff)
/* keycode available */
(0xfc)
/* system request */
(0xf6)
/* parallel port acknowledge */
(0)
/* set if there is any ram at
all*/
(1)
/* set if 2 meg, clear if 1/2
meg */
(1<<0)
(1<<1)
/* enable amiga interrupts */
/* disable amiga interrupts */
/* reset the pc. remember to
strobe */
/* ReleasePcReset afterwards */
/* turn off all amiga->pc ints */
(512*1024) /* 1/2 megabyte */
(128*1024) /* 128Kper memory
bank */
(4)
/* four memory
banks */
(0x60000)
/* mask bits for bank
region */

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Amiga a2000

Table of Contents