diff options
author | Fabio Priuli <etabeta78@users.noreply.github.com> | 2009-05-11 07:00:13 +0000 |
---|---|---|
committer | Fabio Priuli <etabeta78@users.noreply.github.com> | 2009-05-11 07:00:13 +0000 |
commit | eaff98fd77301e5663921202090b5bda35a4bf5f (patch) | |
tree | 2467bd13b23a32168cbf26598a8d42070545c89f | |
parent | 6ac3b1d97120df8fc21a8864cbc889c132e8322b (diff) |
Mamesick's fixes for a couple of bugs introduced while merging memory maps
-rw-r--r-- | src/mame/drivers/cave.c | 6 | ||||
-rw-r--r-- | src/mame/drivers/seta2.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/cave.c b/src/mame/drivers/cave.c index 57790442cca..f90bc2d18e4 100644 --- a/src/mame/drivers/cave.c +++ b/src/mame/drivers/cave.c @@ -795,9 +795,9 @@ static ADDRESS_MAP_START( metmqstr_map, ADDRESS_SPACE_PROGRAM, 16 ) AM_RANGE(0x600000, 0x600001) AM_READ(watchdog_reset16_r) // Watchdog? AM_RANGE(0x880000, 0x887fff) AM_RAM_WRITE(cave_vram_2_w) AM_BASE(&cave_vram_2) // Layer 2 AM_RANGE(0x888000, 0x88ffff) AM_RAM // - AM_RANGE(0x900000, 0x907fff) AM_RAM_WRITE(cave_vram_2_w) AM_BASE(&cave_vram_2) // Layer 1 + AM_RANGE(0x900000, 0x907fff) AM_RAM_WRITE(cave_vram_1_w) AM_BASE(&cave_vram_1) // Layer 1 AM_RANGE(0x908000, 0x90ffff) AM_RAM // - AM_RANGE(0x980000, 0x987fff) AM_RAM_WRITE(cave_vram_2_w) AM_BASE(&cave_vram_2) // Layer 0 + AM_RANGE(0x980000, 0x987fff) AM_RAM_WRITE(cave_vram_0_w) AM_BASE(&cave_vram_0) // Layer 0 AM_RANGE(0x988000, 0x98ffff) AM_RAM // AM_RANGE(0xa80000, 0xa80007) AM_READ(cave_irq_cause_r) // IRQ Cause AM_RANGE(0xa80068, 0xa80069) AM_WRITE(watchdog_reset16_w) // Watchdog? @@ -909,7 +909,7 @@ static ADDRESS_MAP_START( sailormn_map, ADDRESS_SPACE_PROGRAM, 16 ) AM_RANGE(0x600000, 0x600001) AM_READ(sailormn_input0_r) // Inputs + Watchdog! AM_RANGE(0x600002, 0x600003) AM_READ_PORT("IN1") // Inputs + EEPROM AM_RANGE(0x700000, 0x700001) AM_WRITE(sailormn_eeprom_msb_w) // EEPROM - AM_RANGE(0x800000, 0x887fff) AM_RAM_WRITE(cave_vram_0_w) AM_BASE(&cave_vram_0) // Layer 0 + AM_RANGE(0x800000, 0x807fff) AM_RAM_WRITE(cave_vram_0_w) AM_BASE(&cave_vram_0) // Layer 0 AM_RANGE(0x880000, 0x887fff) AM_RAM_WRITE(cave_vram_1_w) AM_BASE(&cave_vram_1) // Layer 1 AM_RANGE(0x900000, 0x907fff) AM_RAM_WRITE(cave_vram_2_w) AM_BASE(&cave_vram_2) // Layer 2 AM_RANGE(0x908000, 0x908001) AM_RAM // (agallet) diff --git a/src/mame/drivers/seta2.c b/src/mame/drivers/seta2.c index 3257a2da687..abbc7294007 100644 --- a/src/mame/drivers/seta2.c +++ b/src/mame/drivers/seta2.c @@ -809,6 +809,7 @@ static ADDRESS_MAP_START( penbros_map, ADDRESS_SPACE_PROGRAM, 16 ) // AM_RANGE(0x700000, 0x700001) AM_READ(pzlbowl_protection_r) // Protection AM_RANGE(0xb00000, 0xb3ffff) AM_RAM AM_BASE(&spriteram16) AM_SIZE(&spriteram_size) // Sprites AM_RANGE(0xb40000, 0xb4ffff) AM_RAM_WRITE(paletteram16_xRRRRRGGGGGBBBBB_word_w) AM_BASE(&paletteram16) // Palette + AM_RANGE(0xb60000, 0xb6003f) AM_WRITE(seta2_vregs_w) AM_BASE(&seta2_vregs ) AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1", seta_sound_word_r,seta_sound_word_w) // Sound AM_RANGE(0xfffc00, 0xffffff) AM_RAM_WRITE(tmp68301_regs_w) AM_BASE(&tmp68301_regs) // TMP68301 Registers ADDRESS_MAP_END |