summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/88games.cpp
diff options
context:
space:
mode:
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
commit127cd08d4d8a7ebbd5e0cbe8239fa17c8dc9b20e (patch)
treeee4db1c2bfd942142669ab820a39f8417d0a0d9d /src/mame/drivers/88games.cpp
parent86d25d4d8dae418ef39b132e9f80cc9f781b96e1 (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/88games.cpp')
-rw-r--r--src/mame/drivers/88games.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/88games.cpp b/src/mame/drivers/88games.cpp
index 98a51fe7f12..11f6005d1b5 100644
--- a/src/mame/drivers/88games.cpp
+++ b/src/mame/drivers/88games.cpp
@@ -128,6 +128,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, _88games_state )
AM_RANGE(0x2000, 0x2fff) AM_RAM
AM_RANGE(0x3000, 0x37ff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x3800, 0x3fff) AM_READWRITE(bankedram_r, bankedram_w) AM_SHARE("ram")
+ AM_RANGE(0x4000, 0x7fff) AM_READWRITE(k052109_051960_r, k052109_051960_w)
AM_RANGE(0x5f84, 0x5f84) AM_WRITE(k88games_5f84_w)
AM_RANGE(0x5f88, 0x5f88) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
AM_RANGE(0x5f8c, 0x5f8c) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
@@ -138,7 +139,6 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, _88games_state )
AM_RANGE(0x5f97, 0x5f97) AM_READ_PORT("DSW1")
AM_RANGE(0x5f9b, 0x5f9b) AM_READ_PORT("DSW2")
AM_RANGE(0x5fc0, 0x5fcf) AM_DEVWRITE("k051316", k051316_device, ctrl_w)
- AM_RANGE(0x4000, 0x7fff) AM_READWRITE(k052109_051960_r, k052109_051960_w)
AM_RANGE(0x8000, 0xffff) AM_ROM
ADDRESS_MAP_END