// More kludge...
if ((addr == 0xC80C) && (gram[0xC80D] & 0x04)) // Read PORTA and DDR is set to Output
{
- ClearLine(V6809_ASSERT_LINE_IRQ); // Then clear the IRQ
+ ClearLineOfCurrentV6809(V6809_ASSERT_LINE_IRQ); // Then clear the IRQ
//OK, this ALSO fucks up the execution of the demo...
// Which means that the timing is still off. :-/
// mainCPU.cpuFlags &= ~V6809_ASSERT_LINE_IRQ; // Then clear the IRQ
if ((addr == 0xC80E) && (gram[0xC80F] & 0x04)) // Read PORTB and DDR is set to Output
{
- ClearLine(V6809_ASSERT_LINE_IRQ); // Then clear the IRQ
+ ClearLineOfCurrentV6809(V6809_ASSERT_LINE_IRQ); // Then clear the IRQ
//OK, this ALSO fucks up the execution of the demo...
// mainCPU.cpuFlags &= ~V6809_ASSERT_LINE_IRQ; // Then clear the IRQ
}
soundCPU.cpuFlags |= V6808_ASSERT_LINE_NMI;
if (keys[SDLK_F6]) // Reset the 6808 (F6)
soundCPU.cpuFlags |= V6808_ASSERT_LINE_RESET;
+//Temp, for testing...
+extern bool disasm;
+//disasm = true;
+ if (keys[SDLK_F9])
+ disasm = true;
if (paletteDirty)
{