Changeset 568 in xtideuniversalbios for trunk/Tools/checksum.pl
- Timestamp:
- Dec 21, 2014, 5:37:53 PM (9 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/checksum.pl
r526 r568 57 57 58 58 $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 # 63 if( $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 59 78 while( $bytes < $desiredSize - 1 ) 60 79 {
Note: See TracChangeset
for help on using the changeset viewer.