- apply patch #874517 Bugfix in int15h function 0xe820 by flashburn

This commit is contained in:
Christophe Bothamy 2004-01-14 23:09:31 +00:00
parent 299947f64f
commit 1c9de422d2

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: rombios.c,v 1.103 2003-12-18 16:48:19 vruppert Exp $
// $Id: rombios.c,v 1.104 2004-01-14 23:09:31 cbothamy Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -928,10 +928,10 @@ Bit16u cdrom_boot();
#endif // BX_ELTORITO_BOOT
static char bios_cvs_version_string[] = "$Revision: 1.103 $";
static char bios_date_string[] = "$Date: 2003-12-18 16:48:19 $";
static char bios_cvs_version_string[] = "$Revision: 1.104 $";
static char bios_date_string[] = "$Date: 2004-01-14 23:09:31 $";
static char CVSID[] = "$Id: rombios.c,v 1.103 2003-12-18 16:48:19 vruppert Exp $";
static char CVSID[] = "$Id: rombios.c,v 1.104 2004-01-14 23:09:31 cbothamy Exp $";
/* Offset to skip the CVS $Id: prefix */
#define bios_version_string (CVSID + 4)
@ -3860,7 +3860,7 @@ BX_DEBUG_INT15("case default:\n");
extended_memory_size >>= 16;
write_word(ES, regs.u.r16.di+14, extended_memory_size);
write_dword(ES, regs.u.r16.di+16, 0x1);
write_word(ES, regs.u.r16.di+16, 0x1);
write_word(ES, regs.u.r16.di+18, 0x0);
regs.u.r32.ebx = 0;