summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hprot1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hprot1.cpp')
-rw-r--r--src/mame/drivers/hprot1.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/hprot1.cpp b/src/mame/drivers/hprot1.cpp
index e09a0154d25..25914afcd33 100644
--- a/src/mame/drivers/hprot1.cpp
+++ b/src/mame/drivers/hprot1.cpp
@@ -80,6 +80,8 @@ public:
void hprotr8a(machine_config &config);
void hprot2r6(machine_config &config);
void hprot1(machine_config &config);
+ void i80c31_io(address_map &map);
+ void i80c31_prg(address_map &map);
private:
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -89,7 +91,7 @@ private:
#define LOG_IO_PORTS 0
-static ADDRESS_MAP_START(i80c31_prg, AS_PROGRAM, 8, hprot1_state)
+ADDRESS_MAP_START(hprot1_state::i80c31_prg)
AM_RANGE(0x0000, 0xffff) AM_ROM
ADDRESS_MAP_END
@@ -124,7 +126,7 @@ DRIVER_INIT_MEMBER( hprot1_state, hprot1 )
//P1.4 => WhatchDog Input (after timeout resets CPU)
-static ADDRESS_MAP_START(i80c31_io, AS_IO, 8, hprot1_state)
+ADDRESS_MAP_START(hprot1_state::i80c31_io)
AM_RANGE(0x0000,0x7fff) AM_RAM
/*TODO: verify the mirror mask value for the HD44780 device */
AM_RANGE(0xc000,0xc000) AM_MIRROR(0x13cf) AM_DEVWRITE("hd44780", hd44780_device, control_write)