diff --git a/SD/BIN/BPLUGINS/ZX3 b/SD/BIN/BPLUGINS/ZX3 index ebe6d55..4168b28 100644 Binary files a/SD/BIN/BPLUGINS/ZX3 and b/SD/BIN/BPLUGINS/ZX3 differ diff --git a/utils/zx3.asm b/utils/zx3.asm index 690e2da..8cd01b3 100644 --- a/utils/zx3.asm +++ b/utils/zx3.asm @@ -85,17 +85,22 @@ FileFound ld hl, Stat ld a, (Stat+9) add hl, hl rla - adc hl, hl - rla - jr z, Inc1 - inc a -Inc1 cp $ec - jr c, LengthOk + cp $9a + ccf + jr nc, LengthOk call Print dz 'File too long' ret -LengthOk ld hl, Slot+2 - cp $a4 +LengthOk adc hl, hl + rla + jr z, Inc1 + inc a +Inc1 ld hl, Slot+2 + cp $ec + jr c, AntPen + ld (hl), $b3 + jr UltSlot +AntPen cp $a4 jr c, PenUlt ld (hl), $c5 jr UltSlot