I've completed the porting and refactoring of the LGPL vgabios. I'm looking for developers interested in reviewing the code and trying to port it to real hardware.
The port to gcc consists of the basic VGA support. The new code is almost entirely written in C - there is only about 50 lines of assembler specific to VGA (for the entry functions).
I've also refactored the code significantly. The new code has been split into several files - mostly by whether it implemented bios functionality, framebuffer manipulation, or IO port setting. I've also simplified the code and eliminated many redundancies.
To obtain the code and compile an option rom, run:
git clone git://git.linuxtogo.org/home/kevin/seabios.git cd seabios make out/vgabios.bin
The code specific to vga is in the directory seabios/vgasrc/ .
I've done some basic sanity tests with qemu. More testing is needed, but I think it's ready for a wider audience.
-Kevin
Kevin O'Connor wrote:
To obtain the code and compile an option rom, run:
git clone git://git.linuxtogo.org/home/kevin/seabios.git cd seabios make out/vgabios.bin
Exciting!
The code specific to vga is in the directory seabios/vgasrc/ .
I've done some basic sanity tests with qemu. More testing is needed, but I think it's ready for a wider audience.
Please please put this in a separate repo.
//Peter
On Mon, Jun 01, 2009 at 02:22:06PM +0200, Peter Stuge wrote:
Kevin O'Connor wrote:
To obtain the code and compile an option rom, run:
git clone git://git.linuxtogo.org/home/kevin/seabios.git cd seabios make out/vgabios.bin
[...]
Please please put this in a separate repo.
The VGA code uses code from SeaBIOS to implement some of the 16bit infrastructure. If the vga code was moved into a new repo, this code would have to be copied.
It's possible to move it, but I don't think it's a high priority right now. The VGA bios is in many ways similar to the regular bios - so I don't think it's a total mismatch to keep them together.
-Kevin