diff --git a/src/mame/video/bfm_dm01.c b/src/mame/video/bfm_dm01.c index b86e5ff98f6..b70e1448dfc 100644 --- a/src/mame/video/bfm_dm01.c +++ b/src/mame/video/bfm_dm01.c @@ -98,8 +98,10 @@ void bfmdm01_device::device_start() save_item(NAME(m_xcounter)); save_item(NAME(m_busy)); save_item(NAME(m_comdata)); + for (int i = 0; i < 65; i++) save_item(NAME(m_segbuffer), i); + for (int i = 0; i < DM_BYTESPERROW; i++) save_item(NAME(m_scanline), i); } @@ -118,15 +120,6 @@ void bfmdm01_device::device_reset() m_busy_func(machine(), m_busy); } -/* void BFM_dm01_config(running_machine &machine, const bfmdm01_interface *intf) -{ - assert_always(machine.phase() == MACHINE_PHASE_INIT, "Can only call BFM_dm01_config at init time!"); - assert_always(intf, "BFM_dm01_config called with an invalid interface!"); - m_intf = intf; - BFM_dm01_reset(machine); - -} */ - /////////////////////////////////////////////////////////////////////////// int bfmdm01_device::read_data(void) @@ -281,13 +274,6 @@ void bfmdm01_device::writedata(UINT8 data) machine().device("matrix")->execute().set_input_line(M6809_IRQ_LINE, HOLD_LINE ); // trigger IRQ } -/////////////////////////////////////////////////////////////////////////// - -//INTERRUPT_GEN_MEMBER( bfmdm01_device::nmi_line_assert ) -//{ - //device->execute().set_input_line(INPUT_LINE_NMI, ASSERT_LINE ); -//} - /////////////////////////////////////////////////////////////////////////// int bfmdm01_device::busy(void) { diff --git a/src/mame/video/bfm_dm01.h b/src/mame/video/bfm_dm01.h index 9d06b5ae3fe..f2de6166424 100644 --- a/src/mame/video/bfm_dm01.h +++ b/src/mame/video/bfm_dm01.h @@ -58,7 +58,6 @@ extern const device_type BF_DM01; ADDRESS_MAP_EXTERN( bfm_dm01_memmap,8 ); -//void BFM_dm01_config(running_machine &machine, const bfmdm01_interface *intf); #define MCFG_DM01_ADD(_tag, _interface) \ MCFG_DEVICE_ADD(_tag, BF_DM01, 0) \