FYI. I'm interested in reviving the ADLO effort. I sent the
following email to the bochs developers mailing list.
-Kevin
----- Forwarded message from Kevin O'Connor <kevin(a)koconnor.net> -----
From: Kevin O'Connor <kevin(a)koconnor.net>
To: bochs-developers(a)lists.sourceforge.net
Date: Thu, 21 Feb 2008 22:31:28 -0500
Subject: [RFC] port bochs-bios to gcc
Hi,
I'm interested in porting the "bochs bios" code to gcc. This is the
code currently located in the "bochs/bios/" directory - mostly in the
file "rombios.c".
I've gotten my port far enough along to boot a freedos floppy image.
There is still plenty of work to be done, but I believe I have gotten
the code to a point where I can demonstrate that the methodology is
sound.
I am looking for comments on the idea, feedback on the code, and
hopefully to spur other developer interest.
In order to use gcc to build 16 bit code, the code uses the
".code16gcc" feature of the gnu assembler (gas). This same option is
used in the boot code of recent Linux kernels.
The code should build using standard gnu tools. (Just untar the
package and run "make".) I use a standard FC8 Linux machine. The
code isn't too big, so I will try to attach it to this email.
As above, the code is in an "early alpha" state, but one should be
able to test it with an emulator. (I tested it with qemu.)
Why do this? My main interest is in eventually getting the code to
run on real hardware. The current rombios.c code is rather scary - it
is about eleven thousand lines of code, of which about a third is
assembler. I'm hoping a port to standard C will spur greater
flexibility and interest in the project.
Comments?
-Kevin
----- End forwarded message -----