summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/jr100.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/jr100.c')
-rw-r--r--src/mess/drivers/jr100.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mess/drivers/jr100.c b/src/mess/drivers/jr100.c
index 87f7caf9fe1..28e6bf2fb3d 100644
--- a/src/mess/drivers/jr100.c
+++ b/src/mess/drivers/jr100.c
@@ -39,6 +39,9 @@ public:
UINT16 m_t1latch;
UINT8 m_beep_en;
DECLARE_WRITE8_MEMBER(jr100_via_w);
+ virtual void machine_start();
+ virtual void machine_reset();
+ virtual void video_start();
};
@@ -156,17 +159,17 @@ INPUT_PORTS_START( jr100 )
PORT_BIT(0xE0, IP_ACTIVE_LOW, IPT_UNUSED)
INPUT_PORTS_END
-static MACHINE_START(jr100)
+void jr100_state::machine_start()
{
- beep_set_frequency(machine.device(BEEPER_TAG),0);
- beep_set_state(machine.device(BEEPER_TAG),0);
+ beep_set_frequency(machine().device(BEEPER_TAG),0);
+ beep_set_state(machine().device(BEEPER_TAG),0);
}
-static MACHINE_RESET(jr100)
+void jr100_state::machine_reset()
{
}
-static VIDEO_START( jr100 )
+void jr100_state::video_start()
{
}
@@ -355,8 +358,6 @@ static MACHINE_CONFIG_START( jr100, jr100_state )
MCFG_CPU_ADD("maincpu",M6802, XTAL_14_31818MHz / 4) // clock devided internaly by 4
MCFG_CPU_PROGRAM_MAP(jr100_mem)
- MCFG_MACHINE_START(jr100)
- MCFG_MACHINE_RESET(jr100)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -370,7 +371,6 @@ static MACHINE_CONFIG_START( jr100, jr100_state )
MCFG_PALETTE_LENGTH(2)
MCFG_PALETTE_INIT(black_and_white)
- MCFG_VIDEO_START(jr100)
MCFG_VIA6522_ADD("via", XTAL_14_31818MHz / 16, jr100_via_intf)