From: Alan Cox Date: Fri, 9 Feb 2018 23:41:22 +0000 (+0000) Subject: ubee: floppy driver write fix X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f6488daf7ad7864ca42cda3255f5fba0b8a69ea9;p=FUZIX.git ubee: floppy driver write fix --- diff --git a/Kernel/platform-ubee/floppy.s b/Kernel/platform-ubee/floppy.s index 3252a370..26f3bc4c 100644 --- a/Kernel/platform-ubee/floppy.s +++ b/Kernel/platform-ubee/floppy.s @@ -238,6 +238,12 @@ fdio_out1: jr z, fdio_out1 outi ; Stuff byte into FDC while we think jr nz,fdio_out1 +fdio_out2: + in a, (FDCREG) ; Wait for DRQ (or error) + and e + jr z, fdio_out2 + outi ; Stuff byte into FDC while we think + jr nz,fdio_out2 fdio_nmiout: ; ; Now tidy up