First post, by jheronimus
- Rank
- Oldbie
So I came across this guide on manipulating chipset PCI registers via asm code injected into the BIOS.
I wrote the code (attached to the post), made the COM file with NASM, confirmed it works under Windows and properly sets the register bits I want.
Now as per guide I used COM2ROM to convert the COM file into a .bin file and tried to inject it with CBROM 2.08. It does inject the module, and I can flash the BIOS with awdflash (so the checksum is okay), but it doesn't do anything (the registers stay stock after boot).
I tried adding text output to the code to see if it actually works and then tried different cbrom options to inject it (/isa, /pci, /other 0:8000, etc) — nothing helped.
Is there a different way to do this?
My motherboard is Chaintech CT-6SSA2 using a SIS 5600 chipset and an Award 4.51PG BIOS.
Of course I know about OS-level tools to do this (like WPCREDIT or TweakBIOS), but I'd love to have an OS-independent way of doing this, because the register tweaks do nearly double the performance of this board.
And yeah, I suppose using a network card ROM is an option too, but for now I'm curious if I could modify the actual BIOS without too much pain.