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
This commit is contained in:
Axel Dörfler 2004-08-25 15:40:51 +00:00
parent d3a947b004
commit 7fdfbc9850

View File

@ -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