From 7fdfbc9850c44f26f17b85866259551555c759f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 25 Aug 2004 15:40:51 +0000 Subject: [PATCH] No longer disables the floppy motor if it was booted from a floppy - that somehow doesn't seem to work right with Bochs; after a reboot, the floppy is not accessible (we might just need to turn the motor on again). Not checked if this also happens on a real machine. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8655 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/platform/bios_ia32/shell.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kernel/boot/platform/bios_ia32/shell.S b/src/kernel/boot/platform/bios_ia32/shell.S index 7abb3ebf53..705971f235 100644 --- a/src/kernel/boot/platform/bios_ia32/shell.S +++ b/src/kernel/boot/platform/bios_ia32/shell.S @@ -61,9 +61,12 @@ floppy_start: mov $0x200, %bx // to 0x1000:0x0200 call load_sectors + // ToDo: this seems to be problematic, at least under Bochs (reboot will fail) +#if 0 or %dl, %dl // if it's a floppy, turn off its motor jnz start_loader call disable_floppy_motor +#endif start_loader: // set our environment and jump to the standard BFS boot block entry point