VOGONS


DIY Bios Modding guide Jan Steunebrink k6-2+/3+ 128gb

Topic actions

Reply 480 of 493, by Chkcpu

User metadata
Rank Oldbie
Rank
Oldbie
Chkcpu wrote on 2025-05-23, 10:28:
Hi 0xDEADBEEF, […]
Show full quote
0xDEADBEEF wrote on 2025-04-12, 22:06:
Sweet! I have seen “CPU is unworkable or has been changed.” message too, happens when I switch to different CPU. I think there […]
Show full quote

Sweet!
I have seen “CPU is unworkable or has been changed.” message too, happens when I switch to different CPU. I think there is some "check if user is doing something too stupid" logic in BIOS that prints it 😉
I am excited to hear you are working on it.
This board is pretty cool, 4 pci + 4 isa, built in usb and ATX form factor that makes it compatible with modern ATX cases.

Hi 0xDEADBEEF,

I made some progress with the patched Abit AX5/PX5 BIOS.
I’ve send you a PM with details about the changes I’ve made sofar, and a copy of a patched AB-AX5/PX5 interim BIOS for you to test.

When you are able to test this BIOS, please send a reply about your findings via PM or here in the thread.

Happy testing,
Jan

Hi 0xDEADBEEF,

I’m happy to report that the final patch J.3 BIOS for the jumperless Abit AX5/PX5 twin ATX/Baby AT boards is ready.
Thanks for testing the patch J2.4 BIOS on your AX5. After I sent you this interim BIOS, I performed a lot of additional tests on the stability of the new Low 2.4V/2.2V/2.1V Vcore voltage selections in the patched BIOS.
The outcome of this testing resulted in the below guidelines on how to safely install a K6-2(+)/III(+) CPU on the AX5/PX5. But first I will provide some background information.

The design
The jumperless Abit AX5/PX5 motherboard was not designed to support Low Vcore CPUs.
Even when using the latest Ver 'GP' 11/13/1998 BIOS, a default 2.9V Vcore would be set for any AMD K6 CPU, which could destroy 2.0V to 2.4V Vcore CPU models.
This limited the CPU support on the AX5/PX5 to:
- Single-Voltage: Intel Pentium, AMD K5, Cyrix 6x86, WinChip C6 and WinChip 2
- Dual-Voltage: Intel Pentium MMX, AMD K6 model 6, Cyrix 6x86L and 6x86MX.

Another limitation is that the BIOS only switches the CPU voltage automatically when changing from a Single to a Dual voltage CPU, and vice versa.
This switching supplies an initial voltage of 3.4V to a Single-voltage CPU and 3.1V to a Dual-voltage part.
In all other cases, like replacing a Dual-voltage CPU by another Dual-voltage model, the BIOS keeps the Vcore setting from the previous CPU, until you exit the BIOS via SAVE & EXIT SETUP. The Core Plane Volt setting as selected in the CPU SOFT MENU, will then become active.
To make the user aware of the need to check the BIOS settings after a CPU change, the BIOS will display a message to tell you to enter the CMOS Setup and check if the CPU SOFT MENU settings are correct.

Obviously this design worked fine when only 2.8V to 3.2V Dual-voltage CPUs were used, but it does create a problem now that I changed the BIOS to support 2.0V-2.4V K6-2(+)/III(+) CPUs.

The issue
In the AX5/PX5 patch J.3 BIOS, I kept the 2.8V and 2.9V settings but changed the 2.7V, 2.5V, and 3.2V settings to 2.4V, 2.2V, and 2.1V respectively.
These were the only CPU SOFT MENU Vcore changes I could make in the BIOS, given the boards hardware design.
In addition, I changed the CPU SOFT MENU default to set the correct 2.4V/2.2V/2.1V Vcore voltage for each AMD K6 model 7, K6-2, K6-III, and K6-2+/III+ CPU model.

But as described above, the BIOS keeps the Vcore setting from the previous CPU, until you select the CPU SOFT MENU, check or change the Core Plane Volt setting and exit the BIOS via SAVE & EXIT SETUP.
This last action will send the Vcore setting to the motherboard logic and applies the Vcore you set in the CPU SOFT MENU.

So when you replace a Pentium MMX (2.8V) by a K6-2+ (2.0V), the K6-2+ will receive a 2.8V Vcore untill the BIOS SETUP is entered, the CPU SOFT MENU options are set, and the BIOS is exited via SAVE & EXIT SETUP. This large over-voltage may already damage the CPU, even during this brief period.

