From 9dc65f84b480d5869265428c1957c50bdee3a1f5 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Wed, 29 Nov 2023 19:28:04 +1100 Subject: Display progress, still wip --- src/apple.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/apple.c') diff --git a/src/apple.c b/src/apple.c index 1e82d0d..ec7769a 100644 --- a/src/apple.c +++ b/src/apple.c @@ -23,7 +23,7 @@ void AppleReset(){ Memory = calloc(MEMORY_SIZE, sizeof(byte)); } -byte ToAppleAscii(char x) +/*byte ToAppleAscii(char x) { if (x < 0x20 || x >= 0x60) return -1; @@ -37,7 +37,7 @@ byte ToAscii(char x) if (x < 0x20) x += 0x40; return x; -} +}*/ byte GetMemory(address x){ @@ -46,7 +46,7 @@ byte GetMemory(address x){ // I opted to make the kbd return successfully at all times for the sake of simplicity. // This is not technically "accurate" behavior however. case KBD: - return 0b10000000 | ToAppleAscii(UserInput()); + return 0b10000000 | UserInput(); case KBD_CR: case DSP: return 0b10000000; default: -- cgit v1.2.3