diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-10 20:46:43 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-10 20:46:43 +1000 |
commit | a4a9590148fdae2f656b25dd1d7b442969726c28 (patch) | |
tree | fe90cef94de50e38a667eb41b0c8bb98a4465c9b /applesystem.h | |
parent | fbca225d25db812fe7823a8528dff17320cf1c53 (diff) |
Changed pointer switch case to if else for now
Diffstat (limited to 'applesystem.h')
-rw-r--r-- | applesystem.h | 4 |
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; } |