- Major overhaul of the Simulator control class (where 'main' lives).

- Removed the CommandParser class entirely, as the weird dependency between
  Simulator and CommandParser never made me comfortable.
- Added a Command inner class to Simulator that handles some of the
  command line tokenizing.
This commit is contained in:
sethm committed 2010-01-16 19:22:22 -08:00
1 parent 5c7a98df86
commit a3e57274a2
11 files changed
+364 -122

No files matched your search

@@ -115,7 +115,7 @@ public class CpuIndirectXModeTest extends TestCase {
0xa9, 0xff, // LDA #$ff
0x3d, 0x05, 0x1a, // AND $1a05,X
0xa9, 0x01, // LDA #$01
0x3d, 0xd2, 0x1a); // AND $1ad2,X
0x3d, 0xd2, 0x19); // AND $19d2,X
cpu.step();
assertEquals(0x00, cpu.getAccumulator());
assertTrue(cpu.getZeroFlag());