summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/snap.c6
-rw-r--r--source/spec.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/source/snap.c b/source/snap.c
index 789d7d5..6c9e502 100644
--- a/source/snap.c
+++ b/source/snap.c
@@ -121,7 +121,7 @@ int TAPLoad(Z80Byte id, Z80Word *addr, Z80Word *len, SNAP_Poke poke)
*/
if (id == type)
{
- /* Knock of block type
+ /* Knock off block type
*/
blen--;
@@ -140,8 +140,8 @@ int TAPLoad(Z80Byte id, Z80Word *addr, Z80Word *len, SNAP_Poke poke)
blen--;
}
- SPEC_DEBUG("Finished block. Remaining blen=%u len=%u\n",
- (unsigned)blen, (unsigned)*len);
+ SPEC_DEBUG("Finished block. Remaining blen=%u len=%u addr=%u\n",
+ (unsigned)blen, (unsigned)*len, (unsigned)*addr);
/* Get the checksum. If the length was correct there should be just
byte left in blen, but decrement it in a loop to skip to the end.
diff --git a/source/spec.c b/source/spec.c
index 596acd7..c2b4a87 100644
--- a/source/spec.c
+++ b/source/spec.c
@@ -359,12 +359,10 @@ static int EDCallback(Z80 *z80, Z80Val data)
SPECWriteMemSNAP))
{
z80->AF.b.lo |= eZ80_Carry;
- z80->BC.w=0xb001;
}
else
{
z80->AF.b.lo &= ~eZ80_Carry;
- z80->BC.w = 0xff01;
}
break;