stupid git

This commit is contained in:
AJR 2022-10-03 11:48:06 -04:00
parent baef2b80f6
commit bce8150697
5 changed files with 24 additions and 7 deletions

View File

@ -433,6 +433,25 @@ void cuda_device::device_start()
if (rom)
{
memcpy(rom, rom+rom_offset, 0x1100);
// HACK: there's as-yet undiagnosed weirdness in the 6805 program where the ADB
// autopoll timer never reaches zero and polling never occurs. This patches
// the idle loop so polling runs.
// in 2.40:
// 101B: tst autopoll_timer (0x90)
// 101D: bne adb_poll_loop
// 101F: brset 7, flags, run_auto_poll
switch (rom_offset)
{
case CUDA_341S0060:
rom[0x101d-0xf00] = 0x27; // patch for 2.40 (BNE to BEQ)
break;
case CUDA_341S0788:
rom[0x1035-0xf00] = 0x27; // patch for 2.37 (BNE to BEQ)
break;
}
}
}

View File

@ -659,11 +659,6 @@ void macadb_device::adb_talk()
LOGMASKED(LOG_TALK_LISTEN, "ADB: talking to unconnected device %d (K %d M %d)\n", addr, m_adb_keybaddr, m_adb_mouseaddr);
m_adb_buffer[0] = m_adb_buffer[1] = 0;
m_adb_datasize = 0;
if ((adb_pollkbd(0)) || (adb_pollmouse()))
{
m_adb_srqflag = true;
}
}
break;
}

View File

@ -482,4 +482,4 @@ ROM_END
COMP(1990, maclc, 0, 0, maclc, maclc, maclc_state, empty_init, "Apple Computer", "Macintosh LC", MACHINE_SUPPORTS_SAVE|MACHINE_IMPERFECT_SOUND)
COMP(1991, maclc2, 0, 0, maclc2, maclc, maclc_state, empty_init, "Apple Computer", "Macintosh LC II", MACHINE_SUPPORTS_SAVE|MACHINE_IMPERFECT_SOUND)
COMP(1991, macclas2, 0, 0, macclas2, maclc, maclc_state, empty_init, "Apple Computer", "Macintosh Classic II", MACHINE_SUPPORTS_SAVE|MACHINE_IMPERFECT_SOUND )
COMP(1993, maccclas, 0, 0, maccclas, maclc, maclc_state, empty_init, "Apple Computer", "Macintosh Color Classic", MACHINE_NOT_WORKING)
COMP(1993, maccclas, 0, 0, maccclas, maclc, maclc_state, empty_init, "Apple Computer", "Macintosh Color Classic", MACHINE_SUPPORTS_SAVE|MACHINE_IMPERFECT_SOUND)

View File

@ -319,4 +319,4 @@ ROM_END
} // anonymous namespace
COMP(1993, maclc3, 0, 0, maclc3, macadb, macvail_state, empty_init, "Apple Computer", "Macintosh LC III", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND)
COMP(1993, maclc520, 0, 0, maclc520, macadb, macvail_state, empty_init, "Apple Computer", "Macintosh LC 520", MACHINE_NOT_WORKING)
COMP(1993, maclc520, 0, 0, maclc520, macadb, macvail_state, empty_init, "Apple Computer", "Macintosh LC 520", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND)

View File

@ -34693,6 +34693,9 @@ pdp11ub //
pdp11ub2 //
sms1000 //
@source:dec/pdp1145.cpp
pdp1145 //
@source:skeleton/pdt3100.cpp
pdt3100 //