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/mpu3.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/mpu3.cpp')
-rw-r--r-- | src/mame/drivers/mpu3.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/mpu3.cpp b/src/mame/drivers/mpu3.cpp index 5f44997ac01..eb774094154 100644 --- a/src/mame/drivers/mpu3.cpp +++ b/src/mame/drivers/mpu3.cpp @@ -832,13 +832,12 @@ READ8_MEMBER(mpu3_state::mpu3ptm_r) static ADDRESS_MAP_START( mpu3_basemap, AS_PROGRAM, 8, mpu3_state ) AM_RANGE(0x0000, 0x07ff) AM_RAM AM_SHARE("nvram") + AM_RANGE(0x1000, 0xffff) AM_ROM AM_RANGE(0x8800, 0x881f) AM_READWRITE(mpu3ptm_r, mpu3ptm_w)/* PTM6840 IC2 */ AM_RANGE(0x9000, 0x9003) AM_DEVREADWRITE("pia_ic3", pia6821_device, read, write) /* PIA6821 IC3 */ AM_RANGE(0x9800, 0x9803) AM_DEVREADWRITE("pia_ic4", pia6821_device, read, write) /* PIA6821 IC4 */ AM_RANGE(0xa000, 0xa003) AM_DEVREADWRITE("pia_ic5", pia6821_device, read, write) /* PIA6821 IC5 */ AM_RANGE(0xa800, 0xa803) AM_DEVREADWRITE("pia_ic6", pia6821_device, read, write) /* PIA6821 IC6 */ - - AM_RANGE(0x1000, 0xffff) AM_ROM ADDRESS_MAP_END #define MCFG_MPU3_REEL_ADD(_tag)\ |