The solution
When installing a Low Vcore CPU on the AX5/PX5, please follow these steps:
• With the old CPU still installed, flash the BIOS with the patch J.3 version (PX5_J3.BIN) and confirm the system still runs fine.
• If the old CPU was a Single-voltage model, replace it with a 2.8V/2.9V Dual-voltage CPU like a Pentium MMX, K6 model 6, or Cyrix 6x86L/6x86MX.
• Now enter the BIOS's CPU SOFT MENU and set the CPU Operating Speed to User Define, the External Clock to 50MHz, the Multiplication Factor to x2, and the Core Plane Volt. to 2.20v. Then exit the BIOS via SAVE & EXIT SETUP.
• The low 100MHz CPU speed setting will ensure that the 2.8V/2.9V CPU keeps running at the reduced 2.2V Vcore.
• After switching the system off, a Low voltage CPU model can now be installed. At the first power-up after the CPU change, the 2.2V Vcore from the previous step will be supplied to the CPU.
• Now enter the BIOS's CPU SOFT MENU again and check/set the speed and voltage settings as required. After a final SAVE & EXIT SETUP, the system will reboot with the required speed setting and correct voltage supply to the CPU.

At the end of this procedure I like to mention that the AX5/PX5 board uses a non-volatile memory in its Vcore control logic. This nice feature preserves the last CPU SOFT MENU voltage setting, even when the CMOS battery is dead or removed.
So, no worries that you suddenly lose your nice Low Vcore setting due to a CMOS clear or flat battery. 😉

Here is the Abit AX5/PX5 patch J.3 BIOS for the community:

The attachment PX5_J3.zip is no longer available

In the zip I’ve included a CAUTION.TXT file with the above “safe install” procedure, and as usual you can find all changes I’ve made to the BIOS in the PATCH.TXT file.

Jan

CPU Identification utility
The Unofficial K6-2+ / K6-III+ page

Reply 481 of 493, by igna78

User metadata
Rank Member
Rank
Member

Thank you so much for your work.

You, along with many other exceptional people, make it possible for someone like me—a simple enthusiast—to get the most out of these little treasures from the past.

Let’s be honest: while today’s PCs are incredible in terms of what they can do (especially regarding game graphics), back in the day, they were pure magic—with single-core CPUs pushed to the absolute limits of the technology of the time, 3D graphics cards, and sound cards with wavetable synthesis.

The magic—made possible in part by the efforts of special people like you—lies in the ability to push a motherboard, originally designed to support only one or two generations of CPUs, well beyond its intended limits, allowing it to run even the latest generations available for its socket.

Thank you so much!

Reply 482 of 493, by Disruptor

User metadata
Rank l33t
Rank
l33t
Chkcpu wrote on 2026-10-24, 22:04:

At the end of this procedure I like to mention that the AX5/PX5 board uses a non-volatile memory in its Vcore control logic. This nice feature preserves the last CPU SOFT MENU voltage setting, even when the CMOS battery is dead or removed.
So, no worries that you suddenly lose your nice Low Vcore setting due to a CMOS clear or flat battery. 😉

Hi Jan,
thanks for your knowledge and support to the community.

Do you have more informations on how that NV-memory is accessed by that board(s)? Is it limited to a special VRM?
That's a nice feature to have.
I sometimes have worries on my QDI Titanium IB+ running my K6-3 400 (non + @66x6) on board's minimum of 2.0 Volts. That board is jumperless too.
It is because I don't want to fry my only K6-3 on imprinted 2.2 Volts since mobile parts are binned to run from 1.6 Volts and above.

Still looking forward to see you once in Keulen or Utrecht.
- dis

Reply 483 of 493, by Chkcpu

User metadata
Rank Oldbie
Rank
Oldbie
igna78 wrote on 2026-10-24, 22:56:
Thank you so much for your work. […]
Show full quote

Thank you so much for your work.

You, along with many other exceptional people, make it possible for someone like me—a simple enthusiast—to get the most out of these little treasures from the past.

Let’s be honest: while today’s PCs are incredible in terms of what they can do (especially regarding game graphics), back in the day, they were pure magic—with single-core CPUs pushed to the absolute limits of the technology of the time, 3D graphics cards, and sound cards with wavetable synthesis.

The magic—made possible in part by the efforts of special people like you—lies in the ability to push a motherboard, originally designed to support only one or two generations of CPUs, well beyond its intended limits, allowing it to run even the latest generations available for its socket.

Thank you so much!

Hello igna78,

