E:\BIOS\GigaByte>CBROM BIOS.BIN /D
CBROM V2.01A (C)Award Software 1999 All Rights Reserved.
******** BIOS.BIN BIOS component ********
No. Item-Name Original-Size Compressed-Size Original-File-Name
================================================================================
0. System BIOS 20000h(128.00K) 13C67h(79.10K) F13.BIN
1. XGROUP CODE 0AEE0h(43.72K) 07B7Ch(30.87K) awardext.rom
2. ACPI table 042CFh(16.70K) 0170Eh(5.76K) ACPITBL.BIN
3. EPA pattern 0168Ch(5.64K) 0030Dh(0.76K) AwardBmp.bmp
4. YGROUP ROM 05EA0h(23.66K) 03F04h(15.75K) awardeyt.rom
5. Other(4029:0000) 05AE0h(22.72K) 02504h(9.25K) _EN_CODE.BIN
6. PCI driver[A] 10000h(64.00K) 09DEDh(39.48K) RAID133.ROM
7. PCI driver[B] 04000h(16.00K) 02524h(9.29K) ATA133.ROM
8. LOGO1 ROM 00B64h(2.85K) 0057Ch(1.37K) dbios.bmp
9. OEM0 CODE 02449h(9.07K) 01A70h(6.61K) dbf.bin
Total compress code space = 36000h(216.00K)
Total compressed code size = 31903h(198.25K)
Remain compress code space = 046FDh(17.75K)
** Micro Code Information **
Update ID CPUID | Update ID CPUID | Update ID CPUID | Update ID CPUID
------------------+--------------------+--------------------+-------------------
E:\BIOS\GigaByte>
CBROM lists the files in your BIOS and gives some other information. Most important line is
Remain compress code space = 046FDh(17.75K), which tells you that there's
about 17 kB free space in your BIOS, space that can be used by the logo.
9. LOGO BitMap 4B30Ch(300.76K) 02ECBh(11.70K) VPSD.BMPNote the uncompressed size, 300.76kB, this tells you that it's a full-screen logo. You will want to remove this.
E:\BIOS\GigaByte>CBROM.EXE BIOS.BIN /D
CBROM V1.30 (C)Award Software 1999 All Rights Reserved.
******** BIOS.BIN BIOS component ********
No. Item-Name Original-Size Compressed-Size Original-File-Name
================================================================================
0. System BIOS 937DC88h(151031.10000h(64.00K) ô6} =»o2»X¼ÔßRó27-|Le_?
1. Other(5000:0000) 20000h(128.00K) 13C66h(79.10K) F13.BIN
2. Other(7F00:0000) AEE000h(11192.007B5493h(7893.14Kô
Total compress code space = 30000h(192.00K)
Total compressed code size = 7D90F9h(8036.24K)
Remain compress code space = FF866F07h(-7780.24K)
E:\BIOS\GigaByte>
E:\BIOS\GigaByte>CBROM.EXE BIOS.BIN /logo new.bmp CBROM V2.01A (C)Award Software 1999 All Rights Reserved. Adding new.bmp ..................................... 19.4% E:\BIOS\GigaByte>In this case, you can flash your BIOS with the newly prepared file. Remember that you do it at your own risk, so don't blame me if the system doesn't boot after flashing.
E:\BIOS\GigaByte>CBROM.EXE BIOS.BIN /logo new.bmp
CBROM V2.01A (C)Award Software 1999 All Rights Reserved.
Adding new.bmp ..................................... 19.6%
BIOS.BIN have not enough space for adding ROM. (Over A545h bytes)
E:\BIOS\GigaByte>The message also tells you how much more space is needed to store the image,
however it's in hex. Use your fauvorite calculator to convert it to decimal (in the
example, the compressed image is 42309 bytes too large).