diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-01-18 19:41:45 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-01-31 22:03:00 +0100 |
commit | 127cd08d4d8a7ebbd5e0cbe8239fa17c8dc9b20e (patch) | |
tree | ee4db1c2bfd942142669ab820a39f8417d0a0d9d /src/mame/drivers/isbc.cpp | |
parent | 86d25d4d8dae418ef39b132e9f80cc9f781b96e1 (diff) |
API change: Memory maps are now "last entry wins" [O. Galibert]
This allows for the much more natural "import another map and patch
it" structure, or "cover a whole region then punch holes in it". Our
previous first-entry-wins rule was always a surprise to newcomers, and
oldcomers too.
Diffstat (limited to 'src/mame/drivers/isbc.cpp')
-rw-r--r-- | src/mame/drivers/isbc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/isbc.cpp b/src/mame/drivers/isbc.cpp index e82e956028e..e7c08bd2fa7 100644 --- a/src/mame/drivers/isbc.cpp +++ b/src/mame/drivers/isbc.cpp @@ -135,15 +135,15 @@ static ADDRESS_MAP_START(rpc86_io, AS_IO, 16, isbc_state) ADDRESS_MAP_END static ADDRESS_MAP_START(isbc8605_io, AS_IO, 16, isbc_state) - AM_RANGE(0x0000, 0x002f) AM_DEVICE8("isbc_208", isbc_208_device, map, 0xffff) AM_IMPORT_FROM(rpc86_io) + AM_RANGE(0x0000, 0x002f) AM_DEVICE8("isbc_208", isbc_208_device, map, 0xffff) ADDRESS_MAP_END static ADDRESS_MAP_START(isbc8630_io, AS_IO, 16, isbc_state) + AM_IMPORT_FROM(rpc86_io) AM_RANGE(0x00c0, 0x00c7) AM_WRITE8(edge_intr_clear_w, 0xff00) AM_RANGE(0x00c8, 0x00df) AM_WRITE8(status_register_w, 0xff00) AM_RANGE(0x0100, 0x0101) AM_DEVWRITE8("isbc_215g", isbc_215g_device, write, 0x00ff) - AM_IMPORT_FROM(rpc86_io) ADDRESS_MAP_END static ADDRESS_MAP_START(isbc86_mem, AS_PROGRAM, 16, isbc_state) |