Thanks for your stimulating words.
It is nice to hear that the work I put into this hobby is valuable and appreciated.

Yes, I love to tinker with old tech and to push these motherboards beyond their intended use.

Caio, Jan

CPU Identification utility
The Unofficial K6-2+ / K6-III+ page

Reply 484 of 493, by Chkcpu

User metadata
Rank Oldbie
Rank
Oldbie
Disruptor wrote on 2026-10-25, 00:43:
Hi Jan, thanks for your knowledge and support to the community. […]
Show full quote
Chkcpu wrote on 2026-10-24, 22:04:

At the end of this procedure I like to mention that the AX5/PX5 board uses a non-volatile memory in its Vcore control logic. This nice feature preserves the last CPU SOFT MENU voltage setting, even when the CMOS battery is dead or removed.
So, no worries that you suddenly lose your nice Low Vcore setting due to a CMOS clear or flat battery. 😉

Hi Jan,
thanks for your knowledge and support to the community.

Do you have more informations on how that NV-memory is accessed by that board(s)? Is it limited to a special VRM?
That's a nice feature to have.
I sometimes have worries on my QDI Titanium IB+ running my K6-3 400 (non + @66x6) on board's minimum of 2.0 Volts. That board is jumperless too.
It is because I don't want to fry my only K6-3 on imprinted 2.2 Volts since mobile parts are binned to run from 1.6 Volts and above.

Still looking forward to see you once in Keulen or Utrecht.
- dis

Hi Disruptor,

The way the Vcore is controlled on these jumperless Socket 7 boards, is done quite differently by Abit and QDI, although they both use a switching mode VRM.

Abit
On their AX5/PX5 boards, Abit uses a Raytheon RC5036M DC-DC controller. This IC uses a single analog input to control the Vcore. A network of resistors and transistors on the board is then used to select the required Vcore.
The (6) transistors in this network are driven by an ispGDS14 Programmable switch matrix. This IC has a 7 x 7 matrix of non-volatile I/O cells, effectively replacing the Vcore jumpers. The BIOS programs this matrix via General Purpose lines of the Super I/O chip, and only performs this matrix re-programming when you exit the BIOS via SAVE & EXIT SETUP.
So, no automatic Vcore adjustment after a CPU change. This always demands user action, hence the special “procedure”.

In addition, this VRM design limits you when trying to patch the BIOS for additional Vcore settings. Depending on the resistance values of the resistor network, only a few combinations were possible for getting the required lower Vcore values.

QDI
With their SpeedEasy Technology, QDI used a completely different approach on their jumperless Titanium B boards. Here a Raytheon RC5041M programmable DC-DC converter is used which has 4 digital VID inputs that allows Vcore control from 2.0V to 3.5V in 16 steps of 0.1V. Control of these four VID lines is done directly by General Purpose Output (GPO) lines of the i430TX southbridge. The BIOS programs these GPO lines, and the southbridge latches the last programmed value. However, this programming is lost each time you switch the system off and the correct Vcore programming must be done each time the system is powered-on.

To avoid damage to Low Vcore voltage CPUs, the southbridge’s GPO lines are connected to the RC5041 in such a way that this VRM controller always starts with an initial 2.6V setting. This is low enough to avoid damage for 2.0V-2.2V CPUs, and high enough for 2.8V/2.9V models to start.
A few moments later the CPU starts executing code and the BIOS Bootblock gets control. Here the BIOS immediately checks the CPUID of the installed CPU and adjusts the southbridge GPO lines programming to limit the Vcore to 2.2V when it detects a Low Vcore model. This Vcore protection logic is executed very early during the first POST step, and runs directly from the Bootblock ROM code.
This is even before the RAM is checked and before the main BIOS module is decompressed into Shadow RAM. This Vcore protection therefore works also in case of BIOS corruption in the decompression engine or in one of the compressed modules, or when the BIOS hangs due to bad or missing RAM.
Later on during POST, the SpeedEasy logic fine tunes the Vcore further to the default BIOS value for the installed CPU or the stored CMOS value, as set during a previous saved SpeedEasy Setup.

The above does mean that the BIOS has to recognize the installed CPU and knows its Vcore requirement. In case of your Titanium IB+ the latest BIOS supports 2.2V K6-2, but not the K6-III and K6-2+/III+. So in the patch J.3 BIOS I added support for these CPUs to the SpeedEasy logic, and this had to be done in two places. One patch in the Bootblock code for the Vcore protection, and the other in the main BIOS SpeedEasy code to add detection and new default Vcore values for the K6-III/K6-2+/III+.

