Cleanup my comments

This commit is contained in:
Matt Harlum committed 2016-03-20 17:05:48 +11:00
1 parent 8335cf5421
commit 657b69da6c
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -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();