diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-03-28 11:24:55 +1100 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-03-28 11:24:55 +1100 |
commit | 03e92ce787f063aa93e34145abd9c0c9cef7ee28 (patch) | |
tree | 3e53d9db8065e9eed2164ae6469146307b8b3319 /applesystem.h | |
parent | 5f11aac2f0a8c2bbc86180161d94158e890da285 (diff) |
shifting to other computer
Diffstat (limited to 'applesystem.h')
-rw-r--r-- | applesystem.h | 11 |
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() |