diff options
| author | 2009-05-12 16:13:51 +0000 | |
|---|---|---|
| committer | 2009-05-12 16:13:51 +0000 | |
| commit | 53cb336c1d353583f7b5605422e7eea137c95d5d (patch) | |
| tree | 2864751d7157b4547ae4027f0097b9ed592f6028 | |
| parent | d1627e2692f53db8fb7a454af902f420a776de12 (diff) | |
Fixed regression on homedata.c driver
| -rw-r--r-- | src/mame/drivers/homedata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/homedata.c b/src/mame/drivers/homedata.c index 16998b599a5..d4ef52bb0b8 100644 --- a/src/mame/drivers/homedata.c +++ b/src/mame/drivers/homedata.c @@ -575,7 +575,7 @@ static ADDRESS_MAP_START( mrokumei_map, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x7803, 0x7803) AM_READ_PORT("IN0") // coin, service AM_RANGE(0x7804, 0x7804) AM_READ_PORT("DSW1") // DSW1 AM_RANGE(0x7805, 0x7805) AM_READ_PORT("DSW2") // DSW2 - AM_RANGE(0x7ff0, 0x7ffd) AM_WRITE(SMH_RAM) AM_BASE(&homedata_vreg) + AM_RANGE(0x7ff0, 0x7ffd) AM_WRITEONLY AM_BASE(&homedata_vreg) AM_RANGE(0x7ffe, 0x7ffe) AM_READNOP // ??? read every vblank, value discarded AM_RANGE(0x8000, 0x8000) AM_WRITE(mrokumei_blitter_start_w) // in some games also ROM bank switch to access service ROM AM_RANGE(0x8001, 0x8001) AM_WRITE(mrokumei_keyboard_select_w) @@ -641,7 +641,7 @@ static ADDRESS_MAP_START( pteacher_map, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x7800, 0x7800) AM_RAM /* behaves as normal RAM */ AM_RANGE(0x7801, 0x7801) AM_READ(pteacher_io_r) // vblank, visible page AM_RANGE(0x7ff2, 0x7ff2) AM_READ(pteacher_snd_r) - AM_RANGE(0x7ff0, 0x7ffd) AM_WRITE(SMH_RAM) AM_BASE(&homedata_vreg) + AM_RANGE(0x7ff0, 0x7ffd) AM_WRITEONLY AM_BASE(&homedata_vreg) AM_RANGE(0x7fff, 0x7fff) AM_WRITE(pteacher_blitter_start_w) AM_RANGE(0x8000, 0x8000) AM_WRITE(bankswitch_w) AM_RANGE(0x8002, 0x8002) AM_WRITE(pteacher_snd_command_w) @@ -654,7 +654,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( pteacher_upd7807_map, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x0000, 0x0000) AM_WRITE(pteacher_snd_answer_w) - AM_RANGE(0x0000, 0xfeff) AM_ROMBANK(1) /* External ROM (Banked) */ + AM_RANGE(0x0000, 0xfeff) AM_ROMBANK(2) /* External ROM (Banked) */ AM_RANGE(0xff00, 0xffff) AM_RAM /* Internal RAM */ ADDRESS_MAP_END |
