Changeset 568 in xtideuniversalbios for trunk/Tools


Ignore:
Timestamp:
Dec 21, 2014, 5:37:53 PM (10 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.
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/StringsCompress.pl

    r526 r568  
    217217for( $g = 0; $translate_index[$g]; $g++ )
    218218{
    219     print "        db     ".$translate_index[$g]."  ; ".$g."\n";
     219    print "\t\tdb     ".$translate_index[$g]."\t; ".$g."\n";
    220220}
    221221
     
    231231for( $t = $format_begin; $format_index[$t]; $t++ )
    232232{
    233     print "        db     (DisplayFormatCompressed_BaseFormatOffset - ".$format_index[$t].")    ; ".$t."\n";
     233    print "\t\tdb     (DisplayFormatCompressed_BaseFormatOffset - ".$format_index[$t].")\t; ".$t."\n";
    234234}
    235235
  • 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.