From 30736877bd1a5e277b54d2e37395fe8800dbba40 Mon Sep 17 00:00:00 2001 From: Nicolas Baumgardt Date: Wed, 31 Aug 2022 20:15:07 +0200 Subject: [PATCH] Update spi_low.asm There were read/write issues on A3000(D) and A4000(D) machines before this change. --- spi-lib/spi_low.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spi-lib/spi_low.asm b/spi-lib/spi_low.asm index 97b9994..8d11925 100644 --- a/spi-lib/spi_low.asm +++ b/spi-lib/spi_low.asm @@ -92,7 +92,8 @@ _spi_write_fast: move.b d2,(a5) dbra d0,.loop -.done: bset #REQ_BIT,d2 +.done: move.b d2,(a5) ; Delay to allow write to complete + bset #REQ_BIT,d2 move.b d2,(a5) movem.l (a7)+,d2/a5