summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/oric.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/oric.cpp')
-rw-r--r--src/mame/drivers/oric.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/oric.cpp b/src/mame/drivers/oric.cpp
index 6d1a4391f17..3f547e03847 100644
--- a/src/mame/drivers/oric.cpp
+++ b/src/mame/drivers/oric.cpp
@@ -89,6 +89,7 @@ public:
void oric(machine_config &config);
void prav8d(machine_config &config);
+ void oric_mem(address_map &map);
protected:
required_device<cpu_device> m_maincpu;
required_device<palette_device> m_palette;
@@ -156,6 +157,7 @@ public:
virtual void machine_reset() override;
void telstrat(machine_config &config);
+ void telestrat_mem(address_map &map);
protected:
enum {
P_IRQEN = 0x01,
@@ -188,7 +190,7 @@ protected:
};
/* Ram is 64K, with 16K hidden by the rom. The 300-3ff is also hidden by the i/o */
-static ADDRESS_MAP_START(oric_mem, AS_PROGRAM, 8, oric_state )
+ADDRESS_MAP_START(oric_state::oric_mem)
AM_RANGE( 0x0000, 0xffff) AM_RAM AM_SHARE("ram")
AM_RANGE( 0x0300, 0x030f) AM_DEVREADWRITE("via6522", via6522_device, read, write) AM_MIRROR(0xf0)
AM_RANGE( 0xc000, 0xdfff) AM_READ_BANK("bank_c000_r") AM_WRITE_BANK("bank_c000_w")
@@ -199,7 +201,7 @@ ADDRESS_MAP_END
/*
The telestrat has the memory regions split into 16k blocks.
Memory region &c000-&ffff can be ram or rom. */
-static ADDRESS_MAP_START(telestrat_mem, AS_PROGRAM, 8, telestrat_state )
+ADDRESS_MAP_START(telestrat_state::telestrat_mem)
AM_RANGE( 0x0000, 0xffff) AM_RAM AM_SHARE("ram")
AM_RANGE( 0x0300, 0x030f) AM_DEVREADWRITE("via6522", via6522_device, read, write)
AM_RANGE( 0x0310, 0x0313) AM_DEVREADWRITE("fdc", fd1793_device, read, write)