QDI’s SpeedEasy logic is quite elaborate and protects your CPU well.
I consider SpeedEasy Technology the best jumperless control on socket 7 boards. It allows us to swap CPUs without any special considerations and seamlessly adjusts itself to the installed CPU, even when replacing Single-voltage with Dual-voltage CPUs or vice versa.
The only thing SpeedEasy can’t detect is the CPU speed rating. So after a CPU change, SpeedEasy sets the FSB and multiplier for the lowest known speed rating of the detected CPU and prompts the user to enter SpeedEasy Setup to select the actual speed rating of the CPU.

Cheers, Jan

CPU Identification utility
The Unofficial K6-2+ / K6-III+ page

Reply 485 of 493, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

Did someone tried to modify one of the latest pre-UEFI legacy Award BIOS customized by Gigabyte? I mean Fx version from cca 2012.
I did only PCI ROM, microcode and ME mods but I didn't touch the main BIOS module (formerly original.tmp) yet. Problem is that Modbin is no longer usable/crashes/corrupt with this version and seems there are no newer suitable Modbin known to wotk with this BIOSes...

I found and tracked down the bug in BIOS INT13h EDD info func. 48h that truncate returned total disk LBA sectors to 32b number - 2TB limit. But there is already stored full 64b value in memory gathered during POST by ATA identify command. I know how to patch the stupid code that just clear EDX instead pass the right value. Problem is that for this mod I need to patch main BIOS module. AFAIK it is protected by 16b checksum but I don't know what range and if it is still the primitive word-sum to be zero or some kind of CRC or something else changed...

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 486 of 493, by myne

User metadata
Rank l33t
Rank
l33t

Seriously, unpack it and hand to some Ai.

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic

Reply 487 of 493, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

I asdked AI where is the checksum and what range is covered but just got a load of BS... I may try to give it disassembled bootblock to analyze how is ist calculated. Then there may be also problem to put the main module back to bios image as modbin fails...

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 488 of 493, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

I tried a little experiment with latest MODBIN6 2.04.03 and 2.04.04 on older Gigabyte GA-P31-DS3L BIOS F10 from 2008.
Both Modbins was able to load BIOS image but 2.04.03 silently crashed on save (even if no change made). I just changed one byte of BIOS message ("NOT FOR SALE" -> "NOT FOR SALF") and saved BIOS image with Modbin 2.04.04. Then load it again to extract the original.tmp. I compared both files and there was about ~1000 differences at many place varioussly scatered over image, far from the place of real message - there was only 1 changed byte I intentionally did. So I modified the message to "NOT FOR SALG" and save/extract again and compared with previous original.tmp. Now there was only 1 changed byte in the message, nothing else. Does it imply that original.tmp has not any internal checksum or just Modbin was unable to fix it? If no internal checksum it would simplify things a bit but still remains the problem how to put modded original.tmp back to BIOS image. I see Jan's tutorial some pages back how to do it manually via LHA compression and implaning via hexeditor with header patching. No easier way? Wouldn't it break something like MINIT and other potentially sensitive modules in modern BIOS?

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 489 of 493, by kmeaw

User metadata
Rank Member
Rank
Member

In Gigabyte GA-P67-DS3-B3 F5 BIOS, there are two checksum loops in the bootblock.

One is at 3FE78E, POST code 0xC1, checks the core part (0x3E5000 to 0x3EB665, checksum byte is 0x3EB665):

    calls 0xea56: it searches the ROM for "*BBSS*" (6 byte string referenced by 0x3FE045)
calls 0xea78: enables shadow
reads code offset 16-bit word, just next to "*BBSS*" - it is 0x500e
calculates data segment address by rotating the word - it is 0xe500
fetches the segment size by reading 16-bit word at offset 0xa - it (file offset is 0x3e500a) is 0x6666
adds up the whole segment but the last byte
reads the last byte - it must match the sum

Another is at 3FFB55, a checksum verification routine for lh0/lh5 archive members (all but procinit.bin, which is uncompressed; 0x200000:0x3EBFFE, checksum byte is 0x3EBFFE):

    sets up protected mode and prepares to copy:
