diff options
Diffstat (limited to 'src/devices/bus/isa/aha1542.cpp')
-rw-r--r-- | src/devices/bus/isa/aha1542.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/bus/isa/aha1542.cpp b/src/devices/bus/isa/aha1542.cpp index f3a2e781c44..75eae0de6e9 100644 --- a/src/devices/bus/isa/aha1542.cpp +++ b/src/devices/bus/isa/aha1542.cpp @@ -161,13 +161,14 @@ ROM_START( aha1542 ) ROM_LOAD( "553801-00.u15", 0x0000, 0x8000, CRC(7824397e) SHA1(35bc2c8fab31aad3190a478f2dc8f3a72958cf04) ) /* ADAPTEC, INC MCODE */ ROM_END -ADDRESS_MAP_START(aha1542_device::z84c0010_mem) - AM_RANGE(0x0000, 0x7fff) AM_ROM AM_REGION(Z84C0010_TAG, 0) - AM_RANGE(0x8000, 0x800f) AM_NOP // something is mapped there - AM_RANGE(0x9000, 0xafff) AM_RAM // 2kb RAM chip - AM_RANGE(0xe000, 0xe0ff) AM_RAM // probably PC<->Z80 communication area - AM_RANGE(0xb000, 0xb000) AM_NOP // something? -ADDRESS_MAP_END +void aha1542_device::z84c0010_mem(address_map &map) +{ + map(0x0000, 0x7fff).rom().region(Z84C0010_TAG, 0); + map(0x8000, 0x800f).noprw(); // something is mapped there + map(0x9000, 0xafff).ram(); // 2kb RAM chip + map(0xe000, 0xe0ff).ram(); // probably PC<->Z80 communication area + map(0xb000, 0xb000).noprw(); // something? +} const tiny_rom_entry *aha1542_device::device_rom_region() const { |