Fixes and enhancements.
- Added ability to change inner border width of console window. - Fixed a nasty bug that prevented key press handling. - Reset now clears the accumulator and index registers.
This commit is contained in:
1 parent
e012d97bb3
commit
c214cc9b43
10 files changed
+2682
-2504
No files matched your search
@@ -118,6 +118,11 @@ public class Cpu implements InstructionTable {
|
||||
|
||||
// Reset step counter
|
||||
stepCounter = 0L;
|
||||
|
||||
// Reset registers.
|
||||
a = 0;
|
||||
x = 0;
|
||||
y = 0;
|
||||
}
|
||||
|
||||
public void step(int num) throws MemoryAccessException {
|
||||
|
||||
Reference in new issue
Block a user