Hi Kevin,
Great, I think this is what libv or I need. I have in plan to create some simple mode3 only VGA rom for K8M890.
I have some questions:
Have you spoken with orig authors? Maybe they want such rewrite too Is it really GPLv3? I thought it was LGPL.
The resulting rom image is independed to seabios right?
Thanks, Rudolf
Kevin O'Connor 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.)
-Kevin