diff --git a/SD/BIN/BPLUGINS/ZX3 b/SD/BIN/BPLUGINS/ZX3 index 4168b28..7a5cf55 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 8cd01b3..3b84779 100644 --- a/utils/zx3.asm +++ b/utils/zx3.asm @@ -108,6 +108,8 @@ PenUlt cp $5c jr c, UltSlot ld (hl), $d7 UltSlot ld ixl, a + ld a, (hl) + ld ixh, a call Print db 13, 'Writing SPI flash', 13 dz '[' @@ -162,7 +164,11 @@ Listo inc l ld a, (hl) cp d jr nz, Strcmp -Comprob ld a, $40 +Comprob ld b, ixl + djnz Lastbyte + ld a, ixh + ld ($ffff), a +Lastbyte ld a, $40 ld hl, $c000 exx call wrflsh