From 6ddbba6fc0185f6aaf64c661c303549eb088010f Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Thu, 2 May 2019 03:57:51 +0300 Subject: [PATCH] fixed bug in boot2.s: when booting from floppy, the motor would keep going for ever. --- src/boot/boot2.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/boot2.s b/src/boot/boot2.s index f782d7e..5aeebaa 100644 --- a/src/boot/boot2.s +++ b/src/boot/boot2.s @@ -230,7 +230,7 @@ ldloop: # just in case we were loaded from floppy, turn all floppy motors off mov $0x3f2, %dx in %dx, %al - and $0xf0, %al + and $0xf, %al out %al, %dx mov $10, %ax -- 1.7.10.4