diff options
Diffstat (limited to 'src/mame/video/igs017_igs031.c')
-rw-r--r-- | src/mame/video/igs017_igs031.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/src/mame/video/igs017_igs031.c b/src/mame/video/igs017_igs031.c index 411cef5f947..81fbdd64e57 100644 --- a/src/mame/video/igs017_igs031.c +++ b/src/mame/video/igs017_igs031.c @@ -9,15 +9,15 @@ what's the difference between IGS017 and IGS031? encryption? all the known IGS017 / IGS031 games use the following memory map, is the IGS017 / IGS031 providing the interface to the 8255, or is it coincidence? - AM_RANGE( 0x1000, 0x17ff ) AM_RAM AM_SHARE("spriteram") - AM_RANGE( 0x1800, 0x1bff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") - AM_RANGE( 0x1c00, 0x1fff ) AM_RAM - AM_RANGE( 0x2010, 0x2013 ) AM_DEVREAD("ppi8255", i8255_device, read) - AM_RANGE( 0x2012, 0x2012 ) AM_WRITE(video_disable_w ) - AM_RANGE( 0x2014, 0x2014 ) AM_WRITE(nmi_enable_w ) - AM_RANGE( 0x2015, 0x2015 ) AM_WRITE(irq_enable_w ) - AM_RANGE( 0x4000, 0x5fff ) AM_RAM_WRITE(fg_w ) AM_SHARE("fg_videoram") - AM_RANGE( 0x6000, 0x7fff ) AM_RAM_WRITE(bg_w ) AM_SHARE("bg_videoram") + AM_RANGE( 0x1000, 0x17ff ) AM_RAM AM_SHARE("spriteram") + AM_RANGE( 0x1800, 0x1bff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") + AM_RANGE( 0x1c00, 0x1fff ) AM_RAM + AM_RANGE( 0x2010, 0x2013 ) AM_DEVREAD("ppi8255", i8255_device, read) + AM_RANGE( 0x2012, 0x2012 ) AM_WRITE(video_disable_w ) + AM_RANGE( 0x2014, 0x2014 ) AM_WRITE(nmi_enable_w ) + AM_RANGE( 0x2015, 0x2015 ) AM_WRITE(irq_enable_w ) + AM_RANGE( 0x4000, 0x5fff ) AM_RAM_WRITE(fg_w ) AM_SHARE("fg_videoram") + AM_RANGE( 0x6000, 0x7fff ) AM_RAM_WRITE(bg_w ) AM_SHARE("bg_videoram") */ @@ -30,7 +30,7 @@ all the known IGS017 / IGS031 games use the following memory map, is the IGS017 DEVICE_ADDRESS_MAP_START( map, 8, igs017_igs031_device ) AM_RANGE( 0x1000, 0x17ff ) AM_RAM AM_SHARE("spriteram") -// AM_RANGE( 0x1800, 0x1bff ) AM_RAM //_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") +// AM_RANGE( 0x1800, 0x1bff ) AM_RAM //_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") AM_RANGE( 0x1800, 0x1bff ) AM_RAM_WRITE(palram_w) AM_SHARE("palram") AM_RANGE( 0x1c00, 0x1fff ) AM_RAM @@ -69,7 +69,7 @@ static const gfx_layout layout_8x8x4 = GFXDECODE_MEMBER( igs017_igs031_device::gfxinfo ) GFXDECODE_DEVICE( "^tilemaps", 0, layout_8x8x4, 0, 16 ) -// GFXDECODE_DEVICE( DEVICE_SELF, 0, spritelayout, 0, 0x1000 ) +// GFXDECODE_DEVICE( DEVICE_SELF, 0, spritelayout, 0, 0x1000 ) GFXDECODE_END @@ -127,7 +127,7 @@ void igs017_igs031_device::device_start() m_debug_addr = 0; m_debug_width = 512; - + } void igs017_igs031_device::video_start() @@ -144,7 +144,7 @@ void igs017_igs031_device::video_start() for (i = 0; i < size ; i++) { rom[i] = BITSWAP8(rom[i], 0, 1, 2, 3, 4, 5, 6, 7); -// rom[i^1] = BITSWAP8(rom[i], 0, 1, 2, 3, 4, 5, 6, 7); +// rom[i^1] = BITSWAP8(rom[i], 0, 1, 2, 3, 4, 5, 6, 7); } } } @@ -446,5 +446,3 @@ WRITE8_MEMBER(igs017_igs031_device::irq_enable_w) if (data & (~1)) logerror("%s: irq_enable = %02x\n", machine().describe_context(), data); } - - |