Previous 15994 Revisions Next

r5496 Sunday 23rd August, 2009 at 20:32:43 UTC by Angelo Salese
[X1]: Documented memory map
[src/mess/drivers]x1.c

src/mess/drivers/x1.c
r5495r5496
55   05/2009 Skeleton driver.
66
77   =============  X1 series  =============
8   
8
99   X1 (CZ-800C) - November, 1982
1010    * CPU: z80A @ 4MHz, 80C49 x 2 (one for key scan, the other for TV & Cas Ctrl)
1111    * ROM: IPL (4KB) + chargen (2KB)
r5495r5496
5353    * It contains a PC-Engine
5454
5555   =============  X1 Turbo series  =============
56   
56
5757   X1turbo Model 30 (CZ-852C) - October, 1984
5858    * CPU: z80A @ 4MHz, 80C49 x 2 (one for key scan, the other for TV & Cas Ctrl)
5959    * ROM: IPL (32KB) + chargen (8KB) + Kanji (128KB)
r5495r5496
9898   X1turboZIII (CZ-888C) - December, 1988
9999    * same as turboZII, but no more built-in cassette drive
100100
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
102102   more info
103103
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
105105   computer only has an Initial Program Loader (IPL)
106106
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,
109109   despite the skeleton code says it's black ad white
110110
111111****************************************************************************/
r5495r5496
115115
116116static ADDRESS_MAP_START( x1_mem, ADDRESS_SPACE_PROGRAM, 8 )
117117   ADDRESS_MAP_UNMAP_HIGH
118   ADDRESS_MAP_GLOBAL_MASK(0x7fff)
118119   AM_RANGE(0x0000, 0x7fff) AM_ROM
119120ADDRESS_MAP_END
120121
121122static ADDRESS_MAP_START( x1_io , ADDRESS_SPACE_IO, 8 )
122123   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
123145ADDRESS_MAP_END
124146
125147/* Input ports */
r5495r5496
205227   ROM_LOAD("kanji2.rom", 0x0000, 0x4ac00, BAD_DUMP CRC(33800ef2) SHA1(fc07a31ee30db312c7995e887519a9173cb38c0d) )
206228ROM_END
207229
208/* X1 Turbo Z: IPL is supposed to be the same as X1 Turbo, but which dumps should be in "cgrom"?
209Many 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"?
231Many emulators come with fnt0816.x1 & fnt1616.x1 but I am not sure about what was present on the real
210232X1 Turbo / Turbo Z */
211233ROM_START( x1turboz )
212234   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team