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.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mame/drivers/hprot1.cpp b/src/mame/drivers/hprot1.cpp
index 03bac45704c..cd99fa4b864 100644
--- a/src/mame/drivers/hprot1.cpp
+++ b/src/mame/drivers/hprot1.cpp
@@ -77,6 +77,9 @@ public:
DECLARE_DRIVER_INIT(hprot1);
DECLARE_PALETTE_INIT(hprot1);
HD44780_PIXEL_UPDATE(hprot1_pixel_update);
+ void hprotr8a(machine_config &config);
+ void hprot2r6(machine_config &config);
+ void hprot1(machine_config &config);
private:
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -300,7 +303,7 @@ HD44780_PIXEL_UPDATE(hprot1_state::hprot1_pixel_update)
}
}
-static MACHINE_CONFIG_START( hprot1 )
+MACHINE_CONFIG_START(hprot1_state::hprot1)
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", I80C31, XTAL_10MHz)
MCFG_CPU_PROGRAM_MAP(i80c31_prg)
@@ -329,7 +332,7 @@ static MACHINE_CONFIG_START( hprot1 )
/* TODO: emulate the ADM695AN chip (watchdog/brownout reset)*/
MACHINE_CONFIG_END
-static MACHINE_CONFIG_DERIVED( hprotr8a, hprot1 )
+MACHINE_CONFIG_DERIVED(hprot1_state::hprotr8a, hprot1)
MCFG_CPU_REPLACE("maincpu", I80C31, 11059200) // value of X1 cristal on the PCB
MCFG_CPU_PROGRAM_MAP(i80c31_prg)
MCFG_CPU_IO_MAP(i80c31_io)
@@ -345,7 +348,7 @@ static MACHINE_CONFIG_DERIVED( hprotr8a, hprot1 )
/* TODO: add an I2C interface (the board has GND/VCC/SDA/SCL pins available in a connector) */
MACHINE_CONFIG_END
-static MACHINE_CONFIG_DERIVED( hprot2r6, hprot1 )
+MACHINE_CONFIG_DERIVED(hprot1_state::hprot2r6, hprot1)
MCFG_CPU_REPLACE("maincpu", I80C31, 11059200) // value of X1 cristal on the PCB
MCFG_CPU_PROGRAM_MAP(i80c31_prg)
MCFG_CPU_IO_MAP(i80c31_io)