sets destination to 0x300000
sets count to 0x40000 dwords (1 MiB)
sets source to 0xFFE00000
copy memory
calls 0xea56: searches for "*BBSS*"
reads code offset 16-bit word, just next to "*BBSS*" - it is 0x500e
fetches the segment size by reading 16-bit word at offset 0xa - it (file offset is 0x3e500a) is 0x6666
applies mask 0xfff0 to align by 16 bytes - now the size is 0x6660, segment is 0x5000
add them together to find the end - it is 0xb660 now
applies mask 0xf000 to align by page - it is 0xb000 now
adds 0xffe to get the last byte of the page - it is 0xbffe now
calls 0xeb8e: updates protected mode gdt
scans ram from 0x300000 for the "-lh" header
when found:
calculate ram address of the end - add the size (0xbffe)
adds up the whole archive entry until we reach the end
reads the last byte - it must match the sum

There is no internal checksum in the main module. However the last 64 KiB sum up to a byte 0 (with the last byte balancing the sum), probably for legacy reasons or to make some flash update tool happy.

Reply 490 of 493, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

Thanks for quick analysis. First I could try some small modification that will preserve the compressed module size to avoid following modules relocations, apply checksums and check if it will work. Then I will need to resolve different module size after more patching work. Are there some suitable tools that would work with such kind of BIOS or just rely on old good hexeditor and hand work?

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 491 of 493, by kmeaw

User metadata
Rank Member
Rank
Member

I wouldn't rely on modbin for roms larger than 4 Mbit. Instead I would use "lha -a -g -1 -o5 module.lzh module.bin" to repack modules and stitch them back with dd in a shell script or a hex editor.

Reply 492 of 493, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

Ok, I understand, there's no other way unless someone has leaked newer version of Modbin6 but I digged a lot without any success. Award BIOS editor is too old. Maybe cbrom could help fix something when main bios module size changes. On this BIOS I didn't have problems with sensitive modules like on P31 BIOS that bricked if you touched MINIT position or some else modules. I did some dummy ROM stuffing to keep this beast at place, then it worked...

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 493 of 493, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

I successfully modded my system BIOS module and flashed it and it works. So I write here a next chapter of newer BIOS modding to keep knowledges here...

First I'd like to inform about 2 my utilities that I used. One was updated and scond I wrote from scratch for easier workflow.
AWDLS 1.8: http://rayer.g6.cz/programm/programe.htm#AWDLS
PATCHLHA 1.0: http://rayer.g6.cz/programm/programe.htm#PATCHLHA

But back to the beginning...
After I bougt 4TB HDD I found that INT13h/EDD info BIOS service reported only 32bit number of total HDD LBA sectors that make's it reported wrongly as 1,7TB instead of 4TB. I started tracing INT13h BIOS service with debug and search through memory for specific LBA pattern to find how INT13h BIOS routine fills the caller's EDD structure buffer and where it sucks that LBA numbers. It turned out, that (in my specific BIOS), it reads from shadow RAM BIOS segment address F000:83C0h where I found the full 64-bit LBA sector count. This value was stored there in POST stage when BIOS detected drives by ATA identify command. So this means only INT13h part is broken and it is easier to fix it. I dumped the BIOS segment and did some disassebling and tracking, found main part of EDD function at F000:8D0Bh where it calls another subroutine at F000:85E3h that just copy the LBA from harcoded memory location and return it in EDX:EAX pair but EDX was intentionally cleared to 0 truncating to 32-bit value. Dunno why...

seg000:85E3 INT13h_48h_EDD_get_LBA proc near        ; CODE XREF: INT13h_48h_EDD+8C
seg000:85E3 push bx
seg000:85E4 movzx bx, al ; BX = current disk is passed in AL
seg000:85E7 shl bx, 3 ; BX = BX * 8 (calculate index)
seg000:85EA add bx, 83C0h ; add hardcoded offset
seg000:85EE xor edx, edx ; EDX = 0 need to patch to -> mov edx, cs:[bx+4]
seg000:85F1 mov eax, cs:[bx] ; EAX = LBA low DWord from the table that BIOS filled during POST with ATA identify command
seg000:85F5 pop bx ; restore BX
seg000:85F6 retn
seg000:85F6 INT13h_48h_EDD_get_LBA endp

Thanks to jadoxa for writing optimized routine code that fits within the same 20 Bytes so relocation is not needed:

push   bx              ; store BX
cbw ; convert Byte to Word: AL -> AX (sign. expansion of AL bit 7 to AH), current disk is passed in AL
shl ax, 3 ; AX = AX * 8 (calculate index)
add ax, 83c0h ; add hardcoded offset (opcode: 81 C3 C0 83)
xchg bx, ax ; swap BX and AX, address of LBA QWord is now in BX, AX is free
mov eax, cs:[bx] ; EAX = LBA low DWord from the table that BIOS filled during POST with ATA identify command
mov edx, cs:[bx+4] ; EDX = LBA high DWord from the table that BIOS filled during POST with ATA identify command
pop bx ; restore BX
retn

