summaryrefslogtreecommitdiff
path: root/source/snap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/snap.c')
-rw-r--r--source/snap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/snap.c b/source/snap.c
index e998ba2..db8c785 100644
--- a/source/snap.c
+++ b/source/snap.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include "snap.h"
+#include "debug.h"
/* ---------------------------------------- MACROS
*/
@@ -111,6 +112,10 @@ int TAPLoad(Z80Byte id, Z80Word *addr, Z80Word *len, SNAP_Poke poke)
type=GetTAPByte();
csum=id;
+ SPEC_DEBUG("Read block. len=%u type=%u\n", (unsigned)blen, (unsigned)type);
+ SPEC_DEBUG("Requested block len=%u type=%u addr=%u\n",
+ (unsigned)*len, (unsigned)id, (unsigned)*addr);
+
/* Have we found the requested block?
*/
if (id==type)