mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
apple2: fixed reverse-logic on TransWarp slot DIPs that caused disks to not boot. [R. Belmont]
This commit is contained in:
parent
a4ae5f9526
commit
992dbc98d1
@ -162,7 +162,6 @@ void a2bus_transwarp_device::device_reset()
|
||||
m_bEnabled = true;
|
||||
m_bReadA2ROM = false;
|
||||
set_maincpu_halt(ASSERT_LINE);
|
||||
|
||||
if (!(m_dsw2->read() & 0x80))
|
||||
{
|
||||
if (m_dsw1->read() & 0x80)
|
||||
@ -236,10 +235,10 @@ void a2bus_transwarp_device::hit_slot(int slot)
|
||||
if (!(m_dsw2->read() & 0x80))
|
||||
{
|
||||
// accleration's on, check the specific slot
|
||||
if (m_dsw2->read() & (1<<(slot-1)))
|
||||
if (!(m_dsw2->read() & (1<<(slot-1))))
|
||||
{
|
||||
m_ourcpu->set_unscaled_clock(1021800);
|
||||
// slow down for around 20 cycles, should be more than enough
|
||||
// slow down for 20 uSec, should be more than enough
|
||||
m_timer->adjust(attotime::from_usec(20));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user