On Wed, 6 May 2009 23:53:24 -0400, Kevin O'Connor kevin@koconnor.net wrote:
I have made an initial pass at porting the open source vgabios at:
http://www.nongnu.org/vgabios/
from bcc/as86 to gcc.
The new code can be found in the SeaBIOS git repository. To download and build the code use:
git clone git://git.linuxtogo.org/home/kevin/seabios.git cd seabios/ make out/vgabios.bin
The resulting binary can be used on qemu. For example:
cd seabios/ make make out/vgabios.bin cp out/*.bin ../testqemu/ qemu -L ../testqemu/ -hda myimage
This new vga code is still preliminary. I can start qemu, but there are known bugs and unimplemented features.
The goal of porting the vga bios to gcc is to make the code more understandable and easier to modify. The code could potentially be enhanced to run on real hardware. (The current code will only run on emulators.)
Real Hardware? That would be really cool :-)
Great Work!!