Go to the source code of this file.
Macros | |
#define | DA1I_vSCCWrReq 0x80 |
#define | DA1O_vPage2 0x40 |
#define | DA1I_CPU_ID1 0x40 |
#define | DA1O_vHeadSel 0x20 |
#define | DA1O_vOverlay 0x10 |
#define | DA1O_vSync 0x08 |
#define | DA1O_RESERVED2 0x04 |
#define | DA1O_RESERVED1 0x02 |
#define | DA1O_RESERVED0 0x01 |
#define | DB1I_Par_Err 0x80 |
#define | DB1O_vSndEnb 0x80 |
#define | DB1O_Par_Enb 0x40 |
#define | DB1O_vFDesk2 0x20 |
#define | DB1O_vFDesk1 0x10 |
#define | DB1I_vFDBInt 0x08 |
#define | DB1O_rTCEnb 0x04 |
#define | DB1O_rTCCLK 0x02 |
#define | DB1O_rTCData 0x01 |
#define | DB1I_rTCData 0x01 |
#define | DA2O_v2Ram1 0x80 |
#define | DA2O_v2Ram0 0x40 |
#define | DA2I_v2IRQ0 0x40 |
#define | DA2I_v2IRQE 0x20 |
#define | DA2I_v2IRQD 0x10 |
#define | DA2I_v2IRQC 0x08 |
#define | DA2I_v2IRQB 0x04 |
#define | DA2I_v2IRQA 0x02 |
#define | DA2I_v2IRQ9 0x01 |
#define | DB2O_v2VBL 0x80 |
#define | DB2O_Par_Test 0x80 |
#define | DB2I_v2SNDEXT 0x40 |
#define | DB2I_v2TM0A 0x20 |
#define | DB2I_v2TM1A 0x10 |
#define | DB2I_vFC3 0x08 |
#define | DB2O_vFC3 0x08 |
#define | DB2O_v2PowerOff 0x04 |
#define | DB2O_v2BusLk 0x02 |
#define | DB2O_vCDis 0x01 |
#define | DB2O_CEnable 0x01 |
#define | VIA1_T1 6 |
#define | VIA1_T2 5 |
#define | VIA1_ADBCLK 4 |
#define | VIA1_ADBDATA 3 |
#define | VIA1_ADBRDY 2 |
#define | VIA1_VBLNK 1 |
#define | VIA1_ONESEC 0 |
#define | V1IF_IRQ 0x80 |
#define | V1IF_T1 (1 << VIA1_T1) |
#define | V1IF_T2 (1 << VIA1_T2) |
#define | V1IF_ADBCLK (1 << VIA1_ADBCLK) |
#define | V1IF_ADBDATA (1 << VIA1_ADBDATA) |
#define | V1IF_ADBRDY (1 << VIA1_ADBRDY) |
#define | V1IF_VBLNK (1 << VIA1_VBLNK) |
#define | V1IF_ONESEC (1 << VIA1_ONESEC) |
#define | VIA2_T1 6 |
#define | VIA2_T2 5 |
#define | VIA2_ASC 4 |
#define | VIA2_SCSIIRQ 3 |
#define | VIA2_EXPIRQ 2 |
#define | VIA2_SLOTINT 1 |
#define | VIA2_SCSIDRQ 0 |
#define | V2IF_IRQ 0x80 |
#define | V2IF_T1 (1 << VIA2_T1) |
#define | V2IF_T2 (1 << VIA2_T2) |
#define | V2IF_ASC (1 << VIA2_ASC) |
#define | V2IF_SCSIIRQ (1 << VIA2_SCSIIRQ) |
#define | V2IF_EXPIRQ (1 << VIA2_EXPIRQ) |
#define | V2IF_SLOTINT (1 << VIA2_SLOTINT) |
#define | V2IF_SCSIDRQ (1 << VIA2_SCSIDRQ) |
#define | VIA1_INTS (V1IF_T1 | V1IF_ADBRDY) |
#define | VIA2_INTS |
#define | RBV_INTS |
#define | ACR_T1LATCH 0x40 |
#define | VIA1_addr Via1Base /* at PA 0x50f00000 */ |
#define | VIA2OFF 1 /* VIA2 addr = VIA1_addr * 0x2000 */ |
#define | RBVOFF 0x13 /* RBV addr = VIA1_addr * 0x13000 */ |
#define | VIA1 0 |
#define | VIA2 0 |
#define | vBufB 0x0000 /* register B */ |
#define | vBufA 0x0200 /* register A */ |
#define | vDirB 0x0400 /* data direction register */ |
#define | vDirA 0x0600 /* data direction register */ |
#define | vT1C 0x0800 |
#define | vT1CH 0x0a00 |
#define | vT1L 0x0c00 |
#define | vT1LH 0x0e00 |
#define | vT2C 0x1000 |
#define | vT2CH 0x1200 |
#define | vSR 0x1400 /* shift register */ |
#define | vACR 0x1600 /* aux control register */ |
#define | vPCR 0x1800 /* peripheral control register */ |
#define | vIFR 0x1a00 /* interrupt flag register */ |
#define | vIER 0x1c00 /* interrupt enable register */ |
#define | rBufB 0 /* register B */ |
#define | rBufA 2 /* register A */ |
#define | rIFR 0x3 /* interrupt flag register (writes?) */ |
#define | rIER 0x13 /* interrupt enable register */ |
#define | rMonitor 0x10 /* Monitor type */ |
#define | rSlotInt 0x12 /* Slot interrupt */ |
#define | RBVDepthMask 0x07 /* depth in bits */ |
#define | RBVMonitorMask 0x38 /* Type numbers */ |
#define | RBVOff 0x40 /* monitor turn off */ |
#define | RBVMonIDNone 0x38 /* What RBV actually has for no video */ |
#define | RBVMonIDOff 0x0 /* What rbv_vidstatus() returns for no video */ |
#define | RBVMonID15BWP 0x08 /* BW portrait */ |
#define | RBVMonIDRGB 0x10 /* color monitor */ |
#define | RBVMonIDRGB15 0x28 /* 15 inch RGB */ |
#define | RBVMonIDBW 0x30 /* No internal video */ |
#define | via_reg(v, r) (*(Via1Base + (r))) |
#define ACR_T1LATCH 0x40 |
Definition at line 145 of file adb_viareg.h.
#define DA1I_CPU_ID1 0x40 |
Definition at line 52 of file adb_viareg.h.
#define DA1I_vSCCWrReq 0x80 |
Definition at line 50 of file adb_viareg.h.
#define DA1O_RESERVED0 0x01 |
Definition at line 58 of file adb_viareg.h.
#define DA1O_RESERVED1 0x02 |
Definition at line 57 of file adb_viareg.h.
#define DA1O_RESERVED2 0x04 |
Definition at line 56 of file adb_viareg.h.
#define DA1O_vHeadSel 0x20 |
Definition at line 53 of file adb_viareg.h.
#define DA1O_vOverlay 0x10 |
Definition at line 54 of file adb_viareg.h.
#define DA1O_vPage2 0x40 |
Definition at line 51 of file adb_viareg.h.
#define DA1O_vSync 0x08 |
Definition at line 55 of file adb_viareg.h.
#define DA2I_v2IRQ0 0x40 |
Definition at line 75 of file adb_viareg.h.
#define DA2I_v2IRQ9 0x01 |
Definition at line 81 of file adb_viareg.h.
#define DA2I_v2IRQA 0x02 |
Definition at line 80 of file adb_viareg.h.
#define DA2I_v2IRQB 0x04 |
Definition at line 79 of file adb_viareg.h.
#define DA2I_v2IRQC 0x08 |
Definition at line 78 of file adb_viareg.h.
#define DA2I_v2IRQD 0x10 |
Definition at line 77 of file adb_viareg.h.
#define DA2I_v2IRQE 0x20 |
Definition at line 76 of file adb_viareg.h.
#define DA2O_v2Ram0 0x40 |
Definition at line 74 of file adb_viareg.h.
#define DA2O_v2Ram1 0x80 |
Definition at line 73 of file adb_viareg.h.
#define DB1I_Par_Err 0x80 |
Definition at line 61 of file adb_viareg.h.
#define DB1I_rTCData 0x01 |
Definition at line 70 of file adb_viareg.h.
#define DB1I_vFDBInt 0x08 |
Definition at line 66 of file adb_viareg.h.
#define DB1O_Par_Enb 0x40 |
Definition at line 63 of file adb_viareg.h.
#define DB1O_rTCCLK 0x02 |
Definition at line 68 of file adb_viareg.h.
#define DB1O_rTCData 0x01 |
Definition at line 69 of file adb_viareg.h.
#define DB1O_rTCEnb 0x04 |
Definition at line 67 of file adb_viareg.h.
#define DB1O_vFDesk1 0x10 |
Definition at line 65 of file adb_viareg.h.
#define DB1O_vFDesk2 0x20 |
Definition at line 64 of file adb_viareg.h.
#define DB1O_vSndEnb 0x80 |
Definition at line 62 of file adb_viareg.h.
#define DB2I_v2SNDEXT 0x40 |
Definition at line 86 of file adb_viareg.h.
#define DB2I_v2TM0A 0x20 |
Definition at line 87 of file adb_viareg.h.
#define DB2I_v2TM1A 0x10 |
Definition at line 88 of file adb_viareg.h.
#define DB2I_vFC3 0x08 |
Definition at line 89 of file adb_viareg.h.
#define DB2O_CEnable 0x01 |
Definition at line 94 of file adb_viareg.h.
#define DB2O_Par_Test 0x80 |
Definition at line 85 of file adb_viareg.h.
#define DB2O_v2BusLk 0x02 |
Definition at line 92 of file adb_viareg.h.
#define DB2O_v2PowerOff 0x04 |
Definition at line 91 of file adb_viareg.h.
#define DB2O_v2VBL 0x80 |
Definition at line 84 of file adb_viareg.h.
#define DB2O_vCDis 0x01 |
Definition at line 93 of file adb_viareg.h.
#define DB2O_vFC3 0x08 |
Definition at line 90 of file adb_viareg.h.
#define rBufA 2 /* register A */ |
Definition at line 176 of file adb_viareg.h.
#define rBufB 0 /* register B */ |
Definition at line 175 of file adb_viareg.h.
#define RBV_INTS |
Definition at line 142 of file adb_viareg.h.
#define RBVDepthMask 0x07 /* depth in bits */ |
Definition at line 183 of file adb_viareg.h.
#define RBVMonID15BWP 0x08 /* BW portrait */ |
Definition at line 188 of file adb_viareg.h.
#define RBVMonIDBW 0x30 /* No internal video */ |
Definition at line 191 of file adb_viareg.h.
#define RBVMonIDNone 0x38 /* What RBV actually has for no video */ |
Definition at line 186 of file adb_viareg.h.
#define RBVMonIDOff 0x0 /* What rbv_vidstatus() returns for no video */ |
Definition at line 187 of file adb_viareg.h.
#define RBVMonIDRGB 0x10 /* color monitor */ |
Definition at line 189 of file adb_viareg.h.
#define RBVMonIDRGB15 0x28 /* 15 inch RGB */ |
Definition at line 190 of file adb_viareg.h.
#define RBVMonitorMask 0x38 /* Type numbers */ |
Definition at line 184 of file adb_viareg.h.
Definition at line 152 of file adb_viareg.h.
#define RBVOff 0x40 /* monitor turn off */ |
Definition at line 185 of file adb_viareg.h.
#define rIER 0x13 /* interrupt enable register */ |
Definition at line 178 of file adb_viareg.h.
#define rIFR 0x3 /* interrupt flag register (writes?) */ |
Definition at line 177 of file adb_viareg.h.
#define rMonitor 0x10 /* Monitor type */ |
Definition at line 179 of file adb_viareg.h.
#define rSlotInt 0x12 /* Slot interrupt */ |
Definition at line 180 of file adb_viareg.h.
#define V1IF_ADBCLK (1 << VIA1_ADBCLK) |
Definition at line 111 of file adb_viareg.h.
#define V1IF_ADBDATA (1 << VIA1_ADBDATA) |
Definition at line 112 of file adb_viareg.h.
#define V1IF_ADBRDY (1 << VIA1_ADBRDY) |
Definition at line 113 of file adb_viareg.h.
#define V1IF_IRQ 0x80 |
Definition at line 108 of file adb_viareg.h.
#define V1IF_ONESEC (1 << VIA1_ONESEC) |
Definition at line 115 of file adb_viareg.h.
#define V1IF_T1 (1 << VIA1_T1) |
Definition at line 109 of file adb_viareg.h.
#define V1IF_T2 (1 << VIA1_T2) |
Definition at line 110 of file adb_viareg.h.
#define V1IF_VBLNK (1 << VIA1_VBLNK) |
Definition at line 114 of file adb_viareg.h.
#define V2IF_ASC (1 << VIA2_ASC) |
Definition at line 132 of file adb_viareg.h.
#define V2IF_EXPIRQ (1 << VIA2_EXPIRQ) |
Definition at line 134 of file adb_viareg.h.
#define V2IF_IRQ 0x80 |
Definition at line 129 of file adb_viareg.h.
#define V2IF_SCSIDRQ (1 << VIA2_SCSIDRQ) |
Definition at line 136 of file adb_viareg.h.
#define V2IF_SCSIIRQ (1 << VIA2_SCSIIRQ) |
Definition at line 133 of file adb_viareg.h.
#define V2IF_SLOTINT (1 << VIA2_SLOTINT) |
Definition at line 135 of file adb_viareg.h.
#define V2IF_T1 (1 << VIA2_T1) |
Definition at line 130 of file adb_viareg.h.
#define V2IF_T2 (1 << VIA2_T2) |
Definition at line 131 of file adb_viareg.h.
#define vACR 0x1600 /* aux control register */ |
Definition at line 169 of file adb_viareg.h.
#define vBufA 0x0200 /* register A */ |
Definition at line 159 of file adb_viareg.h.
#define vBufB 0x0000 /* register B */ |
Definition at line 158 of file adb_viareg.h.
#define vDirA 0x0600 /* data direction register */ |
Definition at line 161 of file adb_viareg.h.
#define vDirB 0x0400 /* data direction register */ |
Definition at line 160 of file adb_viareg.h.
#define VIA1 0 |
Definition at line 154 of file adb_viareg.h.
#define VIA1_ADBCLK 4 |
Definition at line 101 of file adb_viareg.h.
#define VIA1_ADBDATA 3 |
Definition at line 102 of file adb_viareg.h.
#define VIA1_ADBRDY 2 |
Definition at line 103 of file adb_viareg.h.
#define VIA1_addr Via1Base /* at PA 0x50f00000 */ |
Definition at line 150 of file adb_viareg.h.
#define VIA1_INTS (V1IF_T1 | V1IF_ADBRDY) |
Definition at line 138 of file adb_viareg.h.
#define VIA1_ONESEC 0 |
Definition at line 105 of file adb_viareg.h.
#define VIA1_T1 6 |
Definition at line 99 of file adb_viareg.h.
#define VIA1_T2 5 |
Definition at line 100 of file adb_viareg.h.
#define VIA1_VBLNK 1 |
Definition at line 104 of file adb_viareg.h.
#define VIA2 0 |
Definition at line 155 of file adb_viareg.h.
#define VIA2_ASC 4 |
Definition at line 122 of file adb_viareg.h.
#define VIA2_EXPIRQ 2 |
Definition at line 124 of file adb_viareg.h.
#define VIA2_INTS |
Definition at line 139 of file adb_viareg.h.
#define VIA2_SCSIDRQ 0 |
Definition at line 126 of file adb_viareg.h.
#define VIA2_SCSIIRQ 3 |
Definition at line 123 of file adb_viareg.h.
#define VIA2_SLOTINT 1 |
Definition at line 125 of file adb_viareg.h.
#define VIA2_T1 6 |
Definition at line 120 of file adb_viareg.h.
#define VIA2_T2 5 |
Definition at line 121 of file adb_viareg.h.
Definition at line 151 of file adb_viareg.h.
#define via_reg | ( | v, | |
r | |||
) | (*(Via1Base + (r))) |
Definition at line 193 of file adb_viareg.h.
#define vIER 0x1c00 /* interrupt enable register */ |
Definition at line 172 of file adb_viareg.h.
#define vIFR 0x1a00 /* interrupt flag register */ |
Definition at line 171 of file adb_viareg.h.
#define vPCR 0x1800 /* peripheral control register */ |
Definition at line 170 of file adb_viareg.h.
#define vSR 0x1400 /* shift register */ |
Definition at line 168 of file adb_viareg.h.
#define vT1C 0x0800 |
Definition at line 162 of file adb_viareg.h.
#define vT1CH 0x0a00 |
Definition at line 163 of file adb_viareg.h.
#define vT1L 0x0c00 |
Definition at line 164 of file adb_viareg.h.
#define vT1LH 0x0e00 |
Definition at line 165 of file adb_viareg.h.
#define vT2C 0x1000 |
Definition at line 166 of file adb_viareg.h.
#define vT2CH 0x1200 |
Definition at line 167 of file adb_viareg.h.