summaryrefslogtreecommitdiff
path: root/zruntime.S
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-05-03 20:18:28 -0700
committerMike Pavone <pavone@retrodev.com>2013-05-03 20:18:28 -0700
commit1c9074ad5bbade02fa7b31056d97c39b32478f6a (patch)
tree14620a1bf2b05761030386ee0ad2bee3c940cc77 /zruntime.S
parent20fa900f979ba887d49cd42a59495ca337964f96 (diff)
Fix native address lookup in bannked memory area
Diffstat (limited to 'zruntime.S')
-rw-r--r--zruntime.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/zruntime.S b/zruntime.S
index 02f817b..07953d8 100644
--- a/zruntime.S
+++ b/zruntime.S
@@ -68,6 +68,7 @@ z80_read_byte_noinc:
cmp $0x8000, %r13w
jae z80_read_bank
/* TODO: Bank reg, YM-2612, PSG/VDP */
+ mov $FF, $r13b
ret
z80_read_ram:
and $0x1FFF, %r13