1) So the 1st step was to extract system BIOS module (AKA original.tmp, in my case P67DS3B3.BIN) from BIOS image. Note that modern Award pre-UEFI BIOS for intel PCH platforms don't contain only the BIOS part but much more. This MBs has serial SPI FlashROM chips with typical size 4-16MB. At the beginning is Flash Descriptor sructure (described in intel docs) that defines Flash Regions, their base (offset) and limit adresses and much more and permissions what can be changed or not. Typically the image can hold ME region for intel Management Engine, ethernet NIC (GBE) Region and the BIOS Region. Awdls now can display some basic info. Also it can copy all modules in compressed form to separated files that can be then unpacked by LHA/7Z/etc...
Note that Modbin6 no longer work for such BIOSes, the latest available version 2.04.04 just unpack few modules and hangs at loading - useless for patching...

2) once I have extracted the system BIOS module P67DS3B3.BIN I search for pattern that matched to disassembled routine above (the runtime copy of BIOS in shadow RAM differs at some parts to BIOS code stored in ROM) so I know the exact offset for patch

3) I insert new routine code (20 Bytes), by hexa editor (I use my minject for batch processing). I also modified BIOS date message on POST screen to see that change have effect.

4) I fixed the checksum of range 10000-1FFFFh to be zero (write new byte at the end 1FFFFh). This is done by PATCHLHA /s

5) pack the P67DS3B3.BIN to P67DS3B3.LZH. This is done by PATCHLHA /s too.

6) fix the LHA header according to Jan's guidelines to match Award BIOS specific values (load address, file attributes, etc.) and fix header checksum. This is done by PATCHLHA /s too.

7) ups, the compressed P67DS3B3.LZH is now 2 Bytes greater than original version. So I had to shift all BIOS modules by 2 B futher. The range can be observed by awdls that prints real offsetts of modules.
In my case:

  Filename     Offset   cSize  uSize  Dec.Addr.  Description
-------------+--------+------+------+-----------+------------
p67ds3b3.BIN 200000h 80159 131072 5000:0000h - System BIOS
awardext.rom 213948h 37093 54192 407F:0000h - XGroup code
ACPITBL.BIN 21CA55h 7853 21086 4003:0000h - ACPI table
...
ROMOS.BIN 2DCDABh 62201 65536 4088:0000h - PCI ROM[C]
NCPUCODE.BIN 3E4FE0h 110624 110592 >003C9FE0h - Not compress. CPU microcode
procinit.bin 3F5F80h 2921 2912 3010:0000h - MEM INIT in BB

As we see BIOS region stuff starts at 200000h and ends with the last PCI ROM module ROMOS.BIN at 2DCDABh + it's compressed size 62201. There's a plenty of FFh free space benhind it. Can be done in hexa editor or by cmdline tools (I use mcopy/minject) BTW there are 2 uncompressed modules at end of image. procinit.bin is some kind of bootblock CPU early init code that execute in place from FlashROM (RAM is not initialized yet) - the SPI master controller in PCH maps the FlashROM at end of address space and redirect CPU reset vector to read directly from the flash...

8 ) Jan noticed that there's some extra 1 Byte just behind the system BIOS module that may be some kind of checksum but in my case it is just FFh and probably unused/doesn't change, the same for similar other Gigabyte MB, so I don't care about this Byte, just leaved it as it is between p67ds3b3.BIN and awardext.rom

9) final fix of BIOS image checksums and change of MINITENTRYPOINT in absolutelly necessary! Fortunatelly CBROM32 1.99 can take care about it. I'm not sure if it's just enough to release and re-insert any BIOS module but I rather released all PCI ROMs where 2 of them was placed before the potentially sensitive module
smminit.bin 251794h 123814 123808 4069:0000h - MINIT
that makes CBROM to know about it. Then I put all PCI ROMs back with CBROM. I checked that 3 Bytes just right behind the MINITENTRYPOINT string at offset 3E5390h was changed, looks like B0 E0 E3 (FF) there. So I hoped CBROM did it right.

10) I flashed the modded image with Qflash and it booted, I can see new BIOS date string at bottom of POST screen. EDD now works as expected and returns full 64b LBA total sectors. For this I wrote another small utility EDDINFO: http://rayer.g6.cz/programm/programe.htm#EDDINFO

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA