Changeset 568 in xtideuniversalbios for trunk/Tools
- Timestamp:
- Dec 21, 2014, 5:37:53 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/StringsCompress.pl
r526 r568 217 217 for( $g = 0; $translate_index[$g]; $g++ ) 218 218 { 219 print " db ".$translate_index[$g]."; ".$g."\n";219 print "\t\tdb ".$translate_index[$g]."\t; ".$g."\n"; 220 220 } 221 221 … … 231 231 for( $t = $format_begin; $format_index[$t]; $t++ ) 232 232 { 233 print " db (DisplayFormatCompressed_BaseFormatOffset - ".$format_index[$t]."); ".$t."\n";233 print "\t\tdb (DisplayFormatCompressed_BaseFormatOffset - ".$format_index[$t].")\t; ".$t."\n"; 234 234 } 235 235 -
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.