Be paranoid about setting of %dl register for braindead BIOS's,
initializing it to 0 in the floppy boot case. This allows my Toshiba 1910 laptop to finally boot, and may help out other machines cursed with early Phoenix BIOS's as well.
This commit is contained in:
parent
b770b42d1c
commit
b187ce4853
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, Revision 2.2 92/04/04 11:36:29 rpd
|
||||
* $Id$
|
||||
* $Id: start.S,v 1.2 1993/10/16 19:11:38 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -99,6 +99,7 @@ start:
|
||||
jae hd
|
||||
|
||||
fd:
|
||||
mov $0x0, %dl
|
||||
# reset the disk system
|
||||
#ifdef DEBUG
|
||||
data32
|
||||
|
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, Revision 2.2 92/04/04 11:36:29 rpd
|
||||
* $Id$
|
||||
* $Id: start.S,v 1.2 1993/10/16 19:11:38 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -99,6 +99,7 @@ start:
|
||||
jae hd
|
||||
|
||||
fd:
|
||||
mov $0x0, %dl
|
||||
# reset the disk system
|
||||
#ifdef DEBUG
|
||||
data32
|
||||
|
Loading…
Reference in New Issue
Block a user