summaryrefslogtreecommitdiff
path: root/applesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'applesystem.h')
-rw-r--r--applesystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/applesystem.h b/applesystem.h
index 4cff655..6b2f818 100644
--- a/applesystem.h
+++ b/applesystem.h
@@ -5,7 +5,7 @@ typedef unsigned char byte;
typedef unsigned short address;
byte acc, X, Y, P, S = 0x00;
address PC = 0x0000;
-register byte Memory[4096]; // TO DO. Add expansion capability to memory.
+byte Memory[4096]; // TO DO. Add expansion capability to memory.
// FLAGS
const byte flag_N = 0x80; // Negative
@@ -36,7 +36,7 @@ void flagSet(byte flag){
}
void flagClear(byte flag){
- P &= ~flag
+ P &= ~flag;
}