src/mess/drivers/fmtowns.c
| r11035 | r11036 | |
| 54 | 54 | * 0x0404 : Disable VRAM, CMOS, memory-mapped I/O (everything in low memory except the BIOS) |
| 55 | 55 | * 0x0440-5f: Video / CRTC |
| 56 | 56 | * 0x0480 RW: bit 1 = disable BIOS ROM |
| 57 | * 0x048a RW: JEIDA v3/v4(?) IC Memory card status |
| 58 | * 0x0490 RW: JEIDA v4 IC Memory card page select |
| 59 | * 0x0491 RW: JEIDA v4 IC Memory card |
| 57 | 60 | * 0x04c0-cf: CD-ROM controller |
| 58 | 61 | * 0x04d5 : Sound mute |
| 59 | 62 | * 0x04d8 : YM3438 control port A / status |
| r11035 | r11036 | |
| 1248 | 1251 | state->m_towns_cd.status |= 0x02; // status read request |
| 1249 | 1252 | state->m_towns_cd.status |= 0x01; // ready |
| 1250 | 1253 | state->m_towns_cd.cmd_status_ptr = 0; |
| 1251 | | towns_cdrom_set_irq((running_machine&)ptr,TOWNS_CD_IRQ_MPU,1); |
| 1254 | towns_cdrom_set_irq((running_machine&)machine,TOWNS_CD_IRQ_MPU,1); |
| 1252 | 1255 | } |
| 1253 | 1256 | |
| 1254 | 1257 | static void towns_cd_set_status(running_machine &machine, UINT8 st0, UINT8 st1, UINT8 st2, UINT8 st3) |
| r11035 | r11036 | |
| 1983 | 1986 | |
| 1984 | 1987 | if(tstate->m_towns_timer_mask & 0x02) |
| 1985 | 1988 | { |
| 1986 | | // pic8259_ir0_w(dev, state); |
| 1989 | //pic8259_ir0_w(dev, state); |
| 1987 | 1990 | } |
| 1988 | 1991 | } |
| 1989 | 1992 | |
| r11035 | r11036 | |
| 2009 | 2012 | // AM_RANGE(0x00100000, 0x005fffff) AM_RAM // some extra RAM |
| 2010 | 2013 | AM_RANGE(0x80000000, 0x8007ffff) AM_READWRITE8(towns_gfx_high_r,towns_gfx_high_w,0xffffffff) AM_MIRROR(0x180000) // VRAM |
| 2011 | 2014 | AM_RANGE(0x81000000, 0x8101ffff) AM_READWRITE8(towns_spriteram_r,towns_spriteram_w,0xffffffff) // Sprite RAM |
| 2015 | // 0xc0000000 - 0xc0ffffff // IC Memory Card (static, first 16MB only) |
| 2016 | // 0xc1000000 - 0xc1ffffff // IC Memory Card (banked, can show any of 4 banks), JEIDA v4 only (UX and later) |
| 2012 | 2017 | AM_RANGE(0xc2000000, 0xc207ffff) AM_ROM AM_REGION("user",0x000000) // OS ROM |
| 2013 | 2018 | AM_RANGE(0xc2080000, 0xc20fffff) AM_ROM AM_REGION("user",0x100000) // DIC ROM |
| 2014 | 2019 | AM_RANGE(0xc2100000, 0xc213ffff) AM_ROM AM_REGION("user",0x180000) // FONT ROM |
| r11035 | r11036 | |
| 2037 | 2042 | AM_RANGE(0x00a00000, 0x00a7ffff) AM_READWRITE8(towns_gfx_high_r,towns_gfx_high_w,0xffffffff) AM_MIRROR(0x180000) // VRAM |
| 2038 | 2043 | AM_RANGE(0x00b00000, 0x00b7ffff) AM_ROM AM_REGION("user",0x180000) // FONT |
| 2039 | 2044 | AM_RANGE(0x00c00000, 0x00c1ffff) AM_READWRITE8(towns_spriteram_r,towns_spriteram_w,0xffffffff) // Sprite RAM |
| 2040 | | AM_RANGE(0x00d00000, 0x00dfffff) AM_RAM // ?? - used by ssf2 |
| 2045 | AM_RANGE(0x00d00000, 0x00dfffff) AM_RAM // IC Memory Card (is this usable on the Marty?) |
| 2041 | 2046 | AM_RANGE(0x00e80000, 0x00efffff) AM_ROM AM_REGION("user",0x100000) // DIC ROM |
| 2042 | 2047 | AM_RANGE(0x00f00000, 0x00f7ffff) AM_ROM AM_REGION("user",0x180000) // FONT |
| 2043 | 2048 | AM_RANGE(0x00f80000, 0x00f8ffff) AM_DEVREADWRITE8("pcm",rf5c68_mem_r,rf5c68_mem_w,0xffffffff) // WAVE RAM |
| r11035 | r11036 | |
| 2063 | 2068 | AM_RANGE(0x00a00000, 0x00a7ffff) AM_READWRITE8(towns_gfx_high_r,towns_gfx_high_w,0xffffffff) AM_MIRROR(0x180000) // VRAM |
| 2064 | 2069 | AM_RANGE(0x00b00000, 0x00b7ffff) AM_ROM AM_REGION("user",0x180000) // FONT |
| 2065 | 2070 | AM_RANGE(0x00c00000, 0x00c1ffff) AM_READWRITE8(towns_spriteram_r,towns_spriteram_w,0xffffffff) // Sprite RAM |
| 2066 | | AM_RANGE(0x00d00000, 0x00dfffff) AM_RAM // ?? - used by ssf2 |
| 2071 | AM_RANGE(0x00d00000, 0x00dfffff) AM_RAM // IC Memory Card |
| 2067 | 2072 | AM_RANGE(0x00e00000, 0x00e7ffff) AM_ROM AM_REGION("user",0x000000) // OS |
| 2068 | 2073 | AM_RANGE(0x00e80000, 0x00efffff) AM_ROM AM_REGION("user",0x100000) // DIC ROM |
| 2069 | 2074 | AM_RANGE(0x00f00000, 0x00f7ffff) AM_ROM AM_REGION("user",0x180000) // FONT |