mirror of
https://codeberg.org/sethm/symon.git
synced 2026-11-09 11:32:23 +00:00
Cleanup my comments
This commit is contained in:
1 parent
8335cf5421
commit
657b69da6c
2 files changed
+3
-5
No files matched your search
@@ -260,7 +260,6 @@ public class Cpu implements InstructionTable {
|
|||||||
|
|
||||||
/** Single Byte Instructions; Implied and Relative **/
|
/** Single Byte Instructions; Implied and Relative **/
|
||||||
case 0x00: // BRK - Force Interrupt - Implied
|
case 0x00: // BRK - Force Interrupt - Implied
|
||||||
// BRK is non-maskable. - http://www.atarimax.com/jindroush.atari.org/aopc.html#BRK
|
|
||||||
handleBrk(state.pc + 1);
|
handleBrk(state.pc + 1);
|
||||||
break;
|
break;
|
||||||
case 0x08: // PHP - Push Processor Status - Implied
|
case 0x08: // PHP - Push Processor Status - Implied
|
||||||
@@ -762,7 +761,7 @@ public class Cpu implements InstructionTable {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// IRQ & NMI clear break flag - http://www.pagetable.com/?p=410
|
// IRQ & NMI clear break flag
|
||||||
clearBreakFlag();
|
clearBreakFlag();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -144,8 +144,7 @@ public class CpuImpliedModeTest {
|
|||||||
|
|
||||||
assertEquals(0x203, cpu.getProgramCounter());
|
assertEquals(0x203, cpu.getProgramCounter());
|
||||||
|
|
||||||
// Triggers the BRK, which should do nothing because
|
// Triggers the BRK
|
||||||
// of the Interrupt Disable flag
|
|
||||||
cpu.step();
|
cpu.step();
|
||||||
|
|
||||||
|
|
||||||
@@ -642,4 +641,4 @@ public class CpuImpliedModeTest {
|
|||||||
assertFalse(cpu.getZeroFlag());
|
assertFalse(cpu.getZeroFlag());
|
||||||
assertTrue(cpu.getNegativeFlag());
|
assertTrue(cpu.getNegativeFlag());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user