mirror of
https://github.com/holub/mame
synced 2025-07-02 16:49:22 +03:00
ti8*: remove the gross boot hack, break the driver, don't give a shit [O. Galibert]
This commit is contained in:
parent
6dd15ad2a8
commit
080dc67aba
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user