Checkpoint of my Swing UI refactoring. Usable for output-only programs, but only barely.

This commit is contained in:
Seth Morabito committed 2012-05-28 22:18:35 -07:00
1 parent 5ce81ef82c
commit ed36690e9e
13 files changed
+776 -659

No files matched your search

+2 -1
View File
@@ -111,6 +111,7 @@ public class Cpu implements InstructionTable {
decimalModeFlag = false;
breakFlag = false;
overflowFlag = false;
zeroFlag = false;
// Clear illegal opcode trap.
opTrap = false;
@@ -1375,7 +1376,7 @@ public class Cpu implements InstructionTable {
return (zp + getYRegister()) & 0xff;
}
void setResetVector(int address) throws MemoryAccessException {
public void setResetVector(int address) throws MemoryAccessException {
bus.write(RST_VECTOR_H, (address & 0xff00) >>> 8);
bus.write(RST_VECTOR_L, address & 0x00ff);
}