summaryrefslogtreecommitdiffstatshomepage
path: root/src/zexall
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/zexall
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/zexall')
-rw-r--r--src/zexall/zexall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zexall/zexall.cpp b/src/zexall/zexall.cpp
index 25e8d07841e..2717d402d89 100644
--- a/src/zexall/zexall.cpp
+++ b/src/zexall/zexall.cpp
@@ -120,10 +120,10 @@ WRITE8_MEMBER( zexall_state::output_data_w )
******************************************************************************/
static ADDRESS_MAP_START(z80_mem, AS_PROGRAM, 8, zexall_state)
+ AM_RANGE(0x0000, 0xffff) AM_RAM AM_SHARE("main_ram")
AM_RANGE(0xfffd, 0xfffd) AM_READWRITE(output_ack_r, output_ack_w)
AM_RANGE(0xfffe, 0xfffe) AM_READWRITE(output_req_r, output_req_w)
AM_RANGE(0xffff, 0xffff) AM_READWRITE(output_data_r, output_data_w)
- AM_RANGE(0x0000, 0xffff) AM_RAM AM_SHARE("main_ram")
ADDRESS_MAP_END