From: Leo C Date: Sun, 16 Feb 2020 22:38:43 +0000 (+0100) Subject: Some comments (from master) X-Git-Url: http://cloudbase.mooo.com/gitweb/ddt180.git/commitdiff_plain/e800d6bed1ffbe37835710a9224d5adb63a0e97a?hp=4b30a8eb66d5fe924e142f2a569e8d47dd45c14f Some comments (from master) --- diff --git a/ddt180.z80 b/ddt180.z80 index 28a2260..937faa6 100644 --- a/ddt180.z80 +++ b/ddt180.z80 @@ -1922,18 +1922,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 @@ -1971,7 +1971,6 @@ bp_set_to_mem: inc hl ld (hl),d l0a1dh: - call bpl_next ret @@ -3869,6 +3868,7 @@ l208bh: scf ret +;jr, djnz l2093h: ld c,(iy+001h) ld a,c @@ -3912,6 +3912,8 @@ l20b8h: jr z,l20dch and a ret + +;ret cc l20c5h: ld a,(iy+000h) ld (l20d7h),a @@ -3929,6 +3931,7 @@ l20d7h: inc hl jp (hl) +;ret l20dch: l20edh: ld hl,(reg_sp) ;break on return address @@ -3937,10 +3940,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)