- 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:
1 parent
5c7a98df86
commit
a3e57274a2
11 files changed
+364
-122
No files matched your search
@@ -14,8 +14,8 @@ public class Memory extends Device {
|
||||
super(address, size, "RW Memory");
|
||||
this.readOnly = readOnly;
|
||||
this.mem = new int[size];
|
||||
// Initialize all locations to 0xff
|
||||
Arrays.fill(this.mem, 0xff);
|
||||
// Initialize all locations to 0x00 (BRK)
|
||||
Arrays.fill(this.mem, 0x00);
|
||||
}
|
||||
|
||||
public Memory(int address, int size)
|
||||
|
||||
Reference in new issue
Block a user