From 080dc67abaeeb8b05ec2283526ad51bb9dbac6d2 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Fri, 31 Mar 2017 18:27:51 +0200 Subject: ti8*: remove the gross boot hack, break the driver, don't give a shit [O. Galibert] --- src/mame/machine/ti85.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/mame/machine/ti85.cpp b/src/mame/machine/ti85.cpp index 678b2783894..f51c9df76fb 100644 --- a/src/mame/machine/ti85.cpp +++ b/src/mame/machine/ti85.cpp @@ -268,20 +268,6 @@ MACHINE_RESET_MEMBER(ti85_state,ti85) m_PCR = 0xc0; } -DIRECT_UPDATE_MEMBER(ti85_state::ti83p_direct_update_handler) -{ - if (m_booting) - { - if (((m_ti83p_port4 & 1) && (address >= 0x4000 && address < 0xc000)) || (address >= 0x4000 && address < 0x8000)) - { - m_booting = false; - update_ti83p_memory(); - } - } - return address; -} - - MACHINE_RESET_MEMBER(ti85_state,ti83p) { m_PCR = 0x00; @@ -307,7 +293,6 @@ MACHINE_START_MEMBER(ti85_state,ti83p) m_model = TI83P; //address_space &space = m_maincpu->space(AS_PROGRAM); //m_bios = memregion("flash")->base(); - m_maincpu->space(AS_PROGRAM).set_direct_update_handler(direct_update_delegate(&ti85_state::ti83p_direct_update_handler, this)); m_timer_interrupt_mask = 0; m_timer_interrupt_status = 0; @@ -371,8 +356,6 @@ void ti85_state::ti8xpse_init_common() m_flash_unlocked = 0; ti85_state::update_ti83pse_memory(); - m_maincpu->space(AS_PROGRAM).set_direct_update_handler(direct_update_delegate(&ti85_state::ti83p_direct_update_handler, this)); - machine().scheduler().timer_pulse(attotime::from_hz(256), timer_expired_delegate(FUNC(ti85_state::ti83_timer1_callback),this)); machine().scheduler().timer_pulse(attotime::from_hz(512), timer_expired_delegate(FUNC(ti85_state::ti83_timer2_callback),this)); -- cgit v1.2.3