src/mess/drivers/x1.c
| r5495 | r5496 | |
| 5 | 5 | 05/2009 Skeleton driver. |
| 6 | 6 | |
| 7 | 7 | ============= X1 series ============= |
| 8 | | |
| 8 | |
| 9 | 9 | X1 (CZ-800C) - November, 1982 |
| 10 | 10 | * CPU: z80A @ 4MHz, 80C49 x 2 (one for key scan, the other for TV & Cas Ctrl) |
| 11 | 11 | * ROM: IPL (4KB) + chargen (2KB) |
| r5495 | r5496 | |
| 53 | 53 | * It contains a PC-Engine |
| 54 | 54 | |
| 55 | 55 | ============= X1 Turbo series ============= |
| 56 | | |
| 56 | |
| 57 | 57 | X1turbo Model 30 (CZ-852C) - October, 1984 |
| 58 | 58 | * CPU: z80A @ 4MHz, 80C49 x 2 (one for key scan, the other for TV & Cas Ctrl) |
| 59 | 59 | * ROM: IPL (32KB) + chargen (8KB) + Kanji (128KB) |
| r5495 | r5496 | |
| 98 | 98 | X1turboZIII (CZ-888C) - December, 1988 |
| 99 | 99 | * same as turboZII, but no more built-in cassette drive |
| 100 | 100 | |
| 101 | | Please refer to http://www2s.biglobe.ne.jp/~ITTO/x1/x1menu.html for |
| 101 | Please refer to http://www2s.biglobe.ne.jp/~ITTO/x1/x1menu.html for |
| 102 | 102 | more info |
| 103 | 103 | |
| 104 | | BASIC has to be loaded from external media (tape or disk), the |
| 104 | BASIC has to be loaded from external media (tape or disk), the |
| 105 | 105 | computer only has an Initial Program Loader (IPL) |
| 106 | 106 | |
| 107 | | TODO: everything, in particular to sort out the BIOS dumps |
| 108 | | (especially CGROM dumps). Also, notice this is a color computer, |
| 107 | TODO: everything, in particular to sort out the BIOS dumps |
| 108 | (especially CGROM dumps). Also, notice this is a color computer, |
| 109 | 109 | despite the skeleton code says it's black ad white |
| 110 | 110 | |
| 111 | 111 | ****************************************************************************/ |
| r5495 | r5496 | |
| 115 | 115 | |
| 116 | 116 | static ADDRESS_MAP_START( x1_mem, ADDRESS_SPACE_PROGRAM, 8 ) |
| 117 | 117 | ADDRESS_MAP_UNMAP_HIGH |
| 118 | ADDRESS_MAP_GLOBAL_MASK(0x7fff) |
| 118 | 119 | AM_RANGE(0x0000, 0x7fff) AM_ROM |
| 119 | 120 | ADDRESS_MAP_END |
| 120 | 121 | |
| 121 | 122 | static ADDRESS_MAP_START( x1_io , ADDRESS_SPACE_IO, 8 ) |
| 122 | 123 | ADDRESS_MAP_UNMAP_HIGH |
| 124 | AM_RANGE(0x0700, 0x0701) AM_WRITENOP //YM-2151 reg/data |
| 125 | AM_RANGE(0x0704, 0x0707) AM_NOP //ctc regs |
| 126 | AM_RANGE(0x0e80, 0x0e82) AM_WRITENOP //kanji registers? |
| 127 | AM_RANGE(0x0ff8, 0x0fff) AM_WRITENOP //fdc registers |
| 128 | AM_RANGE(0x1000, 0x12ff) AM_RAM //paletteram |
| 129 | AM_RANGE(0x1300, 0x13ff) AM_WRITENOP //ply port, mirrored |
| 130 | AM_RANGE(0x1400, 0x17ff) AM_RAM //pcg? |
| 131 | AM_RANGE(0x1800, 0x1801) AM_WRITENOP //crtc reg/data (CGA?) |
| 132 | AM_RANGE(0x1900, 0x19ff) AM_WRITENOP //sub port, mirrored |
| 133 | AM_RANGE(0x1a00, 0x1aff) AM_NOP //8255, mirrored |
| 134 | AM_RANGE(0x1b00, 0x1bff) AM_WRITENOP //PSG / ay-3-8910 data port |
| 135 | AM_RANGE(0x1c00, 0x1cff) AM_WRITENOP //PSG / ay-3-8910 reg port |
| 136 | AM_RANGE(0x1d00, 0x1dff) AM_WRITENOP //ROM bankswitch = 1 |
| 137 | AM_RANGE(0x1e00, 0x1eff) AM_WRITENOP //ROM bankswitch = 0 |
| 138 | AM_RANGE(0x1f80, 0x1f8f) AM_WRITENOP //dma |
| 139 | AM_RANGE(0x1f90, 0x1f93) AM_NOP //sio |
| 140 | AM_RANGE(0x1fa0, 0x1fa3) AM_NOP //ctc regs |
| 141 | AM_RANGE(0x1fa8, 0x1fab) AM_NOP //ctc regs |
| 142 | AM_RANGE(0x1fd0, 0x1fdf) AM_RAM //scrn? |
| 143 | AM_RANGE(0x2000, 0x3fff) AM_RAM //txt mode RAM |
| 144 | AM_RANGE(0x4000, 0x5fff) AM_RAM //gfx mode RAM |
| 123 | 145 | ADDRESS_MAP_END |
| 124 | 146 | |
| 125 | 147 | /* Input ports */ |
| r5495 | r5496 | |
| 205 | 227 | ROM_LOAD("kanji2.rom", 0x0000, 0x4ac00, BAD_DUMP CRC(33800ef2) SHA1(fc07a31ee30db312c7995e887519a9173cb38c0d) ) |
| 206 | 228 | ROM_END |
| 207 | 229 | |
| 208 | | /* X1 Turbo Z: IPL is supposed to be the same as X1 Turbo, but which dumps should be in "cgrom"? |
| 209 | | Many emulators come with fnt0816.x1 & fnt1616.x1 but I am not sure about what was present on the real |
| 230 | /* X1 Turbo Z: IPL is supposed to be the same as X1 Turbo, but which dumps should be in "cgrom"? |
| 231 | Many emulators come with fnt0816.x1 & fnt1616.x1 but I am not sure about what was present on the real |
| 210 | 232 | X1 Turbo / Turbo Z */ |
| 211 | 233 | ROM_START( x1turboz ) |
| 212 | 234 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |