src/mess/drivers/pc88va.c
| r9423 | r9424 | |
| 33 | 33 | ADDRESS_MAP_END |
| 34 | 34 | |
| 35 | 35 | static ADDRESS_MAP_START( pc88va_io_map, ADDRESS_SPACE_IO, 16 ) |
| 36 | // AM_RANGE(0x0000, 0x000f) Keyboard ROW reading |
| 37 | // AM_RANGE(0x0010, 0x0010) Printer / Calendar Clock Interface |
| 38 | // AM_RANGE(0x0020, 0x0021) RS-232C |
| 39 | // AM_RANGE(0x0030, 0x0030) (R) DSW1 (W) Text Control Port 0 |
| 40 | // AM_RANGE(0x0031, 0x0031) (R) DSW2 (W) System Port 1 |
| 41 | // AM_RANGE(0x0032, 0x0032) (R) ? (W) System Port 2 |
| 42 | // AM_RANGE(0x0034, 0x0034) GVRAM Control Port 1 |
| 43 | // AM_RANGE(0x0035, 0x0035) GVRAM Control Port 2 |
| 44 | // AM_RANGE(0x0040, 0x0040) (R) System Port 4 (W) System port 3 (strobe port) |
| 45 | // AM_RANGE(0x0044, 0x0045) YM2203 |
| 46 | // AM_RANGE(0x0046, 0x0047) YM2203 mirror |
| 47 | // AM_RANGE(0x005c, 0x005c) (R) GVRAM status |
| 48 | // AM_RANGE(0x005c, 0x005f) (W) GVRAM selection |
| 49 | // AM_RANGE(0x0070, 0x0070) ? (*) |
| 50 | // AM_RANGE(0x0071, 0x0071) Expansion ROM select (*) |
| 51 | // AM_RANGE(0x0078, 0x0078) Memory offset increment (*) |
| 52 | // AM_RANGE(0x0080, 0x0083) HDD control, byte access 7-0 |
| 53 | // AM_RANGE(0x00bc, 0x00bf) d8255 1 |
| 54 | // AM_RANGE(0x00e2, 0x00e3) Expansion RAM selection (*) |
| 55 | // AM_RANGE(0x00e4, 0x00e4) 8214 IRQ control (*) |
| 56 | // AM_RANGE(0x00e6, 0x00e6) 8214 IRQ mask (*) |
| 57 | // AM_RANGE(0x00e8, 0x00e9) ? (*) |
| 58 | // AM_RANGE(0x00ec, 0x00ed) ? (*) |
| 59 | // AM_RANGE(0x00fc, 0x00ff) d8255 2, FDD |
| 60 | |
| 61 | // AM_RANGE(0x0100, 0x0101) Screen Control Register |
| 62 | // AM_RANGE(0x0102, 0x0103) Graphic Screen Control Register |
| 63 | // AM_RANGE(0x0106, 0x0107) Palette Control Register |
| 64 | // AM_RANGE(0x0108, 0x0109) Direct Color Control Register |
| 65 | // AM_RANGE(0x010a, 0x010b) Picture Mask Mode Register |
| 66 | // AM_RANGE(0x010c, 0x010d) Color Palette Mode Register |
| 67 | // AM_RANGE(0x010e, 0x010f) Backdrop Color Register |
| 68 | // AM_RANGE(0x0110, 0x0111) Color Code/Plain Mask Register |
| 69 | // AM_RANGE(0x0124, 0x0125) ? (related to Transparent Color of Graphic Screen 0) |
| 70 | // AM_RANGE(0x0126, 0x0127) ? (related to Transparent Color of Graphic Screen 1) |
| 71 | // AM_RANGE(0x012e, 0x012f) ? (related to Transparent Color of Text/Sprite) |
| 72 | // AM_RANGE(0x0130, 0x0137) Picture Mask Parameter |
| 73 | // AM_RANGE(0x0142, 0x0143) Text Controller (IDP) - (R) Status (W) command |
| 74 | // AM_RANGE(0x0146, 0x0147) Text Controller (IDP) - (R/W) Parameter |
| 75 | // AM_RANGE(0x0148, 0x0149) Text control port 1 |
| 76 | // AM_RANGE(0x014c, 0x014f) ? CG Port |
| 77 | // AM_RANGE(0x0150, 0x0151) System Operational Mode |
| 78 | // AM_RANGE(0x0152, 0x0153) Memory Map Register |
| 79 | // AM_RANGE(0x0154, 0x0155) Refresh Register (wait states) |
| 80 | // AM_RANGE(0x0156, 0x0157) ROM bank status |
| 81 | // AM_RANGE(0x0158, 0x0159) Interruption Mode Modification |
| 82 | // AM_RANGE(0x015c, 0x015f) NMI mask port (strobe port) |
| 83 | // AM_RANGE(0x0160, 0x016f) DMA Controller |
| 84 | // AM_RANGE(0x0184, 0x018b) IRQ Controller |
| 85 | // AM_RANGE(0x0190, 0x0191) System Port 5 |
| 86 | // AM_RANGE(0x0196, 0x0197) Keyboard sub CPU command port |
| 87 | // AM_RANGE(0x0198, 0x019b) Memory switch write inhibit/permission |
| 88 | // AM_RANGE(0x01a0, 0x01a7) TCU (timer counter unit) |
| 89 | // AM_RANGE(0x01a8, 0x01a9) General-purpose timer 3 control port |
| 90 | // AM_RANGE(0x01b0, 0x01bb) FDC related (765) |
| 91 | // AM_RANGE(0x01c0, 0x01c1) ? |
| 92 | // AM_RANGE(0x01c8, 0x01cf) i8255 3 (byte access) |
| 93 | // AM_RANGE(0x01d0, 0x01d1) Expansion RAM bank selection |
| 94 | // AM_RANGE(0x0200, 0x021f) Frame buffer 0 control parameter |
| 95 | // AM_RANGE(0x0220, 0x023f) Frame buffer 1 control parameter |
| 96 | // AM_RANGE(0x0240, 0x025f) Frame buffer 2 control parameter |
| 97 | // AM_RANGE(0x0260, 0x027f) Frame buffer 3 control parameter |
| 98 | // AM_RANGE(0x0300, 0x033f) Palette RAM (xBBBBxRRRRxGGGG format) |
| 99 | |
| 100 | // AM_RANGE(0x0500, 0x05ff) GVRAM |
| 101 | // AM_RANGE(0x1000, 0xfeff) user area (???) |
| 102 | // AM_RANGE(0xff00, 0xffff) CPU internal use |
| 36 | 103 | ADDRESS_MAP_END |
| 104 | // (*) are specific N88 V1 / V2 ports |
| 37 | 105 | |
| 38 | 106 | #if 0 |
| 39 | 107 | static ADDRESS_MAP_START( pc88va_z80_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| r9423 | r9424 | |
| 79 | 147 | ROM_REGION( 0x100000, "subcpu", ROMREGION_ERASEFF ) |
| 80 | 148 | |
| 81 | 149 | ROM_REGION( 0xc0000, "rom", 0 ) |
| 82 | | ROM_LOAD( "varom00.rom", 0x10000, 0x80000, CRC(98c9959a) SHA1(bcaea28c58816602ca1e8290f534360f1ca03fe8) ) // multiple banks to be loaded at 0x0000? |
| 150 | ROM_LOAD( "varom00.rom", 0x00000, 0x80000, CRC(98c9959a) SHA1(bcaea28c58816602ca1e8290f534360f1ca03fe8) ) // multiple banks to be loaded at 0x0000? |
| 83 | 151 | ROM_LOAD( "varom08.rom", 0x80000, 0x20000, CRC(eef6d4a0) SHA1(47e5f89f8b0ce18ff8d5d7b7aef8ca0a2a8e3345) ) // multiple banks to be loaded at 0x8000? |
| 84 | 152 | ROM_LOAD( "varom1.rom", 0xa0000, 0x20000, CRC(7e767f00) SHA1(dd4f4521bfbb068f15ab3bcdb8d47c7d82b9d1d4) ) |
| 85 | 153 | |