#pragma once #include "cpu/core.h" #include #include #define MEMORY_SIZE 0x0400 #define XAML 0x24 #define XAMH 0x25 #define STL 0x26 #define STH 0x27 #define L 0x28 #define H 0x29 #define YSAV 0x2A #define MODE 0x2B #define KBD 0xD010 #define KBD_CR 0xD011 #define DSP 0xD012 #define DSP_CR 0xD013 #define BS 0xDF #define CR 0x8D #define ESC 0x9B void AppleOn(); void AppleReset(); byte UserInput();