summaryrefslogtreecommitdiff
path: root/ddt180.z80
diff options
context:
space:
mode:
Diffstat (limited to 'ddt180.z80')
-rw-r--r--ddt180.z8023
1 files changed, 14 insertions, 9 deletions
diff --git a/ddt180.z80 b/ddt180.z80
index 3184500..c1a394b 100644
--- a/ddt180.z80
+++ b/ddt180.z80
@@ -1901,18 +1901,18 @@ bp_tst_@pc:
call bpl_init
ld a,(ix+000h)
- and 003h
- jr z,bp_tst_e
+ and 003h ;User bp (temporary or permanent)?
+ jr z,bp_tst_e ;No, check next
ld e,(ix+002h)
ld d,(ix+003h)
ld hl,(reg.pc)
- call cp_hl_de
- ret z
+ call cp_hl_de ;Current PC is on a User bp
+ ret z ;Return zero
bp_tst_e:
call bpl_next
sub a
- inc a
- ret
+ inc a ;Not on a user bp
+ ret ;Return not zero
bp_trace_enter:
call bp_get_freeslot
@@ -1954,7 +1954,6 @@ bp_set_to_mem:
inc hl
ld (hl),d
l0a1dh:
-
call bpl_next
ret
@@ -1998,12 +1997,12 @@ l0a41h:
bp_clr_condition:
ld a,(ix+000h)
and 003h
- ret nz
+ ret nz ; No (user) bp set
ld e,(ix+006h)
ld d,(ix+007h)
ld a,d
or e
- ret z
+ ret z ; No conditional expression
push bc
ld h,d
ld l,e
@@ -5772,6 +5771,7 @@ l208bh:
scf
ret
+;jr, djnz
l2093h:
ld c,(iy+001h)
ld a,c
@@ -5815,6 +5815,8 @@ l20b8h:
jr z,l20dch
and a
ret
+
+;ret cc
l20c5h:
ld a,(iy+000h)
ld (l20d7h),a
@@ -5832,6 +5834,7 @@ l20d7h:
inc hl
jp (hl)
+;ret
l20dch:
ld a,(b_21e2_start)
and a
@@ -5849,10 +5852,12 @@ l20edh:
ld d,(hl)
ex de,hl
call bp_trace_enter
+;rst 8
l2115h:
and a
ret
+;rst n
l20f9h:
ld a,(l0003h)
cp (iy+000h)