annotate src/win32/IOViewerRegs.h @ 2:3549bbe597ed

adding makefile.am
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:47 -0600
parents f9f4f1b99eed
children
rev   line source
rlm@1 1 #ifndef VBA_IOVIEWERREGS_H
rlm@1 2 #define VBA_IOVIEWERREGS_H
rlm@1 3
rlm@1 4 #if _MSC_VER > 1000
rlm@1 5 #pragma once
rlm@1 6 #endif // _MSC_VER > 1000
rlm@1 7
rlm@1 8 struct IOData
rlm@1 9 {
rlm@1 10 u16 * address;
rlm@1 11 u16 offset;
rlm@1 12 char *name;
rlm@1 13 u16 write;
rlm@1 14 char *bits[16];
rlm@1 15 };
rlm@1 16
rlm@1 17 const IOData ioViewRegisters[] = {
rlm@1 18 {
rlm@1 19 &DISPCNT, 0, "0x4000000-DISPCNT", 0xFFF7,
rlm@1 20 {
rlm@1 21 "",
rlm@1 22 "",
rlm@1 23 "BG Mode (3 bits)",
rlm@1 24 "CGB Mode",
rlm@1 25 "Display Frame",
rlm@1 26 "H-Blank Interval OBJ processing",
rlm@1 27 "OBJ Character mapping",
rlm@1 28 "Forced blank",
rlm@1 29 "BG0",
rlm@1 30 "BG1",
rlm@1 31 "BG2",
rlm@1 32 "BG3",
rlm@1 33 "OBJ",
rlm@1 34 "WIN0",
rlm@1 35 "WIN1",
rlm@1 36 "OBJWIN"
rlm@1 37 }
rlm@1 38 },
rlm@1 39 {
rlm@1 40 &DISPSTAT, 4, "0x4000004-DISPSTAT", 0xFF38,
rlm@1 41 {
rlm@1 42 "V-Blank Status",
rlm@1 43 "H-Blank Status",
rlm@1 44 "VCOUNT Evaluation",
rlm@1 45 "V-Blank Interrupt Enable",
rlm@1 46 "H-Blank Interrupt Enable",
rlm@1 47 "VCOUNT Match Interrupt Enable",
rlm@1 48 "",
rlm@1 49 "",
rlm@1 50 "",
rlm@1 51 "",
rlm@1 52 "",
rlm@1 53 "",
rlm@1 54 "",
rlm@1 55 "",
rlm@1 56 "",
rlm@1 57 "VCOUNT setting (8 bits)"
rlm@1 58 }
rlm@1 59 },
rlm@1 60 {
rlm@1 61 &VCOUNT, 6, "0x4000006-VCOUNT", 0x0000,
rlm@1 62 {
rlm@1 63 "",
rlm@1 64 "",
rlm@1 65 "",
rlm@1 66 "",
rlm@1 67 "",
rlm@1 68 "",
rlm@1 69 "",
rlm@1 70 "VCOUNT (8 bits)",
rlm@1 71 "",
rlm@1 72 "",
rlm@1 73 "",
rlm@1 74 "",
rlm@1 75 "",
rlm@1 76 "",
rlm@1 77 "",
rlm@1 78 ""
rlm@1 79 }
rlm@1 80 },
rlm@1 81 {
rlm@1 82 &BG0CNT, 8, "0x4000008-BG0CNT", 0xDFCF,
rlm@1 83 {
rlm@1 84 "",
rlm@1 85 "Priority (2 bits)",
rlm@1 86 "",
rlm@1 87 "Char base (2 bits)",
rlm@1 88 "",
rlm@1 89 "",
rlm@1 90 "Mosaic",
rlm@1 91 "16/256 colors",
rlm@1 92 "",
rlm@1 93 "",
rlm@1 94 "",
rlm@1 95 "",
rlm@1 96 "Screen Base Block (5 bits)",
rlm@1 97 "",
rlm@1 98 "",
rlm@1 99 "Size (2 bits)"
rlm@1 100 }
rlm@1 101 },
rlm@1 102 {
rlm@1 103 &BG1CNT, 0xA, "0x400000A-BG1CNT", 0xDFCF,
rlm@1 104 {
rlm@1 105 "",
rlm@1 106 "Priority (2 bits)",
rlm@1 107 "",
rlm@1 108 "Char base (2 bits)",
rlm@1 109 "",
rlm@1 110 "",
rlm@1 111 "Mosaic",
rlm@1 112 "16/256 colors",
rlm@1 113 "",
rlm@1 114 "",
rlm@1 115 "",
rlm@1 116 "",
rlm@1 117 "Screen Base Block (5 bits)",
rlm@1 118 "",
rlm@1 119 "",
rlm@1 120 "Size (2 bits)"
rlm@1 121 }
rlm@1 122 },
rlm@1 123 {
rlm@1 124 &BG2CNT, 0xC, "0x400000C-BG2CNT", 0xFFCF,
rlm@1 125 {
rlm@1 126 "",
rlm@1 127 "Priority (2 bits)",
rlm@1 128 "",
rlm@1 129 "Char base (2 bits)",
rlm@1 130 "",
rlm@1 131 "",
rlm@1 132 "Mosaic",
rlm@1 133 "16/256 colors",
rlm@1 134 "",
rlm@1 135 "",
rlm@1 136 "",
rlm@1 137 "",
rlm@1 138 "Screen Base Block (5 bits)",
rlm@1 139 "Area Overflow",
rlm@1 140 "",
rlm@1 141 "Size (2 bits)"
rlm@1 142 }
rlm@1 143 },
rlm@1 144 {
rlm@1 145 &BG3CNT, 0xE, "0x400000E-BG3CNT", 0xFFCF,
rlm@1 146 {
rlm@1 147 "",
rlm@1 148 "Priority (2 bits)",
rlm@1 149 "",
rlm@1 150 "Char base (2 bits)",
rlm@1 151 "",
rlm@1 152 "",
rlm@1 153 "Mosaic",
rlm@1 154 "16/256 colors",
rlm@1 155 "",
rlm@1 156 "",
rlm@1 157 "",
rlm@1 158 "",
rlm@1 159 "Screen Base Block (5 bits)",
rlm@1 160 "Area Overflow",
rlm@1 161 "",
rlm@1 162 "Size (2 bits)"
rlm@1 163 }
rlm@1 164 },
rlm@1 165 {
rlm@1 166 &BG0HOFS, 0x10, "0x4000010-BG0HOFS", 0x01FF,
rlm@1 167 {
rlm@1 168 "",
rlm@1 169 "",
rlm@1 170 "",
rlm@1 171 "",
rlm@1 172 "",
rlm@1 173 "",
rlm@1 174 "",
rlm@1 175 "",
rlm@1 176 "Horizontal Offset (9 bits, W)",
rlm@1 177 "",
rlm@1 178 "",
rlm@1 179 "",
rlm@1 180 "",
rlm@1 181 "",
rlm@1 182 "",
rlm@1 183 ""
rlm@1 184 }
rlm@1 185 },
rlm@1 186 {
rlm@1 187 &BG0VOFS, 0x12, "0x4000012-BG0VOFS", 0x01FF,
rlm@1 188 {
rlm@1 189 "",
rlm@1 190 "",
rlm@1 191 "",
rlm@1 192 "",
rlm@1 193 "",
rlm@1 194 "",
rlm@1 195 "",
rlm@1 196 "",
rlm@1 197 "Vertical Offset (9 bits, W)",
rlm@1 198 "",
rlm@1 199 "",
rlm@1 200 "",
rlm@1 201 "",
rlm@1 202 "",
rlm@1 203 "",
rlm@1 204 ""
rlm@1 205 }
rlm@1 206 },
rlm@1 207 {
rlm@1 208 &BG1HOFS, 0x14, "0x4000014-BG1HOFS", 0x01FF,
rlm@1 209 {
rlm@1 210 "",
rlm@1 211 "",
rlm@1 212 "",
rlm@1 213 "",
rlm@1 214 "",
rlm@1 215 "",
rlm@1 216 "",
rlm@1 217 "",
rlm@1 218 "Horizontal Offset (9 bits, W)",
rlm@1 219 "",
rlm@1 220 "",
rlm@1 221 "",
rlm@1 222 "",
rlm@1 223 "",
rlm@1 224 "",
rlm@1 225 ""
rlm@1 226 }
rlm@1 227 },
rlm@1 228 {
rlm@1 229 &BG1VOFS, 0x16, "0x4000016-BG1VOFS", 0x01FF,
rlm@1 230 {
rlm@1 231 "",
rlm@1 232 "",
rlm@1 233 "",
rlm@1 234 "",
rlm@1 235 "",
rlm@1 236 "",
rlm@1 237 "",
rlm@1 238 "",
rlm@1 239 "Vertical Offset (9 bits, W)",
rlm@1 240 "",
rlm@1 241 "",
rlm@1 242 "",
rlm@1 243 "",
rlm@1 244 "",
rlm@1 245 "",
rlm@1 246 ""
rlm@1 247 }
rlm@1 248 },
rlm@1 249 {
rlm@1 250 &BG2HOFS, 0x18, "0x4000018-BG8HOFS", 0x01FF,
rlm@1 251 {
rlm@1 252 "",
rlm@1 253 "",
rlm@1 254 "",
rlm@1 255 "",
rlm@1 256 "",
rlm@1 257 "",
rlm@1 258 "",
rlm@1 259 "",
rlm@1 260 "Horizontal Offset (9 bits, W)",
rlm@1 261 "",
rlm@1 262 "",
rlm@1 263 "",
rlm@1 264 "",
rlm@1 265 "",
rlm@1 266 "",
rlm@1 267 ""
rlm@1 268 }
rlm@1 269 },
rlm@1 270 {
rlm@1 271 &BG2VOFS, 0x1A, "0x400001A-BG2VOFS", 0x01FF,
rlm@1 272 {
rlm@1 273 "",
rlm@1 274 "",
rlm@1 275 "",
rlm@1 276 "",
rlm@1 277 "",
rlm@1 278 "",
rlm@1 279 "",
rlm@1 280 "",
rlm@1 281 "Vertical Offset (9 bits, W)",
rlm@1 282 "",
rlm@1 283 "",
rlm@1 284 "",
rlm@1 285 "",
rlm@1 286 "",
rlm@1 287 "",
rlm@1 288 ""
rlm@1 289 }
rlm@1 290 },
rlm@1 291 {
rlm@1 292 &BG3HOFS, 0x1C, "0x400001C-BG3HOFS", 0x01FF,
rlm@1 293 {
rlm@1 294 "",
rlm@1 295 "",
rlm@1 296 "",
rlm@1 297 "",
rlm@1 298 "",
rlm@1 299 "",
rlm@1 300 "",
rlm@1 301 "",
rlm@1 302 "Horizontal Offset (9 bits,W)",
rlm@1 303 "",
rlm@1 304 "",
rlm@1 305 "",
rlm@1 306 "",
rlm@1 307 "",
rlm@1 308 "",
rlm@1 309 ""
rlm@1 310 }
rlm@1 311 },
rlm@1 312 {
rlm@1 313 &BG3VOFS, 0x1E, "0x400001E-BG3VOFS", 0x01FF,
rlm@1 314 {
rlm@1 315 "",
rlm@1 316 "",
rlm@1 317 "",
rlm@1 318 "",
rlm@1 319 "",
rlm@1 320 "",
rlm@1 321 "",
rlm@1 322 "",
rlm@1 323 "Vertical Offset (9 bits,W)",
rlm@1 324 "",
rlm@1 325 "",
rlm@1 326 "",
rlm@1 327 "",
rlm@1 328 "",
rlm@1 329 "",
rlm@1 330 ""
rlm@1 331 }
rlm@1 332 },
rlm@1 333 {
rlm@1 334 &BG2PA, 0x20, "0x4000020-BG2PA", 0xFFFF,
rlm@1 335 {
rlm@1 336 "",
rlm@1 337 "",
rlm@1 338 "",
rlm@1 339 "",
rlm@1 340 "",
rlm@1 341 "",
rlm@1 342 "",
rlm@1 343 "",
rlm@1 344 "",
rlm@1 345 "",
rlm@1 346 "",
rlm@1 347 "",
rlm@1 348 "",
rlm@1 349 "",
rlm@1 350 "",
rlm@1 351 "dx (16 bits,W)"
rlm@1 352 }
rlm@1 353 },
rlm@1 354 {
rlm@1 355 &BG2PB, 0x22, "0x4000022-BG2PB", 0xFFFF,
rlm@1 356 {
rlm@1 357 "",
rlm@1 358 "",
rlm@1 359 "",
rlm@1 360 "",
rlm@1 361 "",
rlm@1 362 "",
rlm@1 363 "",
rlm@1 364 "",
rlm@1 365 "",
rlm@1 366 "",
rlm@1 367 "",
rlm@1 368 "",
rlm@1 369 "",
rlm@1 370 "",
rlm@1 371 "",
rlm@1 372 "dmx (16 bits,W)"
rlm@1 373 }
rlm@1 374 },
rlm@1 375 {
rlm@1 376 &BG2PC, 0x24, "0x4000024-BG2PC", 0xFFFF,
rlm@1 377 {
rlm@1 378 "",
rlm@1 379 "",
rlm@1 380 "",
rlm@1 381 "",
rlm@1 382 "",
rlm@1 383 "",
rlm@1 384 "",
rlm@1 385 "",
rlm@1 386 "",
rlm@1 387 "",
rlm@1 388 "",
rlm@1 389 "",
rlm@1 390 "",
rlm@1 391 "",
rlm@1 392 "",
rlm@1 393 "dy (16 bits,W)"
rlm@1 394 }
rlm@1 395 },
rlm@1 396 {
rlm@1 397 &BG2PD, 0x26, "0x4000026-BG2PD", 0xFFFF,
rlm@1 398 {
rlm@1 399 "",
rlm@1 400 "",
rlm@1 401 "",
rlm@1 402 "",
rlm@1 403 "",
rlm@1 404 "",
rlm@1 405 "",
rlm@1 406 "",
rlm@1 407 "",
rlm@1 408 "",
rlm@1 409 "",
rlm@1 410 "",
rlm@1 411 "",
rlm@1 412 "",
rlm@1 413 "",
rlm@1 414 "dmy (16 bits,W)"
rlm@1 415 }
rlm@1 416 },
rlm@1 417 {
rlm@1 418 &BG2X_L, 0x28, "0x4000028-BG2X_L", 0xFFFF,
rlm@1 419 {
rlm@1 420 "",
rlm@1 421 "",
rlm@1 422 "",
rlm@1 423 "",
rlm@1 424 "",
rlm@1 425 "",
rlm@1 426 "",
rlm@1 427 "",
rlm@1 428 "",
rlm@1 429 "",
rlm@1 430 "",
rlm@1 431 "",
rlm@1 432 "",
rlm@1 433 "",
rlm@1 434 "",
rlm@1 435 "X low bits (16 bits,W)"
rlm@1 436 }
rlm@1 437 },
rlm@1 438 {
rlm@1 439 &BG2X_H, 0x2A, "0x400002A-BG2X_H", 0x0FFF,
rlm@1 440 {
rlm@1 441 "",
rlm@1 442 "",
rlm@1 443 "",
rlm@1 444 "",
rlm@1 445 "",
rlm@1 446 "",
rlm@1 447 "",
rlm@1 448 "",
rlm@1 449 "",
rlm@1 450 "",
rlm@1 451 "",
rlm@1 452 "X high bits (12 bits,W)",
rlm@1 453 "",
rlm@1 454 "",
rlm@1 455 "",
rlm@1 456 "",
rlm@1 457 }
rlm@1 458 },
rlm@1 459 {
rlm@1 460 &BG2Y_L, 0x2C, "0x400002C-BG2Y_L", 0xFFFF,
rlm@1 461 {
rlm@1 462 "",
rlm@1 463 "",
rlm@1 464 "",
rlm@1 465 "",
rlm@1 466 "",
rlm@1 467 "",
rlm@1 468 "",
rlm@1 469 "",
rlm@1 470 "",
rlm@1 471 "",
rlm@1 472 "",
rlm@1 473 "",
rlm@1 474 "",
rlm@1 475 "",
rlm@1 476 "",
rlm@1 477 "Y low bits (16 bits,W)"
rlm@1 478 }
rlm@1 479 },
rlm@1 480 {
rlm@1 481 &BG2Y_H, 0x2E, "0x400002E-BG2Y_H", 0x0FFF,
rlm@1 482 {
rlm@1 483 "",
rlm@1 484 "",
rlm@1 485 "",
rlm@1 486 "",
rlm@1 487 "",
rlm@1 488 "",
rlm@1 489 "",
rlm@1 490 "",
rlm@1 491 "",
rlm@1 492 "",
rlm@1 493 "",
rlm@1 494 "Y hight bits (12 bits,W)",
rlm@1 495 "",
rlm@1 496 "",
rlm@1 497 "",
rlm@1 498 "",
rlm@1 499 }
rlm@1 500 },
rlm@1 501 {
rlm@1 502 &BG3PA, 0x30, "0x4000030-BG3PA", 0xFFFF,
rlm@1 503 {
rlm@1 504 "",
rlm@1 505 "",
rlm@1 506 "",
rlm@1 507 "",
rlm@1 508 "",
rlm@1 509 "",
rlm@1 510 "",
rlm@1 511 "",
rlm@1 512 "",
rlm@1 513 "",
rlm@1 514 "",
rlm@1 515 "",
rlm@1 516 "",
rlm@1 517 "",
rlm@1 518 "",
rlm@1 519 "dx (16 bits,W)"
rlm@1 520 }
rlm@1 521 },
rlm@1 522 {
rlm@1 523 &BG3PB, 0x32, "0x4000032-BG3PB", 0xFFFF,
rlm@1 524 {
rlm@1 525 "",
rlm@1 526 "",
rlm@1 527 "",
rlm@1 528 "",
rlm@1 529 "",
rlm@1 530 "",
rlm@1 531 "",
rlm@1 532 "",
rlm@1 533 "",
rlm@1 534 "",
rlm@1 535 "",
rlm@1 536 "",
rlm@1 537 "",
rlm@1 538 "",
rlm@1 539 "",
rlm@1 540 "dmx (16 bits,W)"
rlm@1 541 }
rlm@1 542 },
rlm@1 543 {
rlm@1 544 &BG3PC, 0x34, "0x4000034-BG3PC", 0xFFFF,
rlm@1 545 {
rlm@1 546 "",
rlm@1 547 "",
rlm@1 548 "",
rlm@1 549 "",
rlm@1 550 "",
rlm@1 551 "",
rlm@1 552 "",
rlm@1 553 "",
rlm@1 554 "",
rlm@1 555 "",
rlm@1 556 "",
rlm@1 557 "",
rlm@1 558 "",
rlm@1 559 "",
rlm@1 560 "",
rlm@1 561 "dy (16 bits,W)"
rlm@1 562 }
rlm@1 563 },
rlm@1 564 {
rlm@1 565 &BG3PD, 0x36, "0x4000036-BG3PD", 0xFFFF,
rlm@1 566 {
rlm@1 567 "",
rlm@1 568 "",
rlm@1 569 "",
rlm@1 570 "",
rlm@1 571 "",
rlm@1 572 "",
rlm@1 573 "",
rlm@1 574 "",
rlm@1 575 "",
rlm@1 576 "",
rlm@1 577 "",
rlm@1 578 "",
rlm@1 579 "",
rlm@1 580 "",
rlm@1 581 "",
rlm@1 582 "dmy (16 bits,W)"
rlm@1 583 }
rlm@1 584 },
rlm@1 585 {
rlm@1 586 &BG3X_L, 0x38, "0x4000038-BG3X_L", 0xFFFF,
rlm@1 587 {
rlm@1 588 "",
rlm@1 589 "",
rlm@1 590 "",
rlm@1 591 "",
rlm@1 592 "",
rlm@1 593 "",
rlm@1 594 "",
rlm@1 595 "",
rlm@1 596 "",
rlm@1 597 "",
rlm@1 598 "",
rlm@1 599 "",
rlm@1 600 "",
rlm@1 601 "",
rlm@1 602 "",
rlm@1 603 "X low bits (16 bits,W)"
rlm@1 604 }
rlm@1 605 },
rlm@1 606 {
rlm@1 607 &BG3X_H, 0x3A, "0x400003A-BG3X_H", 0x0FFF,
rlm@1 608 {
rlm@1 609 "",
rlm@1 610 "",
rlm@1 611 "",
rlm@1 612 "",
rlm@1 613 "",
rlm@1 614 "",
rlm@1 615 "",
rlm@1 616 "",
rlm@1 617 "",
rlm@1 618 "",
rlm@1 619 "",
rlm@1 620 "X hight bits (12 bits,W)",
rlm@1 621 "",
rlm@1 622 "",
rlm@1 623 "",
rlm@1 624 "",
rlm@1 625 }
rlm@1 626 },
rlm@1 627 {
rlm@1 628 &BG3Y_L, 0x3C, "0x400003C-BG3Y_L", 0xFFFF,
rlm@1 629 {
rlm@1 630 "",
rlm@1 631 "",
rlm@1 632 "",
rlm@1 633 "",
rlm@1 634 "",
rlm@1 635 "",
rlm@1 636 "",
rlm@1 637 "",
rlm@1 638 "",
rlm@1 639 "",
rlm@1 640 "",
rlm@1 641 "",
rlm@1 642 "",
rlm@1 643 "",
rlm@1 644 "",
rlm@1 645 "Y low bits (16 bits,W)"
rlm@1 646 }
rlm@1 647 },
rlm@1 648 {
rlm@1 649 &BG3Y_H, 0x3E, "0x400003E-BG3Y_H", 0x0FFF,
rlm@1 650 {
rlm@1 651 "",
rlm@1 652 "",
rlm@1 653 "",
rlm@1 654 "",
rlm@1 655 "",
rlm@1 656 "",
rlm@1 657 "",
rlm@1 658 "",
rlm@1 659 "",
rlm@1 660 "",
rlm@1 661 "",
rlm@1 662 "Y hight bits (12 bits,W)",
rlm@1 663 "",
rlm@1 664 "",
rlm@1 665 "",
rlm@1 666 "",
rlm@1 667 }
rlm@1 668 },
rlm@1 669 {
rlm@1 670 &WIN0H, 0x40, "0x4000040-WIN0H", 0xFFFF,
rlm@1 671 {
rlm@1 672 "",
rlm@1 673 "",
rlm@1 674 "",
rlm@1 675 "",
rlm@1 676 "",
rlm@1 677 "",
rlm@1 678 "",
rlm@1 679 "Win 0 lower-right X (8 bits,W)",
rlm@1 680 "",
rlm@1 681 "",
rlm@1 682 "",
rlm@1 683 "",
rlm@1 684 "",
rlm@1 685 "",
rlm@1 686 "",
rlm@1 687 "Win 0 upper-left X (8 bits,W)",
rlm@1 688 }
rlm@1 689 },
rlm@1 690 {
rlm@1 691 &WIN1H, 0x42, "0x4000042-WIN1H", 0xFFFF,
rlm@1 692 {
rlm@1 693 "",
rlm@1 694 "",
rlm@1 695 "",
rlm@1 696 "",
rlm@1 697 "",
rlm@1 698 "",
rlm@1 699 "",
rlm@1 700 "Win 1 lower-right X (8 bits,W)",
rlm@1 701 "",
rlm@1 702 "",
rlm@1 703 "",
rlm@1 704 "",
rlm@1 705 "",
rlm@1 706 "",
rlm@1 707 "",
rlm@1 708 "Win 1 upper-left (8 bits,W)",
rlm@1 709 }
rlm@1 710 },
rlm@1 711 {
rlm@1 712 &WIN0V, 0x44, "0x4000044-WIN0V", 0xFFFF,
rlm@1 713 {
rlm@1 714 "",
rlm@1 715 "",
rlm@1 716 "",
rlm@1 717 "",
rlm@1 718 "",
rlm@1 719 "",
rlm@1 720 "",
rlm@1 721 "Win 0 lower-right Y (8 bits,W)",
rlm@1 722 "",
rlm@1 723 "",
rlm@1 724 "",
rlm@1 725 "",
rlm@1 726 "",
rlm@1 727 "",
rlm@1 728 "",
rlm@1 729 "Win 0 upper-left Y (8 bits,W)",
rlm@1 730 }
rlm@1 731 },
rlm@1 732 {
rlm@1 733 &WIN1V, 0x46, "0x4000046-WIN1V", 0xFFFF,
rlm@1 734 {
rlm@1 735 "",
rlm@1 736 "",
rlm@1 737 "",
rlm@1 738 "",
rlm@1 739 "",
rlm@1 740 "",
rlm@1 741 "",
rlm@1 742 "Win 1 lower-right Y (8 bits,W)",
rlm@1 743 "",
rlm@1 744 "",
rlm@1 745 "",
rlm@1 746 "",
rlm@1 747 "",
rlm@1 748 "",
rlm@1 749 "",
rlm@1 750 "Win 1 upper-left Y (8 bits,W)",
rlm@1 751 }
rlm@1 752 },
rlm@1 753 {
rlm@1 754 &WININ, 0x48, "0x4000048-WININ", 0x3F3F,
rlm@1 755 {
rlm@1 756 "WIN0 BG0",
rlm@1 757 "WIN0 BG1",
rlm@1 758 "WIN0 BG2",
rlm@1 759 "WIN0 BG3",
rlm@1 760 "WIN0 OBJ",
rlm@1 761 "WIN0 Special FX",
rlm@1 762 "",
rlm@1 763 "",
rlm@1 764 "WIN1 BG0",
rlm@1 765 "WIN1 BG1",
rlm@1 766 "WIN1 BG2",
rlm@1 767 "WIN1 BG3",
rlm@1 768 "WIN1 OBJ",
rlm@1 769 "WIN1 Special FX",
rlm@1 770 "",
rlm@1 771 "",
rlm@1 772 }
rlm@1 773 },
rlm@1 774 {
rlm@1 775 &WINOUT, 0x4A, "0x400004A-WINOUT", 0x3F3F,
rlm@1 776 {
rlm@1 777 "WIN0/1 BG0",
rlm@1 778 "WIN0/1 BG1",
rlm@1 779 "WIN0/1 BG2",
rlm@1 780 "WIN0/1 BG3",
rlm@1 781 "WIN0/1 OBJ",
rlm@1 782 "WIN0/1 Special FX",
rlm@1 783 "",
rlm@1 784 "",
rlm@1 785 "OBJWIN BG0",
rlm@1 786 "OBJWIN BG1",
rlm@1 787 "OBJWIN BG2",
rlm@1 788 "OBJWIN BG3",
rlm@1 789 "OBJWIN OBJ",
rlm@1 790 "OBJWIN Special FX",
rlm@1 791 "",
rlm@1 792 "",
rlm@1 793 }
rlm@1 794 },
rlm@1 795 {
rlm@1 796 &MOSAIC, 0x4C, "0x400004C-MOSAIC", 0xFFFF,
rlm@1 797 {
rlm@1 798 "",
rlm@1 799 "",
rlm@1 800 "",
rlm@1 801 "BG H Size (4 bits,W)",
rlm@1 802 "",
rlm@1 803 "",
rlm@1 804 "",
rlm@1 805 "BG V Size (4 bits,W)",
rlm@1 806 "",
rlm@1 807 "",
rlm@1 808 "",
rlm@1 809 "OBJ H Size (4 bits,W)",
rlm@1 810 "",
rlm@1 811 "",
rlm@1 812 "",
rlm@1 813 "OBJ V Size (4 bits,W)",
rlm@1 814 }
rlm@1 815 },
rlm@1 816 {
rlm@1 817 &BLDMOD, 0x50, "0x4000050-BLDMOD", 0x3FFF,
rlm@1 818 {
rlm@1 819 "1st BG0",
rlm@1 820 "1st BG1",
rlm@1 821 "1st BG2",
rlm@1 822 "1st BG3",
rlm@1 823 "1st OBJ",
rlm@1 824 "1st BD",
rlm@1 825 "",
rlm@1 826 "FX Type (2 bits)",
rlm@1 827 "2nd BG0",
rlm@1 828 "2nd BG1",
rlm@1 829 "2nd BG2",
rlm@1 830 "2nd BG3",
rlm@1 831 "2nd OBJ",
rlm@1 832 "2nd BD",
rlm@1 833 "",
rlm@1 834 "",
rlm@1 835 }
rlm@1 836 },
rlm@1 837 {
rlm@1 838 &COLEV, 0x52, "0x4000052-COLEV", 0x1F1F,
rlm@1 839 {
rlm@1 840 "",
rlm@1 841 "",
rlm@1 842 "",
rlm@1 843 "",
rlm@1 844 "Coefficient EVA (5 bits,W)",
rlm@1 845 "",
rlm@1 846 "",
rlm@1 847 "",
rlm@1 848 "",
rlm@1 849 "",
rlm@1 850 "",
rlm@1 851 "",
rlm@1 852 "Coefficient EVB (5 bits,W)",
rlm@1 853 "",
rlm@1 854 "",
rlm@1 855 "",
rlm@1 856 }
rlm@1 857 },
rlm@1 858 {
rlm@1 859 &COLY, 0x54, "0x4000054-COLEY", 0x001F,
rlm@1 860 {
rlm@1 861 "",
rlm@1 862 "",
rlm@1 863 "",
rlm@1 864 "",
rlm@1 865 "Coefficient EVY (5 bits,W)",
rlm@1 866 "",
rlm@1 867 "",
rlm@1 868 "",
rlm@1 869 "",
rlm@1 870 "",
rlm@1 871 "",
rlm@1 872 "",
rlm@1 873 "",
rlm@1 874 "",
rlm@1 875 "",
rlm@1 876 "",
rlm@1 877 }
rlm@1 878 },
rlm@1 879 {
rlm@1 880 NULL, 0x60, "0x4000060-SG10_L", 0x007F,
rlm@1 881 {
rlm@1 882 "",
rlm@1 883 "",
rlm@1 884 "Sweep Shifts (3 bits)",
rlm@1 885 "Sweep addition/decrease",
rlm@1 886 "",
rlm@1 887 "",
rlm@1 888 "Sweep Time (3 bits)",
rlm@1 889 "",
rlm@1 890 "",
rlm@1 891 "",
rlm@1 892 "",
rlm@1 893 "",
rlm@1 894 "",
rlm@1 895 "",
rlm@1 896 "",
rlm@1 897 "",
rlm@1 898 }
rlm@1 899 },
rlm@1 900 {
rlm@1 901 NULL, 0x62, "0x4000062-SG10_H", 0xFFFF,
rlm@1 902 {
rlm@1 903 "",
rlm@1 904 "",
rlm@1 905 "",
rlm@1 906 "",
rlm@1 907 "",
rlm@1 908 "Sound Length (6 bits,W)",
rlm@1 909 "",
rlm@1 910 "Waveform Type (2 bits)",
rlm@1 911 "",
rlm@1 912 "",
rlm@1 913 "Envelope Steps (3 bits)",
rlm@1 914 "Envelope Attenuate/Amplify",
rlm@1 915 "",
rlm@1 916 "",
rlm@1 917 "",
rlm@1 918 "Envelope Initial Value",
rlm@1 919 }
rlm@1 920 },
rlm@1 921 {
rlm@1 922 NULL, 0x64, "0x4000064-SG11", 0xC7FF,
rlm@1 923 {
rlm@1 924 "",
rlm@1 925 "",
rlm@1 926 "",
rlm@1 927 "",
rlm@1 928 "",
rlm@1 929 "",
rlm@1 930 "",
rlm@1 931 "",
rlm@1 932 "",
rlm@1 933 "",
rlm@1 934 "Frequency (11 bits,W)",
rlm@1 935 "",
rlm@1 936 "",
rlm@1 937 "",
rlm@1 938 "Sound Continuous/Counter",
rlm@1 939 "Initialization (W)",
rlm@1 940 }
rlm@1 941 },
rlm@1 942 {
rlm@1 943 NULL, 0x68, "0x4000068-SG20", 0xFFFF,
rlm@1 944 {
rlm@1 945 "",
rlm@1 946 "",
rlm@1 947 "",
rlm@1 948 "",
rlm@1 949 "",
rlm@1 950 "Sound Length (6 bits,W)",
rlm@1 951 "",
rlm@1 952 "Waveform Type (2 bits)",
rlm@1 953 "",
rlm@1 954 "",
rlm@1 955 "Envelope Steps (3 bits)",
rlm@1 956 "Envelope Attenuate/Amplify",
rlm@1 957 "",
rlm@1 958 "",
rlm@1 959 "",
rlm@1 960 "Envelope Initial Value",
rlm@1 961 }
rlm@1 962 },
rlm@1 963 {
rlm@1 964 NULL, 0x6C, "0x400006C-SG21", 0xC7FF,
rlm@1 965 {
rlm@1 966 "",
rlm@1 967 "",
rlm@1 968 "",
rlm@1 969 "",
rlm@1 970 "",
rlm@1 971 "",
rlm@1 972 "",
rlm@1 973 "",
rlm@1 974 "",
rlm@1 975 "",
rlm@1 976 "Frequency (11 bits,W)",
rlm@1 977 "",
rlm@1 978 "",
rlm@1 979 "",
rlm@1 980 "Sound Continuous/Counter",
rlm@1 981 "Initialization (W)",
rlm@1 982 }
rlm@1 983 },
rlm@1 984 {
rlm@1 985 NULL, 0x70, "0x4000070-SG30_L", 0x00E0,
rlm@1 986 {
rlm@1 987 "",
rlm@1 988 "",
rlm@1 989 "",
rlm@1 990 "",
rlm@1 991 "",
rlm@1 992 "Waveform 32/64 Steps",
rlm@1 993 "Waveform Bank 0/1",
rlm@1 994 "Sound Output",
rlm@1 995 "",
rlm@1 996 "",
rlm@1 997 "",
rlm@1 998 "",
rlm@1 999 "",
rlm@1 1000 "",
rlm@1 1001 "",
rlm@1 1002 "",
rlm@1 1003 }
rlm@1 1004 },
rlm@1 1005 {
rlm@1 1006 NULL, 0x72, "0x4000072-SG30_H", 0xE0FF,
rlm@1 1007 {
rlm@1 1008 "",
rlm@1 1009 "",
rlm@1 1010 "",
rlm@1 1011 "",
rlm@1 1012 "",
rlm@1 1013 "",
rlm@1 1014 "",
rlm@1 1015 "Sound Length (8 bits,W)",
rlm@1 1016 "",
rlm@1 1017 "",
rlm@1 1018 "",
rlm@1 1019 "",
rlm@1 1020 "",
rlm@1 1021 "",
rlm@1 1022 "Output Level (2 bits)",
rlm@1 1023 "Forced 3/4 Output Level",
rlm@1 1024 }
rlm@1 1025 },
rlm@1 1026 {
rlm@1 1027 NULL, 0x74, "0x4000074-SG31", 0xC7FF,
rlm@1 1028 {
rlm@1 1029 "",
rlm@1 1030 "",
rlm@1 1031 "",
rlm@1 1032 "",
rlm@1 1033 "",
rlm@1 1034 "",
rlm@1 1035 "",
rlm@1 1036 "",
rlm@1 1037 "",
rlm@1 1038 "",
rlm@1 1039 "Frequency (11 bits,W)",
rlm@1 1040 "",
rlm@1 1041 "",
rlm@1 1042 "",
rlm@1 1043 "Sound Continuous/Counter",
rlm@1 1044 "Initialization (W)",
rlm@1 1045 }
rlm@1 1046 },
rlm@1 1047 {
rlm@1 1048 NULL, 0x78, "0x4000078-SG40", 0xFF3F,
rlm@1 1049 {
rlm@1 1050 "",
rlm@1 1051 "",
rlm@1 1052 "",
rlm@1 1053 "",
rlm@1 1054 "",
rlm@1 1055 "Sound Length (6 bits,W)",
rlm@1 1056 "",
rlm@1 1057 "",
rlm@1 1058 "",
rlm@1 1059 "",
rlm@1 1060 "Envelope Steps (3 bits)",
rlm@1 1061 "Envelope Attenuate/Amplify",
rlm@1 1062 "",
rlm@1 1063 "",
rlm@1 1064 "",
rlm@1 1065 "Envelope Initial Value",
rlm@1 1066 }
rlm@1 1067 },
rlm@1 1068 {
rlm@1 1069 NULL, 0x7C, "0x400007C-SG41", 0xC0FF,
rlm@1 1070 {
rlm@1 1071 "",
rlm@1 1072 "",
rlm@1 1073 "Dividing Ratio Freq. (3 bits)",
rlm@1 1074 "Counter 15/7 Steps",
rlm@1 1075 "",
rlm@1 1076 "",
rlm@1 1077 "",
rlm@1 1078 "Counter Shift Clock (4 bits)",
rlm@1 1079 "",
rlm@1 1080 "",
rlm@1 1081 "",
rlm@1 1082 "",
rlm@1 1083 "",
rlm@1 1084 "",
rlm@1 1085 "Sound Continuous/Counter",
rlm@1 1086 "Initialization (W)",
rlm@1 1087 }
rlm@1 1088 },
rlm@1 1089 {
rlm@1 1090 NULL, 0x80, "0x4000080-SGCNT0_L", 0xFF77,
rlm@1 1091 {
rlm@1 1092 "",
rlm@1 1093 "",
rlm@1 1094 "Right Volume (3 bits)",
rlm@1 1095 "",
rlm@1 1096 "",
rlm@1 1097 "",
rlm@1 1098 "Left Volume (3 bits)",
rlm@1 1099 "",
rlm@1 1100 "Channel 1->Right",
rlm@1 1101 "Channel 2->Right",
rlm@1 1102 "Channel 3->Right",
rlm@1 1103 "Channel 4->Right",
rlm@1 1104 "Channel 1->Left",
rlm@1 1105 "Channel 2->Left",
rlm@1 1106 "Channel 3->Left",
rlm@1 1107 "Channel 4->Left",
rlm@1 1108 }
rlm@1 1109 },
rlm@1 1110 {
rlm@1 1111 NULL, 0x82, "0x4000082-SGCNT0_H", 0xFF1F,
rlm@1 1112 {
rlm@1 1113 "",
rlm@1 1114 "Sound 1-4 Volume (2 bits)",
rlm@1 1115 "DMA Sound A Volume",
rlm@1 1116 "DMA Sound B Volume",
rlm@1 1117 "",
rlm@1 1118 "",
rlm@1 1119 "",
rlm@1 1120 "",
rlm@1 1121 "DMA Sound A->Right",
rlm@1 1122 "DMA Sound A->Left",
rlm@1 1123 "DMA Sound A Timer",
rlm@1 1124 "DMA Sound A Reset FIFO",
rlm@1 1125 "DMA Sound B->Right",
rlm@1 1126 "DMA Sound B->Left",
rlm@1 1127 "DMA Sound B Timer",
rlm@1 1128 "DMA Sound B Reset FIFO",
rlm@1 1129 }
rlm@1 1130 },
rlm@1 1131 {
rlm@1 1132 NULL, 0x84, "0x4000084-SGCNT1", 0x0080,
rlm@1 1133 {
rlm@1 1134 "Sound 1 On",
rlm@1 1135 "Sound 2 On",
rlm@1 1136 "Sound 3 On",
rlm@1 1137 "Sound 4 On",
rlm@1 1138 "",
rlm@1 1139 "",
rlm@1 1140 "",
rlm@1 1141 "Master Sound Enable",
rlm@1 1142 "",
rlm@1 1143 "",
rlm@1 1144 "",
rlm@1 1145 "",
rlm@1 1146 "",
rlm@1 1147 "",
rlm@1 1148 "",
rlm@1 1149 "",
rlm@1 1150 }
rlm@1 1151 },
rlm@1 1152 {
rlm@1 1153 NULL, 0x88, "0x4000088-SGBIAS", 0xC3FF,
rlm@1 1154 {
rlm@1 1155 "",
rlm@1 1156 "",
rlm@1 1157 "",
rlm@1 1158 "",
rlm@1 1159 "",
rlm@1 1160 "",
rlm@1 1161 "",
rlm@1 1162 "",
rlm@1 1163 "",
rlm@1 1164 "Bias Level (10 bits)",
rlm@1 1165 "",
rlm@1 1166 "",
rlm@1 1167 "",
rlm@1 1168 "",
rlm@1 1169 "",
rlm@1 1170 "Sampling Rate (2 bits)",
rlm@1 1171 }
rlm@1 1172 },
rlm@1 1173 {
rlm@1 1174 NULL, 0xA0, "0x40000A0-SIGFIFOA_L", 0xFFFF,
rlm@1 1175 {
rlm@1 1176 "",
rlm@1 1177 "",
rlm@1 1178 "",
rlm@1 1179 "",
rlm@1 1180 "",
rlm@1 1181 "",
rlm@1 1182 "",
rlm@1 1183 "Data 0 (8 bits)",
rlm@1 1184 "",
rlm@1 1185 "",
rlm@1 1186 "",
rlm@1 1187 "",
rlm@1 1188 "",
rlm@1 1189 "",
rlm@1 1190 "",
rlm@1 1191 "Data 1 (8 bits)",
rlm@1 1192 }
rlm@1 1193 },
rlm@1 1194 {
rlm@1 1195 NULL, 0xA2, "0x40000A2-SIGFIFOA_H", 0xFFFF,
rlm@1 1196 {
rlm@1 1197 "",
rlm@1 1198 "",
rlm@1 1199 "",
rlm@1 1200 "",
rlm@1 1201 "",
rlm@1 1202 "",
rlm@1 1203 "",
rlm@1 1204 "Data 2 (8 bits)",
rlm@1 1205 "",
rlm@1 1206 "",
rlm@1 1207 "",
rlm@1 1208 "",
rlm@1 1209 "",
rlm@1 1210 "",
rlm@1 1211 "",
rlm@1 1212 "Data 3 (8 bits)",
rlm@1 1213 }
rlm@1 1214 },
rlm@1 1215 {
rlm@1 1216 NULL, 0xA4, "0x40000A4-SIGFIFOB_L", 0xFFFF,
rlm@1 1217 {
rlm@1 1218 "",
rlm@1 1219 "",
rlm@1 1220 "",
rlm@1 1221 "",
rlm@1 1222 "",
rlm@1 1223 "",
rlm@1 1224 "",
rlm@1 1225 "Data 0 (8 bits)",
rlm@1 1226 "",
rlm@1 1227 "",
rlm@1 1228 "",
rlm@1 1229 "",
rlm@1 1230 "",
rlm@1 1231 "",
rlm@1 1232 "",
rlm@1 1233 "Data 1 (8 bits)",
rlm@1 1234 }
rlm@1 1235 },
rlm@1 1236 {
rlm@1 1237 NULL, 0xA6, "0x40000A6-SIGFIFOB_H", 0xFFFF,
rlm@1 1238 {
rlm@1 1239 "",
rlm@1 1240 "",
rlm@1 1241 "",
rlm@1 1242 "",
rlm@1 1243 "",
rlm@1 1244 "",
rlm@1 1245 "",
rlm@1 1246 "Data 2 (8 bits)",
rlm@1 1247 "",
rlm@1 1248 "",
rlm@1 1249 "",
rlm@1 1250 "",
rlm@1 1251 "",
rlm@1 1252 "",
rlm@1 1253 "",
rlm@1 1254 "Data 3 (8 bits)",
rlm@1 1255 }
rlm@1 1256 },
rlm@1 1257 {
rlm@1 1258 &DM0SAD_L, 0xB0, "0x40000B0-DM0SAD_L", 0xFFFF,
rlm@1 1259 {
rlm@1 1260 "",
rlm@1 1261 "",
rlm@1 1262 "",
rlm@1 1263 "",
rlm@1 1264 "",
rlm@1 1265 "",
rlm@1 1266 "",
rlm@1 1267 "",
rlm@1 1268 "",
rlm@1 1269 "",
rlm@1 1270 "",
rlm@1 1271 "",
rlm@1 1272 "",
rlm@1 1273 "",
rlm@1 1274 "",
rlm@1 1275 "Source Address (lower 16 bits)",
rlm@1 1276 }
rlm@1 1277 },
rlm@1 1278 {
rlm@1 1279 &DM0SAD_H, 0xB2, "0x40000B2-DM0SAD_H", 0x07FF,
rlm@1 1280 {
rlm@1 1281 "",
rlm@1 1282 "",
rlm@1 1283 "",
rlm@1 1284 "",
rlm@1 1285 "",
rlm@1 1286 "",
rlm@1 1287 "",
rlm@1 1288 "",
rlm@1 1289 "",
rlm@1 1290 "",
rlm@1 1291 "Source Address (upper 11 bits)",
rlm@1 1292 "",
rlm@1 1293 "",
rlm@1 1294 "",
rlm@1 1295 "",
rlm@1 1296 "",
rlm@1 1297 }
rlm@1 1298 },
rlm@1 1299 {
rlm@1 1300 &DM0DAD_L, 0xB4, "0x40000B4-DM0DAD_L", 0xFFFF,
rlm@1 1301 {
rlm@1 1302 "",
rlm@1 1303 "",
rlm@1 1304 "",
rlm@1 1305 "",
rlm@1 1306 "",
rlm@1 1307 "",
rlm@1 1308 "",
rlm@1 1309 "",
rlm@1 1310 "",
rlm@1 1311 "",
rlm@1 1312 "",
rlm@1 1313 "",
rlm@1 1314 "",
rlm@1 1315 "",
rlm@1 1316 "",
rlm@1 1317 "Destination Address (lower 16 bits)",
rlm@1 1318 }
rlm@1 1319 },
rlm@1 1320 {
rlm@1 1321 &DM0DAD_H, 0xB6, "0x40000B6-DM0DAD_H", 0x07FF,
rlm@1 1322 {
rlm@1 1323 "",
rlm@1 1324 "",
rlm@1 1325 "",
rlm@1 1326 "",
rlm@1 1327 "",
rlm@1 1328 "",
rlm@1 1329 "",
rlm@1 1330 "",
rlm@1 1331 "",
rlm@1 1332 "",
rlm@1 1333 "Destination Address (upper 11 bits)",
rlm@1 1334 "",
rlm@1 1335 "",
rlm@1 1336 "",
rlm@1 1337 "",
rlm@1 1338 "",
rlm@1 1339 }
rlm@1 1340 },
rlm@1 1341 {
rlm@1 1342 &DM0CNT_L, 0xB8, "0x40000B8-DM0CNT_L", 0x3FFF,
rlm@1 1343 {
rlm@1 1344 "",
rlm@1 1345 "",
rlm@1 1346 "",
rlm@1 1347 "",
rlm@1 1348 "",
rlm@1 1349 "",
rlm@1 1350 "",
rlm@1 1351 "",
rlm@1 1352 "",
rlm@1 1353 "",
rlm@1 1354 "",
rlm@1 1355 "",
rlm@1 1356 "",
rlm@1 1357 "Count (14 bits)",
rlm@1 1358 "",
rlm@1 1359 "",
rlm@1 1360 }
rlm@1 1361 },
rlm@1 1362 {
rlm@1 1363 &DM0CNT_H, 0xBA, "0x40000BA-DM0CNT_H", 0xF7E0,
rlm@1 1364 {
rlm@1 1365 "",
rlm@1 1366 "",
rlm@1 1367 "",
rlm@1 1368 "",
rlm@1 1369 "",
rlm@1 1370 "",
rlm@1 1371 "Destination Address Control (2 bits)",
rlm@1 1372 "",
rlm@1 1373 "Source Address Control (2 bits)",
rlm@1 1374 "Repeat",
rlm@1 1375 "Transfer Type",
rlm@1 1376 "",
rlm@1 1377 "",
rlm@1 1378 "Start Timing (2 bits)",
rlm@1 1379 "Interrupt Request",
rlm@1 1380 "Enable",
rlm@1 1381 }
rlm@1 1382 },
rlm@1 1383 {
rlm@1 1384 &DM1SAD_L, 0xBC, "0x40000BC-DM1SAD_L", 0xFFFF,
rlm@1 1385 {
rlm@1 1386 "",
rlm@1 1387 "",
rlm@1 1388 "",
rlm@1 1389 "",
rlm@1 1390 "",
rlm@1 1391 "",
rlm@1 1392 "",
rlm@1 1393 "",
rlm@1 1394 "",
rlm@1 1395 "",
rlm@1 1396 "",
rlm@1 1397 "",
rlm@1 1398 "",
rlm@1 1399 "",
rlm@1 1400 "",
rlm@1 1401 "Source Address (lower 16 bits)",
rlm@1 1402 }
rlm@1 1403 },
rlm@1 1404 {
rlm@1 1405 &DM1SAD_H, 0xBE, "0x40000BE-DM1SAD_H", 0x0FFF,
rlm@1 1406 {
rlm@1 1407 "",
rlm@1 1408 "",
rlm@1 1409 "",
rlm@1 1410 "",
rlm@1 1411 "",
rlm@1 1412 "",
rlm@1 1413 "",
rlm@1 1414 "",
rlm@1 1415 "",
rlm@1 1416 "",
rlm@1 1417 "",
rlm@1 1418 "Source Address (upper 12 bits)",
rlm@1 1419 "",
rlm@1 1420 "",
rlm@1 1421 "",
rlm@1 1422 "",
rlm@1 1423 }
rlm@1 1424 },
rlm@1 1425 {
rlm@1 1426 &DM1DAD_L, 0xC0, "0x40000C0-DM1DAD_L", 0xFFFF,
rlm@1 1427 {
rlm@1 1428 "",
rlm@1 1429 "",
rlm@1 1430 "",
rlm@1 1431 "",
rlm@1 1432 "",
rlm@1 1433 "",
rlm@1 1434 "",
rlm@1 1435 "",
rlm@1 1436 "",
rlm@1 1437 "",
rlm@1 1438 "",
rlm@1 1439 "",
rlm@1 1440 "",
rlm@1 1441 "",
rlm@1 1442 "",
rlm@1 1443 "Destination Address (lower 16 bits)",
rlm@1 1444 }
rlm@1 1445 },
rlm@1 1446 {
rlm@1 1447 &DM1DAD_H, 0xC2, "0x40000C2-DM1DAD_H", 0x07FF,
rlm@1 1448 {
rlm@1 1449 "",
rlm@1 1450 "",
rlm@1 1451 "",
rlm@1 1452 "",
rlm@1 1453 "",
rlm@1 1454 "",
rlm@1 1455 "",
rlm@1 1456 "",
rlm@1 1457 "",
rlm@1 1458 "",
rlm@1 1459 "Destination Address (upper 11 bits)",
rlm@1 1460 "",
rlm@1 1461 "",
rlm@1 1462 "",
rlm@1 1463 "",
rlm@1 1464 "",
rlm@1 1465 }
rlm@1 1466 },
rlm@1 1467 {
rlm@1 1468 &DM1CNT_L, 0xC4, "0x40000C4-DM1CNT_L", 0x3FFF,
rlm@1 1469 {
rlm@1 1470 "",
rlm@1 1471 "",
rlm@1 1472 "",
rlm@1 1473 "",
rlm@1 1474 "",
rlm@1 1475 "",
rlm@1 1476 "",
rlm@1 1477 "",
rlm@1 1478 "",
rlm@1 1479 "",
rlm@1 1480 "",
rlm@1 1481 "",
rlm@1 1482 "",
rlm@1 1483 "Count (14 bits)",
rlm@1 1484 "",
rlm@1 1485 "",
rlm@1 1486 }
rlm@1 1487 },
rlm@1 1488 {
rlm@1 1489 &DM1CNT_H, 0xC6, "0x40000C6-DM1CNT_H", 0xF7E0,
rlm@1 1490 {
rlm@1 1491 "",
rlm@1 1492 "",
rlm@1 1493 "",
rlm@1 1494 "",
rlm@1 1495 "",
rlm@1 1496 "",
rlm@1 1497 "Destination Address Control (2 bits)",
rlm@1 1498 "",
rlm@1 1499 "Source Address Control (2 bits)",
rlm@1 1500 "Repeat",
rlm@1 1501 "Transfer Type",
rlm@1 1502 "",
rlm@1 1503 "",
rlm@1 1504 "Start Timing (2 bits)",
rlm@1 1505 "Interrupt Request",
rlm@1 1506 "Enable",
rlm@1 1507 }
rlm@1 1508 },
rlm@1 1509 {
rlm@1 1510 &DM2SAD_L, 0xC8, "0x40000C8-DM2SAD_L", 0xFFFF,
rlm@1 1511 {
rlm@1 1512 "",
rlm@1 1513 "",
rlm@1 1514 "",
rlm@1 1515 "",
rlm@1 1516 "",
rlm@1 1517 "",
rlm@1 1518 "",
rlm@1 1519 "",
rlm@1 1520 "",
rlm@1 1521 "",
rlm@1 1522 "",
rlm@1 1523 "",
rlm@1 1524 "",
rlm@1 1525 "",
rlm@1 1526 "",
rlm@1 1527 "Source Address (lower 16 bits)",
rlm@1 1528 }
rlm@1 1529 },
rlm@1 1530 {
rlm@1 1531 &DM2SAD_H, 0xCA, "0x40000CA-DM2SAD_H", 0x0FFF,
rlm@1 1532 {
rlm@1 1533 "",
rlm@1 1534 "",
rlm@1 1535 "",
rlm@1 1536 "",
rlm@1 1537 "",
rlm@1 1538 "",
rlm@1 1539 "",
rlm@1 1540 "",
rlm@1 1541 "",
rlm@1 1542 "",
rlm@1 1543 "",
rlm@1 1544 "Source Address (upper 12 bits)",
rlm@1 1545 "",
rlm@1 1546 "",
rlm@1 1547 "",
rlm@1 1548 "",
rlm@1 1549 }
rlm@1 1550 },
rlm@1 1551 {
rlm@1 1552 &DM2DAD_L, 0xCC, "0x40000CC-DM2DAD_L", 0xFFFF,
rlm@1 1553 {
rlm@1 1554 "",
rlm@1 1555 "",
rlm@1 1556 "",
rlm@1 1557 "",
rlm@1 1558 "",
rlm@1 1559 "",
rlm@1 1560 "",
rlm@1 1561 "",
rlm@1 1562 "",
rlm@1 1563 "",
rlm@1 1564 "",
rlm@1 1565 "",
rlm@1 1566 "",
rlm@1 1567 "",
rlm@1 1568 "",
rlm@1 1569 "Destination Address (lower 16 bits)",
rlm@1 1570 }
rlm@1 1571 },
rlm@1 1572 {
rlm@1 1573 &DM2DAD_H, 0xCE, "0x40000CE-DM2DAD_H", 0x07FF,
rlm@1 1574 {
rlm@1 1575 "",
rlm@1 1576 "",
rlm@1 1577 "",
rlm@1 1578 "",
rlm@1 1579 "",
rlm@1 1580 "",
rlm@1 1581 "",
rlm@1 1582 "",
rlm@1 1583 "",
rlm@1 1584 "",
rlm@1 1585 "Destination Address (upper 11 bits)",
rlm@1 1586 "",
rlm@1 1587 "",
rlm@1 1588 "",
rlm@1 1589 "",
rlm@1 1590 "",
rlm@1 1591 }
rlm@1 1592 },
rlm@1 1593 {
rlm@1 1594 &DM2CNT_L, 0xD0, "0x40000D0-DM2CNT_L", 0x3FFF,
rlm@1 1595 {
rlm@1 1596 "",
rlm@1 1597 "",
rlm@1 1598 "",
rlm@1 1599 "",
rlm@1 1600 "",
rlm@1 1601 "",
rlm@1 1602 "",
rlm@1 1603 "",
rlm@1 1604 "",
rlm@1 1605 "",
rlm@1 1606 "",
rlm@1 1607 "",
rlm@1 1608 "",
rlm@1 1609 "Count (14 bits)",
rlm@1 1610 "",
rlm@1 1611 "",
rlm@1 1612 }
rlm@1 1613 },
rlm@1 1614 {
rlm@1 1615 &DM2CNT_H, 0xD2, "0x40000D2-DM2CNT_H", 0xF7E0,
rlm@1 1616 {
rlm@1 1617 "",
rlm@1 1618 "",
rlm@1 1619 "",
rlm@1 1620 "",
rlm@1 1621 "",
rlm@1 1622 "",
rlm@1 1623 "Destination Address Control (2 bits)",
rlm@1 1624 "",
rlm@1 1625 "Source Address Control (2 bits)",
rlm@1 1626 "Repeat",
rlm@1 1627 "Transfer Type",
rlm@1 1628 "",
rlm@1 1629 "",
rlm@1 1630 "Start Timing (2 bits)",
rlm@1 1631 "Interrupt Request",
rlm@1 1632 "Enable",
rlm@1 1633 }
rlm@1 1634 },
rlm@1 1635 {
rlm@1 1636 &DM3SAD_L, 0xD4, "0x40000D4-DM3SAD_L", 0xFFFF,
rlm@1 1637 {
rlm@1 1638 "",
rlm@1 1639 "",
rlm@1 1640 "",
rlm@1 1641 "",
rlm@1 1642 "",
rlm@1 1643 "",
rlm@1 1644 "",
rlm@1 1645 "",
rlm@1 1646 "",
rlm@1 1647 "",
rlm@1 1648 "",
rlm@1 1649 "",
rlm@1 1650 "",
rlm@1 1651 "",
rlm@1 1652 "",
rlm@1 1653 "Source Address (lower 16 bits)",
rlm@1 1654 }
rlm@1 1655 },
rlm@1 1656 {
rlm@1 1657 &DM3SAD_H, 0xD6, "0x40000D6-DM3SAD_H", 0x0FFF,
rlm@1 1658 {
rlm@1 1659 "",
rlm@1 1660 "",
rlm@1 1661 "",
rlm@1 1662 "",
rlm@1 1663 "",
rlm@1 1664 "",
rlm@1 1665 "",
rlm@1 1666 "",
rlm@1 1667 "",
rlm@1 1668 "",
rlm@1 1669 "",
rlm@1 1670 "Source Address (upper 12 bits)",
rlm@1 1671 "",
rlm@1 1672 "",
rlm@1 1673 "",
rlm@1 1674 "",
rlm@1 1675 }
rlm@1 1676 },
rlm@1 1677 {
rlm@1 1678 &DM3DAD_L, 0xD8, "0x40000D8-DM3DAD_L", 0xFFFF,
rlm@1 1679 {
rlm@1 1680 "",
rlm@1 1681 "",
rlm@1 1682 "",
rlm@1 1683 "",
rlm@1 1684 "",
rlm@1 1685 "",
rlm@1 1686 "",
rlm@1 1687 "",
rlm@1 1688 "",
rlm@1 1689 "",
rlm@1 1690 "",
rlm@1 1691 "",
rlm@1 1692 "",
rlm@1 1693 "",
rlm@1 1694 "",
rlm@1 1695 "Destination Address (lower 16 bits)",
rlm@1 1696 }
rlm@1 1697 },
rlm@1 1698 {
rlm@1 1699 &DM3DAD_H, 0xDA, "0x40000DA-DM3DAD_H", 0x0FFF,
rlm@1 1700 {
rlm@1 1701 "",
rlm@1 1702 "",
rlm@1 1703 "",
rlm@1 1704 "",
rlm@1 1705 "",
rlm@1 1706 "",
rlm@1 1707 "",
rlm@1 1708 "",
rlm@1 1709 "",
rlm@1 1710 "",
rlm@1 1711 "",
rlm@1 1712 "Destination Address (upper 12 bits)",
rlm@1 1713 "",
rlm@1 1714 "",
rlm@1 1715 "",
rlm@1 1716 "",
rlm@1 1717 }
rlm@1 1718 },
rlm@1 1719 {
rlm@1 1720 &DM3CNT_L, 0xDC, "0x40000DC-DM3CNT_L", 0xFFFF,
rlm@1 1721 {
rlm@1 1722 "",
rlm@1 1723 "",
rlm@1 1724 "",
rlm@1 1725 "",
rlm@1 1726 "",
rlm@1 1727 "",
rlm@1 1728 "",
rlm@1 1729 "",
rlm@1 1730 "",
rlm@1 1731 "",
rlm@1 1732 "",
rlm@1 1733 "",
rlm@1 1734 "",
rlm@1 1735 "",
rlm@1 1736 "",
rlm@1 1737 "Count (16 bits)",
rlm@1 1738 }
rlm@1 1739 },
rlm@1 1740 {
rlm@1 1741 &DM3CNT_H, 0xDE, "0x40000DE-DM3CNT_H", 0xFFE0,
rlm@1 1742 {
rlm@1 1743 "",
rlm@1 1744 "",
rlm@1 1745 "",
rlm@1 1746 "",
rlm@1 1747 "",
rlm@1 1748 "",
rlm@1 1749 "Destination Address Control (2 bits)",
rlm@1 1750 "",
rlm@1 1751 "Source Address Control (2 bits)",
rlm@1 1752 "Repeat",
rlm@1 1753 "Transfer Type",
rlm@1 1754 "Game Pak Data Request",
rlm@1 1755 "",
rlm@1 1756 "Start Timing (2 bits)",
rlm@1 1757 "Interrupt Request",
rlm@1 1758 "Enable",
rlm@1 1759 }
rlm@1 1760 },
rlm@1 1761 {
rlm@1 1762 &TM0D, 0x100, "0x4000100-TM0D", 0xFFFF,
rlm@1 1763 {
rlm@1 1764 "",
rlm@1 1765 "",
rlm@1 1766 "",
rlm@1 1767 "",
rlm@1 1768 "",
rlm@1 1769 "",
rlm@1 1770 "",
rlm@1 1771 "",
rlm@1 1772 "",
rlm@1 1773 "",
rlm@1 1774 "",
rlm@1 1775 "",
rlm@1 1776 "",
rlm@1 1777 "",
rlm@1 1778 "",
rlm@1 1779 "Timer Counter (16 bits)",
rlm@1 1780 }
rlm@1 1781 },
rlm@1 1782 {
rlm@1 1783 &TM0CNT, 0x102, "0x4000102-TM0CNT", 0x00C7,
rlm@1 1784 {
rlm@1 1785 "",
rlm@1 1786 "Scalar Selection (2 bits)",
rlm@1 1787 "Count Up",
rlm@1 1788 "",
rlm@1 1789 "",
rlm@1 1790 "",
rlm@1 1791 "Interrupt Request",
rlm@1 1792 "Enable",
rlm@1 1793 "",
rlm@1 1794 "",
rlm@1 1795 "",
rlm@1 1796 "",
rlm@1 1797 "",
rlm@1 1798 "",
rlm@1 1799 "",
rlm@1 1800 "",
rlm@1 1801 }
rlm@1 1802 },
rlm@1 1803 {
rlm@1 1804 &TM1D, 0x104, "0x4000104-TM1D", 0xFFFF,
rlm@1 1805 {
rlm@1 1806 "",
rlm@1 1807 "",
rlm@1 1808 "",
rlm@1 1809 "",
rlm@1 1810 "",
rlm@1 1811 "",
rlm@1 1812 "",
rlm@1 1813 "",
rlm@1 1814 "",
rlm@1 1815 "",
rlm@1 1816 "",
rlm@1 1817 "",
rlm@1 1818 "",
rlm@1 1819 "",
rlm@1 1820 "",
rlm@1 1821 "Timer Counter (16 bits)",
rlm@1 1822 }
rlm@1 1823 },
rlm@1 1824 {
rlm@1 1825 &TM1CNT, 0x106, "0x4000106-TM1CNT", 0x00C7,
rlm@1 1826 {
rlm@1 1827 "",
rlm@1 1828 "Scalar Selection (2 bits)",
rlm@1 1829 "Count Up",
rlm@1 1830 "",
rlm@1 1831 "",
rlm@1 1832 "",
rlm@1 1833 "Interrupt Request",
rlm@1 1834 "Enable",
rlm@1 1835 "",
rlm@1 1836 "",
rlm@1 1837 "",
rlm@1 1838 "",
rlm@1 1839 "",
rlm@1 1840 "",
rlm@1 1841 "",
rlm@1 1842 "",
rlm@1 1843 }
rlm@1 1844 },
rlm@1 1845 {
rlm@1 1846 &TM2D, 0x108, "0x4000108-TM2D", 0xFFFF,
rlm@1 1847 {
rlm@1 1848 "",
rlm@1 1849 "",
rlm@1 1850 "",
rlm@1 1851 "",
rlm@1 1852 "",
rlm@1 1853 "",
rlm@1 1854 "",
rlm@1 1855 "",
rlm@1 1856 "",
rlm@1 1857 "",
rlm@1 1858 "",
rlm@1 1859 "",
rlm@1 1860 "",
rlm@1 1861 "",
rlm@1 1862 "",
rlm@1 1863 "Timer Counter (16 bits)",
rlm@1 1864 }
rlm@1 1865 },
rlm@1 1866 {
rlm@1 1867 &TM2CNT, 0x10A, "0x400010A-TM2CNT", 0x00C7,
rlm@1 1868 {
rlm@1 1869 "",
rlm@1 1870 "Scalar Selection (2 bits)",
rlm@1 1871 "Count Up",
rlm@1 1872 "",
rlm@1 1873 "",
rlm@1 1874 "",
rlm@1 1875 "Interrupt Request",
rlm@1 1876 "Enable",
rlm@1 1877 "",
rlm@1 1878 "",
rlm@1 1879 "",
rlm@1 1880 "",
rlm@1 1881 "",
rlm@1 1882 "",
rlm@1 1883 "",
rlm@1 1884 "",
rlm@1 1885 }
rlm@1 1886 },
rlm@1 1887 {
rlm@1 1888 &TM3D, 0x10C, "0x400010C-TM3D", 0xFFFF,
rlm@1 1889 {
rlm@1 1890 "",
rlm@1 1891 "",
rlm@1 1892 "",
rlm@1 1893 "",
rlm@1 1894 "",
rlm@1 1895 "",
rlm@1 1896 "",
rlm@1 1897 "",
rlm@1 1898 "",
rlm@1 1899 "",
rlm@1 1900 "",
rlm@1 1901 "",
rlm@1 1902 "",
rlm@1 1903 "",
rlm@1 1904 "",
rlm@1 1905 "Timer Counter (16 bits)",
rlm@1 1906 }
rlm@1 1907 },
rlm@1 1908 {
rlm@1 1909 &TM3CNT, 0x10E, "0x400010E-TM3CNT", 0x00C7,
rlm@1 1910 {
rlm@1 1911 "",
rlm@1 1912 "Scalar Selection (2 bits)",
rlm@1 1913 "Count Up",
rlm@1 1914 "",
rlm@1 1915 "",
rlm@1 1916 "",
rlm@1 1917 "Interrupt Request",
rlm@1 1918 "Enable",
rlm@1 1919 "",
rlm@1 1920 "",
rlm@1 1921 "",
rlm@1 1922 "",
rlm@1 1923 "",
rlm@1 1924 "",
rlm@1 1925 "",
rlm@1 1926 "",
rlm@1 1927 }
rlm@1 1928 },
rlm@1 1929 {
rlm@1 1930 &P1, 0x130, "0x4000130-P1", 0x03FF,
rlm@1 1931 {
rlm@1 1932 "A",
rlm@1 1933 "B",
rlm@1 1934 "Select",
rlm@1 1935 "Start",
rlm@1 1936 "Right",
rlm@1 1937 "Left",
rlm@1 1938 "Up",
rlm@1 1939 "Down",
rlm@1 1940 "Shoulder Right",
rlm@1 1941 "Shoulder Left",
rlm@1 1942 "",
rlm@1 1943 "",
rlm@1 1944 "",
rlm@1 1945 "",
rlm@1 1946 "",
rlm@1 1947 "",
rlm@1 1948 }
rlm@1 1949 },
rlm@1 1950 {
rlm@1 1951 NULL, 0x132, "0x4000132-P1CNT", 0xC3FF,
rlm@1 1952 {
rlm@1 1953 "A",
rlm@1 1954 "B",
rlm@1 1955 "Select",
rlm@1 1956 "Start",
rlm@1 1957 "Right",
rlm@1 1958 "Left",
rlm@1 1959 "Up",
rlm@1 1960 "Down",
rlm@1 1961 "Shoulder Right",
rlm@1 1962 "Shoulder Left",
rlm@1 1963 "",
rlm@1 1964 "",
rlm@1 1965 "",
rlm@1 1966 "",
rlm@1 1967 "Interrupt Request",
rlm@1 1968 "Interrupt Condition",
rlm@1 1969 }
rlm@1 1970 },
rlm@1 1971 {
rlm@1 1972 &IE, 0x200, "0x4000200-IE", 0x3FFF,
rlm@1 1973 {
rlm@1 1974 "VBlank",
rlm@1 1975 "HBlank",
rlm@1 1976 "VCount",
rlm@1 1977 "Timer 0",
rlm@1 1978 "Timer 1",
rlm@1 1979 "Timer 2",
rlm@1 1980 "Timer 3",
rlm@1 1981 "Serial",
rlm@1 1982 "DMA 0",
rlm@1 1983 "DMA 1",
rlm@1 1984 "DMA 2",
rlm@1 1985 "DMA 3",
rlm@1 1986 "Keypad",
rlm@1 1987 "Game Pak",
rlm@1 1988 "",
rlm@1 1989 "",
rlm@1 1990 }
rlm@1 1991 },
rlm@1 1992 {
rlm@1 1993 &IF, 0x202, "0x4000202-IF", 0x0000,
rlm@1 1994 {
rlm@1 1995 "VBlank",
rlm@1 1996 "HBlank",
rlm@1 1997 "VCount",
rlm@1 1998 "Timer 0",
rlm@1 1999 "Timer 1",
rlm@1 2000 "Timer 2",
rlm@1 2001 "Timer 3",
rlm@1 2002 "Serial",
rlm@1 2003 "DMA 0",
rlm@1 2004 "DMA 1",
rlm@1 2005 "DMA 2",
rlm@1 2006 "DMA 3",
rlm@1 2007 "Keypad",
rlm@1 2008 "Game Pak",
rlm@1 2009 "",
rlm@1 2010 "",
rlm@1 2011 }
rlm@1 2012 },
rlm@1 2013 {
rlm@1 2014 NULL, 0x204, "0x4000204-WAITCNT", 0x5FFF,
rlm@1 2015 {
rlm@1 2016 "",
rlm@1 2017 "SRAM Wait Control (2 bits)",
rlm@1 2018 "",
rlm@1 2019 "Wait State 0 First Access (2 bits)",
rlm@1 2020 "Wait State 0 Second Access",
rlm@1 2021 "",
rlm@1 2022 "Wait State 1 First Access (2 bits)",
rlm@1 2023 "Wait State 1 Second Access",
rlm@1 2024 "",
rlm@1 2025 "Wait State 2 First Access (2 bits)",
rlm@1 2026 "Wait State 2 Second Access",
rlm@1 2027 "",
rlm@1 2028 "PHI Terminal Output (2 bits)",
rlm@1 2029 "",
rlm@1 2030 "Game Pak Prefetch Buffer",
rlm@1 2031 "Game Pak Type Flag",
rlm@1 2032 }
rlm@1 2033 },
rlm@1 2034 {
rlm@1 2035 &IME, 0x208, "0x4000208-IME", 0x0001,
rlm@1 2036 {
rlm@1 2037 "Master Interrupt Enable",
rlm@1 2038 "",
rlm@1 2039 "",
rlm@1 2040 "",
rlm@1 2041 "",
rlm@1 2042 "",
rlm@1 2043 "",
rlm@1 2044 "",
rlm@1 2045 "",
rlm@1 2046 "",
rlm@1 2047 "",
rlm@1 2048 "",
rlm@1 2049 "",
rlm@1 2050 "",
rlm@1 2051 "",
rlm@1 2052 "",
rlm@1 2053 }
rlm@1 2054 },
rlm@1 2055 {
rlm@1 2056 NULL, 0x300, "0x4000300-HALTCNT", 0x8001,
rlm@1 2057 {
rlm@1 2058 "First Boot",
rlm@1 2059 "",
rlm@1 2060 "",
rlm@1 2061 "",
rlm@1 2062 "",
rlm@1 2063 "",
rlm@1 2064 "",
rlm@1 2065 "",
rlm@1 2066 "",
rlm@1 2067 "",
rlm@1 2068 "",
rlm@1 2069 "",
rlm@1 2070 "",
rlm@1 2071 "",
rlm@1 2072 "",
rlm@1 2073 "Power Down",
rlm@1 2074 }
rlm@1 2075 },
rlm@1 2076 };
rlm@1 2077
rlm@1 2078 #endif // VBA_IOVIEWERREGS_H