Fix rom checksum for rom size of 65536 bytes.
- Sebastian
This commit is contained in:
parent
46802fd1ae
commit
bd15c11ee1
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: rombios.c,v 1.232 2009-05-10 08:25:58 vruppert Exp $
|
// $Id: rombios.c,v 1.233 2009-06-07 21:34:59 sshwarts Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||||
@ -937,7 +937,7 @@ Bit16u cdrom_boot();
|
|||||||
|
|
||||||
#endif // BX_ELTORITO_BOOT
|
#endif // BX_ELTORITO_BOOT
|
||||||
|
|
||||||
static char bios_cvs_version_string[] = "$Revision: 1.232 $ $Date: 2009-05-10 08:25:58 $";
|
static char bios_cvs_version_string[] = "$Revision: 1.233 $ $Date: 2009-06-07 21:34:59 $";
|
||||||
|
|
||||||
#define BIOS_COPYRIGHT_STRING "(c) 2002 MandrakeSoft S.A. Written by Kevin Lawton & the Bochs team."
|
#define BIOS_COPYRIGHT_STRING "(c) 2002 MandrakeSoft S.A. Written by Kevin Lawton & the Bochs team."
|
||||||
|
|
||||||
@ -10259,6 +10259,7 @@ rom_checksum:
|
|||||||
shl cx, #1
|
shl cx, #1
|
||||||
|
|
||||||
jnc checksum_loop
|
jnc checksum_loop
|
||||||
|
jz checksum_loop
|
||||||
xchg dx, cx
|
xchg dx, cx
|
||||||
dec cx
|
dec cx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user