summaryrefslogtreecommitdiff
path: root/applesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'applesystem.h')
-rw-r--r--applesystem.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/applesystem.h b/applesystem.h
index bf94a72..a26aff7 100644
--- a/applesystem.h
+++ b/applesystem.h
@@ -35,6 +35,15 @@ void setFlag(byte flag, int x) { //OVERLOAD TO ACCEPT INT AS WELL
}
}
+void flagSet(byte flag){
+ P |= flag;
+}
+
+void flagClear(byte flag){
+ P &= ~flag
+}
+
+
// BCD
byte toBCD(byte x){
@@ -54,7 +63,7 @@ byte fromBCD(byte x){
return (a + b);
}
-
+// addBCD()