summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-12-01 20:16:40 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-12-01 20:16:40 +1100
commit7a5672d085399d0de9d2c77431ea7a2f089faacb (patch)
tree12544068ed39547f8090b2689ede4daf3605fb5c
parent0ba0d793ca60189fa8378399d32d6299a1dd9db5 (diff)
handling DSP differently
-rw-r--r--src/apple.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apple.c b/src/apple.c
index 18f1763..5ef87f6 100644
--- a/src/apple.c
+++ b/src/apple.c
@@ -92,7 +92,8 @@ void SetMemory(address x, byte y){
switch(x)
{
case DSP:
- DisplayInput(y);
+ if (y & 0x80)
+ DisplayInput(y);
}
if (x < MEMORY_SIZE) {
Memory[x] = y;