diff options
author | Olivier Galibert <galibert@pobox.com> | 2017-03-31 18:27:51 +0200 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2017-03-31 18:29:06 +0200 |
commit | 080dc67abaeeb8b05ec2283526ad51bb9dbac6d2 (patch) | |
tree | e225d51d243a32bbd3584a6ed53c99996ac1c692 | |
parent | 6dd15ad2a87c5736445de929c352d6ba5792a37f (diff) |
ti8*: remove the gross boot hack, break the driver, don't give a shit [O. Galibert]
-rw-r--r-- | src/mame/machine/ti85.cpp | 17 |
1 files changed, 0 insertions, 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)); |