Changeset 568 in xtideuniversalbios for trunk/Tools/checksum.pl


Ignore:
Timestamp:
Dec 21, 2014, 5:37:53 PM (9 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • SerDrive: Using named pipe mode (serdrive -p) now works under Windows XP/2000/Server 2003.
  • checksum.pl: Added a compatibility fix for 3Com 3C503 cards.
  • XTIDECFG will now scan every possible segment address to find and load the BIOS and/or its settings from EEPROM. This should simplify things for people using combined option ROMs.
  • Fixed a bug from r521 in BootSector.asm where the BIOS would not display a timeout error if it failed to load the boot sector from harddrive.
  • Fixed a bug from r541 in CompatibleDPT.asm where CompatibleDPT_CreateDeviceParameterTableExtensionToESBXfromDPTinDSSI would generate an invalid checksum in the DPTE.
  • Optimizations and other fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/checksum.pl

    r526 r568  
    5757
    5858$fixzero = chr(0);
     59
     60#
     61# Compatibility fix for 3Com 3C503 cards. They use 8 KB ROMs and return 8080h as the last word of the ROM.
     62#
     63if( $desiredSize == 8192 ) {
     64    if( $bytes < $desiredSize - 3 ) {
     65        while( $bytes < $desiredSize - 3 ) {
     66            print FILE $fixzero;
     67            $bytes++;
     68        }
     69        $fixl = ($cs == 0 ? 0 : 256 - $cs);
     70        $fix = chr($fixl).chr($cs);
     71        print FILE $fix;
     72        $bytes += 2;
     73    } else {
     74        print "Warning! ".$ARGV[0]." cannot be used on a 3Com 3C503 card!\n";
     75    }
     76}
     77
    5978while( $bytes < $desiredSize - 1 )
    6079{
Note: See TracChangeset for help on using the changeset viewer.