From c7e7cb987b7346276bd85c4872661556e931e893 Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Thu, 18 Feb 2021 08:44:11 +0800 Subject: [PATCH] Fix multi-block write bug --- ChainLoader.a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChainLoader.a b/ChainLoader.a index 058ede2..30b0f20 100644 --- a/ChainLoader.a +++ b/ChainLoader.a @@ -478,7 +478,7 @@ DrvrDidSendWrite ; completion routine for the above control call.. cmp.l D0,D1 beq.s .sentAllOfChunk - and.l #32-1,D0 + and.l #(32-1)*512,D0 beq.s .sentAllOfChunk bra DrvrSendWrite