Fix rom checksum for rom size of 65536 bytes.

- Sebastian
This commit is contained in:
Stanislav Shwartsman 2009-06-07 21:34:59 +00:00
parent 46802fd1ae
commit bd15c11ee1

View File

@ -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.
@ -937,7 +937,7 @@ Bit16u cdrom_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."
@ -10259,6 +10259,7 @@ rom_checksum:
shl cx, #1
jnc checksum_loop
jz checksum_loop
xchg dx, cx
dec cx