summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/zx81.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/zx81.c b/source/zx81.c
index fb6f801..7aa5380 100644
--- a/source/zx81.c
+++ b/source/zx81.c
@@ -982,6 +982,13 @@ Z80Byte ZX81ReadPort(Z80 *z80, Z80Word port)
b=matrix[7];
break;
}
+
+ /* Some code expects some of the top bits set... Of course, whether
+ or not this may be worse as other code doesn't expect the bits,
+ we shall find out!
+ */
+ b |= 0x60;
+
break;
default: