- 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

@@ -74,7 +74,7 @@ public class CpuImpliedModeTest extends TestCase {
cpu.setOverflowFlag();
assertEquals(0x20|Cpu.P_CARRY|Cpu.P_OVERFLOW,
cpu.getProcessorStatus());
assertEquals(0xff, cpu.stackPeek());
assertEquals(0x00, cpu.stackPeek());
assertFalse(cpu.getBreakFlag());
assertEquals(0x0200, cpu.getProgramCounter());
assertEquals(0xff, cpu.getStackPointer());