- fixed int13_harddisk function 10h
This commit is contained in:
parent
b2b9d5bd53
commit
795cb05b42
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: rombios.c,v 1.105 2004-01-15 02:08:34 danielg4 Exp $
|
// $Id: rombios.c,v 1.106 2004-01-25 22:10:12 vruppert Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||||
@ -928,10 +928,10 @@ Bit16u cdrom_boot();
|
|||||||
|
|
||||||
#endif // BX_ELTORITO_BOOT
|
#endif // BX_ELTORITO_BOOT
|
||||||
|
|
||||||
static char bios_cvs_version_string[] = "$Revision: 1.105 $";
|
static char bios_cvs_version_string[] = "$Revision: 1.106 $";
|
||||||
static char bios_date_string[] = "$Date: 2004-01-15 02:08:34 $";
|
static char bios_date_string[] = "$Date: 2004-01-25 22:10:12 $";
|
||||||
|
|
||||||
static char CVSID[] = "$Id: rombios.c,v 1.105 2004-01-15 02:08:34 danielg4 Exp $";
|
static char CVSID[] = "$Id: rombios.c,v 1.106 2004-01-25 22:10:12 vruppert Exp $";
|
||||||
|
|
||||||
/* Offset to skip the CVS $Id: prefix */
|
/* Offset to skip the CVS $Id: prefix */
|
||||||
#define bios_version_string (CVSID + 4)
|
#define bios_version_string (CVSID + 4)
|
||||||
@ -4575,7 +4575,7 @@ int13_harddisk(DI, SI, BP, SP, BX, DX, CX, AX, DS, ES, FLAGS)
|
|||||||
// should look at 40:8E also???
|
// should look at 40:8E also???
|
||||||
|
|
||||||
// Read the status from controller
|
// Read the status from controller
|
||||||
status = inb(read_word(ebda_seg, &EbdaData->ata.channels[device/2].iobase1 + ATA_CB_STAT));
|
status = inb(read_word(ebda_seg, &EbdaData->ata.channels[device/2].iobase1) + ATA_CB_STAT);
|
||||||
if ( (status & ( ATA_CB_STAT_BSY | ATA_CB_STAT_RDY )) == ATA_CB_STAT_RDY ) {
|
if ( (status & ( ATA_CB_STAT_BSY | ATA_CB_STAT_RDY )) == ATA_CB_STAT_RDY ) {
|
||||||
goto int13_success;
|
goto int13_success;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user