1 /* $NetBSD: cc_registers.h,v 1.3 1994/10/26 02:01:38 cgd Exp $ */ 2 3 /* 4 * Copyright (c) 1994 Christian E. Hopps 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright 11 * notice, this list of conditions and the following disclaimer. 12 * 2. Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 15 * 3. All advertising materials mentioning features or use of this software 16 * must display the following acknowledgement: 17 * This product includes software developed by Christian E. Hopps. 18 * 4. The name of the author may not be used to endorse or promote products 19 * derived from this software without specific prior written permission 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 33 #if ! defined (_CC_REGISTERS_H) 34 #define _CC_REGISTERS_H 35 36 #define R_BLTDDAT 0x000 37 #define R_DMACONR 0x002 38 #define R_VPOSR 0x004 39 #define R_VHPOSR 0x006 40 #define R_DSKDATR 0x008 41 #define R_JOY0DAT 0x00A 42 #define R_JOY1DAT 0x00C 43 #define R_CLXDAT 0x00E 44 #define R_ADKCONR 0x010 45 #define R_POT0DAT 0x012 46 #define R_POT1DAT 0x014 47 #define R_POTINP 0x016 48 #define R_SERDATR 0x018 49 #define R_DSKBYTR 0x01A 50 #define R_INTENAR 0x01C 51 #define R_INTREQR 0x01E 52 #define R_DSKPTH 0x020 53 #define R_DSKPTL 0x022 54 #define R_DSKLEN 0x024 55 #define R_DSKDAT 0x026 56 #define R_REFPTR 0x028 57 #define R_VPOSW 0x02A 58 #define R_VHPOSW 0x02C 59 #define R_COPCON 0x02E 60 #define R_SERDAT 0x030 61 #define R_SERPER 0x032 62 #define R_POTGO 0x034 63 #define R_JOYTEST 0x036 64 #define R_STREQU 0x038 65 #define R_STRVBL 0x03A 66 #define R_STRHOR 0x03C 67 #define R_STRLONG 0x03E 68 #define R_BLTCON0 0x040 69 #define R_BLTCON1 0x042 70 #define R_BLTAFWM 0x044 71 #define R_BLTALWM 0x046 72 #define R_BLTCPTH 0x048 73 #define R_BLTCPTL 0x04A 74 #define R_BLTBPTH 0x04C 75 #define R_BLTBPTL 0x04E 76 #define R_BLTAPTH 0x050 77 #define R_BLTAPTL 0x052 78 #define R_BLTDPTH 0x054 79 #define R_BLTDPTL 0x056 80 #define R_BLTSIZE 0x058 81 #define R_BLTCON0L 0x05B 82 #define R_BLTSIZV 0x05C 83 #define R_BLTSIZH 0x05E 84 #define R_BLTCMOD 0x060 85 #define R_BLTBMOD 0x062 86 #define R_BLTAMOD 0x064 87 #define R_BLTDMOD 0x066 88 #define R_BLTCDAT 0x070 89 #define R_BLTBDAT 0x072 90 #define R_BLTADAT 0x074 91 #define R_DENISEID 0x07C 92 #define R_DSKSYNC 0x07E 93 #define R_COP1LCH 0x080 94 #define R_COP1LCL 0x082 95 #define R_COP2LCH 0x084 96 #define R_COP2LCL 0x086 97 #define R_COPJMP1 0x088 98 #define R_COPJMP2 0x08A 99 #define R_COPINS 0x08C 100 #define R_DIWSTRT 0x08E 101 #define R_DIWSTART 0x08E 102 #define R_DIWSTOP 0x090 103 #define R_DIWSTOP 0x090 104 #define R_DDFSTRT 0x092 105 #define R_DDFSTART 0x092 106 #define R_DDFSTOP 0x094 107 #define R_DMACON 0x096 108 #define R_CLXCON 0x098 109 #define R_INTENA 0x09A 110 #define R_INTREQ 0x09C 111 #define R_ADKCON 0x09E 112 #define R_AUD0H 0x0A0 113 #define R_AUD0L 0X0A2 114 #define R_AC0_LEN 0x0A4 115 #define R_AC0_PER 0x0A6 116 #define R_AC0_VOL 0x0A8 117 #define R_AC0_DAT 0x0AA 118 #define R_AUD1H 0x0B0 119 #define R_AUD1L 0x0B2 120 #define R_AC1_LEN 0x0B4 121 #define R_AC1_PER 0x0B6 122 #define R_AC1_VOL 0x0B8 123 #define R_AC1_DAT 0x0BA 124 #define R_AUD2H 0x0C0 125 #define R_AUD2L 0x0C2 126 #define R_AC2_LEN 0x0C4 127 #define R_AC2_PER 0x0C6 128 #define R_AC2_VOL 0x0C8 129 #define R_AC2_DAT 0x0CA 130 #define R_AUD3H 0x0D0 131 #define R_AUD3L 0x0D2 132 #define R_AC3_LEN 0x0D4 133 #define R_AC3_PER 0x0D6 134 #define R_AC3_VOL 0x0D8 135 #define R_AC3_DAT 0x0DA 136 #define R_BPL0PTH 0x0E0 137 #define R_BPL0PTL 0x0E2 138 #define R_BPL1PTH 0x0E4 139 #define R_BPL1PTL 0x0E6 140 #define R_BPL2PTH 0x0E8 141 #define R_BPL2PTL 0x0EA 142 #define R_BPL3PTH 0x0EC 143 #define R_BPL3PTL 0x0EE 144 #define R_BPL4PTH 0x0F0 145 #define R_BPL4PTL 0x0F2 146 #define R_BPL5PTH 0x0F4 147 #define R_BPL5PTL 0x0F6 148 #define R_BPL6PTH 0x0F8 149 #define R_BPL6PTL 0x0FA 150 #define R_BPL7PTH 0x0FC 151 #define R_BPL7PTL 0x0FE 152 #define R_BPLCON0 0x100 153 #define R_BPLCON1 0x102 154 #define R_BPLCON2 0x104 155 #define R_BPLCON3 0x106 156 #define R_BPL1MOD 0x108 157 #define R_BPLMOD1 0x108 158 #define R_BPL2MOD 0x10A 159 #define R_BPLMOD2 0x10A 160 #define R_BPLCON4 0x10C 161 #define R_CLXCON2 0x10E 162 #define R_BPL0DAT 0x110 163 #define R_BPL1DAT 0x112 164 #define R_BPL2DAT 0x114 165 #define R_BPL3DAT 0x116 166 #define R_BPL4DAT 0x118 167 #define R_BPL5DAT 0x11A 168 #define R_BPL6DAT 0x11C 169 #define R_BPL7DAT 0x11E 170 #define R_SPR0PTH 0x120 171 #define R_SPR0PTL 0x122 172 #define R_SPR1PTH 0x124 173 #define R_SPR1PTL 0x126 174 #define R_SPR2PTH 0x128 175 #define R_SPR2PTL 0x12A 176 #define R_SPR3PTH 0x12C 177 #define R_SPR3PTL 0x12E 178 #define R_SPR4PTH 0x130 179 #define R_SPR4PTL 0x132 180 #define R_SPR5PTH 0x134 181 #define R_SPR5PTL 0x136 182 #define R_SPR6PTH 0x138 183 #define R_SPR6PTL 0x13A 184 #define R_SPR7PTH 0x13C 185 #define R_SPR7PTL 0x13E 186 #define R_SPR0_POS 0x140 187 #define R_SPR0_CTL 0x142 188 #define R_SPR0_DATAA 0x144 189 #define R_SPR0_DATAB 0x146 190 #define R_SPR1_POS 0x148 191 #define R_SPR1_CTL 0x14A 192 #define R_SPR1_DATAA 0x14C 193 #define R_SPR1_DATAB 0x14E 194 #define R_SPR2_POS 0x150 195 #define R_SPR2_CTL 0x152 196 #define R_SPR2_DATAA 0x154 197 #define R_SPR2_DATAB 0x156 198 #define R_SPR3_POS 0x158 199 #define R_SPR3_CTL 0x15A 200 #define R_SPR3_DATAA 0x15C 201 #define R_SPR3_DATAB 0x15E 202 #define R_SPR4_POS 0x160 203 #define R_SPR4_CTL 0x162 204 #define R_SPR4_DATAA 0x164 205 #define R_SPR4_DATAB 0x166 206 #define R_SPR5_POS 0x168 207 #define R_SPR5_CTL 0x16A 208 #define R_SPR5_DATAA 0x16C 209 #define R_SPR5_DATAB 0x16E 210 #define R_SPR6_POS 0x170 211 #define R_SPR6_CTL 0x172 212 #define R_SPR6_DATAA 0x174 213 #define R_SPR6_DATAB 0x176 214 #define R_SPR7_POS 0x178 215 #define R_SPR7_CTL 0x17A 216 #define R_SPR7_DATAA 0x17C 217 #define R_SPR7_DATAB 0x17E 218 #define R_COLOR00 0x180 219 #define R_COLOR01 0x182 220 #define R_COLOR02 0x184 221 #define R_COLOR03 0x186 222 #define R_COLOR04 0x188 223 #define R_COLOR05 0x18A 224 #define R_COLOR06 0x18C 225 #define R_COLOR07 0x18E 226 #define R_COLOR08 0x190 227 #define R_COLOR09 0x192 228 #define R_COLOR0A 0x194 229 #define R_COLOR0B 0x196 230 #define R_COLOR0C 0x198 231 #define R_COLOR0D 0x19A 232 #define R_COLOR0E 0x19C 233 #define R_COLOR0F 0x19E 234 #define R_COLOR10 0x1A0 235 #define R_COLOR11 0x1A2 236 #define R_COLOR12 0x1A4 237 #define R_COLOR13 0x1A6 238 #define R_COLOR14 0x1A8 239 #define R_COLOR15 0x1AA 240 #define R_COLOR16 0x1AC 241 #define R_COLOR17 0x1AE 242 #define R_COLOR18 0x1B0 243 #define R_COLOR19 0x1B2 244 #define R_COLOR1A 0x1B4 245 #define R_COLOR1B 0x1B6 246 #define R_COLOR1C 0x1B8 247 #define R_COLOR1D 0x1BA 248 #define R_COLOR1E 0x1BC 249 #define R_COLOR1F 0x1BE 250 #define R_HTOTAL 0x1C0 251 #define R_HSSTOP 0x1C2 252 #define R_HBSTRT 0x1C4 253 #define R_HBSTOP 0x1C6 254 #define R_VTOTAL 0x1C8 255 #define R_VSSTOP 0x1CA 256 #define R_VBSTRT 0x1CC 257 #define R_VBSTOP 0x1CE 258 #define R_SPRHSTRT 0x1D0 259 #define R_SPRHSTOP 0x1D2 260 #define R_BPLHSTRT 0x1D4 261 #define R_BPLHSTOP 0x1D6 262 #define R_HHPOSW 0x1D8 263 #define R_HHPOSR 0x1DA 264 #define R_BEAMCON0 0x1DC 265 #define R_HSSTRT 0x1DE 266 #define R_VSSTRT 0x1E0 267 #define R_HCENTER 0x1E2 268 #define R_DIWHIGH 0x1E4 269 #define R_FMODE 0x1FC 270 271 #endif /* _CC_REGISTERS_H */ 272