summaryrefslogtreecommitdiff
path: root/src/apple.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 19:28:04 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 19:28:04 +1100
commit9dc65f84b480d5869265428c1957c50bdee3a1f5 (patch)
tree5ca229ef8f07a7e134e8b57188e183dde7dc3ed0 /src/apple.c
parent44a1ea6542c812b173fb9685837c0b2fdc6a7c61 (diff)
Display progress, still wip
Diffstat (limited to 'src/apple.c')
-rw-r--r--src/apple.c6
1 files changed, 3 insertions, 3 deletions
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: