From: Alan Cox Date: Fri, 30 Nov 2018 22:38:59 +0000 (+0000) Subject: plus3,fdc765: don't do a motor wait if the motor is running X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a4c2c14675784f6d75f02118c2a131ac1f3a9b6b;p=FUZIX.git plus3,fdc765: don't do a motor wait if the motor is running --- diff --git a/Kernel/platform-zx+3/fdc765.s b/Kernel/platform-zx+3/fdc765.s index 866ab036..e6e46fc1 100644 --- a/Kernel/platform-zx+3/fdc765.s +++ b/Kernel/platform-zx+3/fdc765.s @@ -187,6 +187,9 @@ _fd765_motor_off: jp map_kernel _fd765_motor_on: + ld a,(diskmotor) + or a + ret nz ld a,#0x08 ld (diskmotor),a ; Take effect