summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian A. Weber <chris@gna.ch>2020-06-27 02:28:21 +0200
committerChristian A. Weber <chris@gna.ch>2020-06-27 02:28:21 +0200
commit1555ff47d37cef20fbff57284f0670c41f02bbe5 (patch)
tree3697937c0110f0c5ccadf4e81ed97dcbbb9a324d
parenta087024c7b97cb0e4596b3c2c26a90df29539a16 (diff)
downloadgameexec-1555ff47d37cef20fbff57284f0670c41f02bbe5.tar.gz
gameexec-1555ff47d37cef20fbff57284f0670c41f02bbe5.tar.bz2
gameexec-1555ff47d37cef20fbff57284f0670c41f02bbe5.zip
Debug-Output verbessert
-rw-r--r--FFS.S4
-rw-r--r--drawbob.s2
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;