summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo C2018-11-27 20:49:09 +0100
committerLeo C2018-11-27 20:49:09 +0100
commit81c1eadbced80bf070a9828ae70e818a8de7cd22 (patch)
treec4202566b7f5024a57fa3aa14dd778e9c2b542ec
parente128c8d94b2dcd029077ecaa2854ce7864f62a3c (diff)
downloadddt180-81c1eadbced80bf070a9828ae70e818a8de7cd22.zip
Bugfix PB loop controll (bpl_next)
-rw-r--r--ddt180.z803
1 files changed, 3 insertions, 0 deletions
diff --git a/ddt180.z80 b/ddt180.z80
index d042c76..246ff90 100644
--- a/ddt180.z80
+++ b/ddt180.z80
@@ -1589,7 +1589,9 @@ bpl_init:
bpl_next:
ld de,BP_SIZE
+ push af
add ix,de
+ pop af
dec b
ret z
@@ -1631,6 +1633,7 @@ cmd_B:
dec de
ld a,001h
jp bp_enter
+
bp_clr0:
call skipbl
jr z,bp_clr_all