From 1555ff47d37cef20fbff57284f0670c41f02bbe5 Mon Sep 17 00:00:00 2001 From: "Christian A. Weber" Date: Sat, 27 Jun 2020 02:28:21 +0200 Subject: Debug-Output verbessert --- FFS.S | 4 ++-- drawbob.s | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FFS.S b/FFS.S index 8e00927..229f16f 100644 --- a/FFS.S +++ b/FFS.S @@ -80,14 +80,14 @@ ProcessFFSPacket: movea.l dp_FileName(a2),a0 bsr FindFile ; Fileheader suchen bne.s 1$ ; OK ---> - MSG <"FFS: File not found, A0=name A2=packet"> + SMSG <"FFS: File '%s' not found, packet=$%08lx">,a0,a2 jmp meb_ColdReboot(a6) 1$: bsr GetBlock ; Fileheader laden moveq.l #ST.FILE,d0 cmp.l fh_SecondaryType(a5),d0 ; Ist's ein File ? beq.s 2$ ; ja ---> - MSG <"FFS: Not a file, A0=name A2=packet"> + SMSG <"FFS: '%'s is not a file, packet=$%08lx">,a0,a2 jmp meb_ColdReboot(a6) 2$: move.l fh_FileSize(a5),d2 ; D2 : Datei-Größe in Bytes diff --git a/drawbob.s b/drawbob.s index 1631f4f..59e7b74 100644 --- a/drawbob.s +++ b/drawbob.s @@ -260,9 +260,9 @@ AddBob: movem.l d1-d7/a0-a6,-(SP) cmp.w #BOBSETRELDATA,(a1) ; SetRelocData beq.s 1$ ; ja ---> + SMSG <"AddBob: bad bob $%08lx, no BOBSETDATA">,a1 .Endlos: move.w #$f00,$dff180 ; ROT move.w #$ff0,$dff180 ; GELB - MSG <"BadBob (A1)"> bra.s .Endlos ; Flacker 1$: suba.l a0,a0 ; Reloc = 0; -- cgit v1.2.3