summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/symbolics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/symbolics.cpp')
-rw-r--r--src/mame/drivers/symbolics.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mame/drivers/symbolics.cpp b/src/mame/drivers/symbolics.cpp
index 524b2b19915..f1109759638 100644
--- a/src/mame/drivers/symbolics.cpp
+++ b/src/mame/drivers/symbolics.cpp
@@ -245,14 +245,15 @@ currently dies at context switch code loaded to ram around 38EE0, see patent 488
*/
-ADDRESS_MAP_START(symbolics_state::m68k_mem)
- ADDRESS_MAP_UNMAP_HIGH
+void symbolics_state::m68k_mem(address_map &map)
+{
+ map.unmap_value_high();
//AM_RANGE(0x000000, 0x01ffff) AM_ROM /* ROM lives here */
- AM_RANGE(0x000000, 0x00bfff) AM_ROM
+ map(0x000000, 0x00bfff).rom();
// 0x00c000-0x00ffff is open bus but decoded/auto-DTACKed, does not cause bus error
- AM_RANGE(0x010000, 0x01bfff) AM_ROM
+ map(0x010000, 0x01bfff).rom();
// 0x01c000-0x01ffff is open bus but decoded/auto-DTACKed, does not cause bus error
- AM_RANGE(0x020000, 0x03ffff) AM_RAM AM_REGION("fepdram", 0) /* Local FEP ram seems to be here? there are 18 mcm4164s on the pcb which probably map here, plus 2 parity bits? */
+ map(0x020000, 0x03ffff).ram().region("fepdram", 0); /* Local FEP ram seems to be here? there are 18 mcm4164s on the pcb which probably map here, plus 2 parity bits? */
//AM_RANGE(0x020000, 0x03ffff) AM_READWRITE(ram_parity_hack_r, ram_parity_hack_w)
//AM_RANGE(0x020002, 0x03ffff) AM_RAM AM_REGION("fepdram", 0) /* Local FEP ram seems to be here? there are 18 mcm4164s on the pcb which probably map here, plus 2 parity bits? */
// 2x AM9128-10PC 2048x8 SRAMs @F7 and @G7 map somewhere
@@ -260,12 +261,12 @@ ADDRESS_MAP_START(symbolics_state::m68k_mem)
//AM_RANGE(0x040000, 0xffffff) AM_READ(buserror_r);
//AM_RANGE(0x800000, 0xffffff) AM_RAM /* paged access to lispm ram? */
//FF00B0 is readable, may be to read the MC/SQ/DP/AU continuity lines?
- AM_RANGE(0xff00b0, 0xff00b1) AM_READ(fep_paddle_id_prom_r)
+ map(0xff00b0, 0xff00b1).r(this, FUNC(symbolics_state::fep_paddle_id_prom_r));
//FF00E1 is writable, may control the LBUS_POWER_RESET line, see http://bitsavers.trailing-edge.com/pdf/symbolics/3600_series/Lisp_Machine_Hardware_Memos.pdf page 90
// or may be writing to FEP-LBUS-CONTROL bit 0x02 DOORBELL INT ENABLE ?
// or may actually be setting LBUS_ID_REQ as the patent map shows
//FF018A is writable, gets 0x5555 written to it
-ADDRESS_MAP_END
+}
/******************************************************************************
Input Ports