From a4a9590148fdae2f656b25dd1d7b442969726c28 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Mon, 10 Apr 2023 20:46:43 +1000 Subject: Changed pointer switch case to if else for now --- applesystem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applesystem.h') 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; } -- cgit v1.2.3