|
#define | VIA1_BASE (0x50F00000) |
|
#define | VIA2_BASE (0x50F02000) |
|
#define | RBV_BASE (0x50F26000) |
|
#define | VIA1A_vSccWrReq |
|
#define | VIA1A_vRev8 |
|
#define | VIA1A_vHeadSel |
|
#define | VIA1A_vOverlay |
|
#define | VIA1A_vSync |
|
#define | VIA1A_vVolume 0x07 /* Audio volume mask for PWM */ |
|
#define | VIA1A_CPUID0 0x02 /* CPU id bit 0 on RBV, others */ |
|
#define | VIA1A_CPUID1 0x04 /* CPU id bit 0 on RBV, others */ |
|
#define | VIA1A_CPUID2 0x10 /* CPU id bit 0 on RBV, others */ |
|
#define | VIA1A_CPUID3 0x40 /* CPU id bit 0 on RBV, others */ |
|
#define | VIA1B_vSound |
|
#define | VIA1B_vMystery |
|
#define | VIA1B_vADBS2 0x20 /* ADB state input bit 1 (unused on IIfx) */ |
|
#define | VIA1B_vADBS1 0x10 /* ADB state input bit 0 (unused on IIfx) */ |
|
#define | VIA1B_vADBInt 0x08 /* ADB interrupt 0=interrupt (unused on IIfx)*/ |
|
#define | VIA1B_vRTCEnb 0x04 /* Enable Real time clock. 0=enabled. */ |
|
#define | VIA1B_vRTCClk 0x02 /* Real time clock serial-clock line. */ |
|
#define | VIA1B_vRTCData 0x01 /* Real time clock serial-data line. */ |
|
#define | EVRB_XCVR 0x08 /* XCVR_SESSION* */ |
|
#define | EVRB_FULL 0x10 /* VIA_FULL */ |
|
#define | EVRB_SYSES 0x20 /* SYS_SESSION */ |
|
#define | EVRB_AUXIE 0x00 /* Enable A/UX Interrupt Scheme */ |
|
#define | EVRB_AUXID 0x40 /* Disable A/UX Interrupt Scheme */ |
|
#define | EVRB_SFTWRIE 0x00 /* Software Interrupt ReQuest */ |
|
#define | EVRB_SFTWRID 0x80 /* Software Interrupt ReQuest */ |
|
#define | VIA2A_vRAM1 0x80 /* RAM size bit 1 (IIci: reserved) */ |
|
#define | VIA2A_vRAM0 0x40 /* RAM size bit 0 (IIci: internal video IRQ) */ |
|
#define | VIA2A_vIRQE 0x20 /* IRQ from slot $E */ |
|
#define | VIA2A_vIRQD 0x10 /* IRQ from slot $D */ |
|
#define | VIA2A_vIRQC 0x08 /* IRQ from slot $C */ |
|
#define | VIA2A_vIRQB 0x04 /* IRQ from slot $B */ |
|
#define | VIA2A_vIRQA 0x02 /* IRQ from slot $A */ |
|
#define | VIA2A_vIRQ9 0x01 /* IRQ from slot $9 */ |
|
#define | VIA2B_vVBL |
|
#define | VIA2B_vSndJck |
|
#define | VIA2B_vTfr0 0x20 /* Transfer mode bit 0 ack from NuBus */ |
|
#define | VIA2B_vTfr1 0x10 /* Transfer mode bit 1 ack from NuBus */ |
|
#define | VIA2B_vMode32 |
|
#define | VIA2B_vPower |
|
#define | VIA2B_vBusLk |
|
#define | VIA2B_vCDis |
|
#define | vBufB 0x0000 /* [VIA/RBV] Register B */ |
|
#define | vBufAH 0x0200 /* [VIA only] Buffer A, with handshake. DON'T USE! */ |
|
#define | vDirB 0x0400 /* [VIA only] Data Direction Register B. */ |
|
#define | vDirA 0x0600 /* [VIA only] Data Direction Register A. */ |
|
#define | vT1CL 0x0800 /* [VIA only] Timer one counter low. */ |
|
#define | vT1CH 0x0a00 /* [VIA only] Timer one counter high. */ |
|
#define | vT1LL 0x0c00 /* [VIA only] Timer one latches low. */ |
|
#define | vT1LH 0x0e00 /* [VIA only] Timer one latches high. */ |
|
#define | vT2CL 0x1000 /* [VIA only] Timer two counter low. */ |
|
#define | vT2CH 0x1200 /* [VIA only] Timer two counter high. */ |
|
#define | vSR 0x1400 /* [VIA only] Shift register. */ |
|
#define | vACR 0x1600 /* [VIA only] Auxiliary control register. */ |
|
#define | vPCR 0x1800 /* [VIA only] Peripheral control register. */ |
|
#define | vIFR 0x1a00 /* [VIA/RBV] Interrupt flag register. */ |
|
#define | vIER 0x1c00 /* [VIA/RBV] Interrupt enable register. */ |
|
#define | vBufA 0x1e00 /* [VIA/RBV] register A (no handshake) */ |
|
#define | rBufB 0x0000 /* [VIA/RBV] Register B */ |
|
#define | rExp 0x0001 /* [RBV only] RBV future expansion (always 0) */ |
|
#define | rSIFR 0x0002 /* [RBV only] RBV slot interrupts register. */ |
|
#define | rIFR 0x1a03 /* [VIA/RBV] RBV interrupt flag register. */ |
|
#define | rMonP 0x0010 /* [RBV only] RBV video monitor type. */ |
|
#define | rChpT 0x0011 /* [RBV only] RBV test mode register (reads as 0). */ |
|
#define | rSIER 0x0012 /* [RBV only] RBV slot interrupt enables. */ |
|
#define | rIER 0x1c13 /* [VIA/RBV] RBV interrupt flag enable register. */ |
|
#define | rBufA rSIFR /* the 'slot interrupts register' is BufA on a VIA */ |
|
#define | RBV_DEPTH 0x07 /* bits per pixel: 000=1,001=2,010=4,011=8 */ |
|
#define | RBV_MONID 0x38 /* monitor type, as below. */ |
|
#define | RBV_VIDOFF 0x40 /* 1 turns off onboard video */ |
|
#define | MON_15BW (1<<3) /* 15" BW portrait. */ |
|
#define | MON_IIGS (2<<3) /* 12" color (modified IIGS monitor). */ |
|
#define | MON_15RGB (5<<3) /* 15" RGB portrait. */ |
|
#define | MON_12OR13 (6<<3) /* 12" BW or 13" RGB. */ |
|
#define | MON_NONE (7<<3) /* No monitor attached. */ |
|
#define | IER_SET_BIT(b) (0x80 | (1<<(b)) ) |
|
#define | IER_CLR_BIT(b) (0x7F & (1<<(b)) ) |
|