diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-01-18 17:13:10 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-01-19 08:23:19 +0100 |
commit | d0715c830d0f3866a6bac66c46cad83ca112c7b0 (patch) | |
tree | 2dfcfee4360916b8a6fc95d0e6c9f1e89163e088 /src/mame/drivers/astrcorp.cpp | |
parent | 7f0684bcacfbbf50a1e76b4ad1f0a36a903c5511 (diff) |
memory: Deambiguate handlers, also a hint of things to come (nw)
Diffstat (limited to 'src/mame/drivers/astrcorp.cpp')
-rw-r--r-- | src/mame/drivers/astrcorp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/astrcorp.cpp b/src/mame/drivers/astrcorp.cpp index ffc2e3803e4..9108e60b9ff 100644 --- a/src/mame/drivers/astrcorp.cpp +++ b/src/mame/drivers/astrcorp.cpp @@ -315,7 +315,7 @@ static ADDRESS_MAP_START( showhand_map, AS_PROGRAM, 16, astrocorp_state ) AM_RANGE( 0x058000, 0x058001 ) AM_WRITE(astrocorp_eeprom_w) AM_RANGE( 0x05a000, 0x05a001 ) AM_WRITE(showhand_outputs_w) AM_RANGE( 0x05e000, 0x05e001 ) AM_READ_PORT("EEPROMIN") - AM_RANGE( 0x060000, 0x0601ff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") + AM_RANGE( 0x060000, 0x0601ff ) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette") AM_RANGE( 0x070000, 0x073fff ) AM_RAM AM_SHARE("nvram") // battery AM_RANGE( 0x080000, 0x080001 ) AM_WRITE(astrocorp_sound_bank_w) AM_RANGE( 0x0a0000, 0x0a0001 ) AM_WRITE(astrocorp_screen_enable_w) @@ -324,7 +324,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( showhanc_map, AS_PROGRAM, 16, astrocorp_state ) AM_RANGE( 0x000000, 0x01ffff ) AM_ROM - AM_RANGE( 0x060000, 0x0601ff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") + AM_RANGE( 0x060000, 0x0601ff ) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette") AM_RANGE( 0x070000, 0x070001 ) AM_WRITE(astrocorp_sound_bank_w) AM_RANGE( 0x080000, 0x080fff ) AM_RAM AM_SHARE("spriteram") AM_RANGE( 0x082000, 0x082001 ) AM_WRITE(astrocorp_draw_sprites_w) @@ -345,7 +345,7 @@ static ADDRESS_MAP_START( skilldrp_map, AS_PROGRAM, 16, astrocorp_state ) AM_RANGE( 0x208000, 0x208001 ) AM_WRITE(astrocorp_eeprom_w) AM_RANGE( 0x20a000, 0x20a001 ) AM_WRITE(skilldrp_outputs_w) AM_RANGE( 0x20e000, 0x20e001 ) AM_READ_PORT("EEPROMIN") - AM_RANGE( 0x380000, 0x3801ff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") + AM_RANGE( 0x380000, 0x3801ff ) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette") AM_RANGE( 0x400000, 0x400001 ) AM_WRITE(astrocorp_screen_enable_w) AM_RANGE( 0x500000, 0x507fff ) AM_RAM AM_SHARE("nvram") // battery AM_RANGE( 0x580000, 0x580001 ) AM_WRITE(skilldrp_sound_bank_w) @@ -361,7 +361,7 @@ static ADDRESS_MAP_START( speeddrp_map, AS_PROGRAM, 16, astrocorp_state ) AM_RANGE( 0x388000, 0x388001 ) AM_WRITE(astrocorp_eeprom_w) AM_RANGE( 0x38a000, 0x38a001 ) AM_WRITE(skilldrp_outputs_w) AM_RANGE( 0x38e000, 0x38e001 ) AM_READ_PORT("EEPROMIN") - AM_RANGE( 0x480000, 0x4801ff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") + AM_RANGE( 0x480000, 0x4801ff ) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette") AM_RANGE( 0x500000, 0x500001 ) AM_WRITE(astrocorp_screen_enable_w) AM_RANGE( 0x580000, 0x580001 ) AM_WRITE(skilldrp_sound_bank_w) AM_RANGE( 0x600000, 0x600001 ) AM_DEVREADWRITE8("oki", okim6295_device, read, write, 0x00ff) |