From 127cd08d4d8a7ebbd5e0cbe8239fa17c8dc9b20e Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 18 Jan 2018 19:41:45 +0100 Subject: 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. --- src/zexall/zexall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zexall') 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 -- cgit v1.2.3