Page 1 of 1

Monitoring BIOS register programming

Posted: Tue Mar 20, 2007 12:14 pm
by amp_man
Is it possible to modify/inject some code into the bios of, say, an asus p2-99 (440zx-based, award bios) to make it send out either to vga or a serial port the registers that it programs on the northbridge, as it's doing it? Or can this info be obtained through reverse engineering? And as far as bricking the motherboard goes, if anyone may be concerned with that, I have a BIOS savior.

Or, could I somehow do this through QEMU or VMWare, since both of these emulate 440bx chipsets, use the p2-99's BIOS along with some userspace tool?

edit: Probably should have mentioned, I'm only interested in up until and including sdram initialization

Posted: Tue Mar 20, 2007 7:08 pm
by cp
just disassemble the bios and look for writes to pci config space...bus 0 and device 0

Posted: Sun Mar 25, 2007 9:05 am
by maman
I think these will help you:

Award BIOS Code Injection
Pinczakko's Guide to Award BIOS Patching

A preliminary basics for the reverse engineering is at:
Pinczakko's Guide to Award BIOS Reverse Engineering

goodluck :wink:

Posted: Sun Mar 25, 2007 9:13 am
by amp_man
Yeah...assembly isn't exactly my cup of tea. I think I'm just giving up on this. Thanks for the links though, I'd already found Pinczakko's site, but not the other one.

Posted: Sun Mar 25, 2007 10:25 am
by maman
I am Pinczakko :P

Posted: Sun Mar 25, 2007 2:12 pm
by edwin
maman wrote:I am Pinczakko :P
:lol: wow. that's explains a bit or two.

Posted: Sun Mar 25, 2007 10:52 pm
by amp_man
copyright © 2004, 2005, 2006 Darmawan M S a.k.a Pinczakko
5 years and you never figured that out :P But I was just as surprised as you were. Thanks for all the help and info!