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:
@@ -61,9 +61,12 @@ floppy_start:
|
|||||||
mov $0x200, %bx // to 0x1000:0x0200
|
mov $0x200, %bx // to 0x1000:0x0200
|
||||||
call load_sectors
|
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
|
or %dl, %dl // if it's a floppy, turn off its motor
|
||||||
jnz start_loader
|
jnz start_loader
|
||||||
call disable_floppy_motor
|
call disable_floppy_motor
|
||||||
|
#endif
|
||||||
|
|
||||||
start_loader:
|
start_loader:
|
||||||
// set our environment and jump to the standard BFS boot block entry point
|
// set our environment and jump to the standard BFS boot block entry point
|
||||||
|
|||||||
Reference in New Issue
Block a user