Bochs bios ported to gcc
Hi,
I have been working on a port of bochs bios to gcc. This port is nearly complete. The new code does not rely on bcc or dev86. Instead, it uses standard gcc and gas. It should compile on any recent Linux distribution.
I'm sending this email because I understand qemu includes a copy of bochs bios with its distribution.
I am successfully booting freedos, linux, and netbsd with qemu. I'm interested in finding people willing to test the bios on other images and in different environments. The code is still in a testing phase - I don't think it will eat your data, but please be careful.
Source and pre-compiled bios images are available (use version 0.2.0) at:
http://linuxtogo.org/~kevin/legacybios/
More information on the details of the project can be found in the 'README' file, or at:
http://git.linuxtogo.org/?p=kevin/legacybios.git;a=blob_plain;f=README
There is also a source code repository located at:
Comments?
-Kevin
Quoted 4 lines · Kevin O'Connor
Hi,
I have been working on a port of bochs bios to gcc. (...)
your binary precompiled works fine on latest qemu snapshot with windows XP host.
I'll try also the source based bios soon.
Thanks for this work. I noticed the "F12" key to choose device to boot from is missing from your bios, compared to the lastest qemu snapshot. Any plan to include it soon ?
Signature · 3 lines
Christian -- http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !
Quoted 9 lines · Christian MICHON
Quoted 4 lines · Kevin O'Connor
Hi,
I have been working on a port of bochs bios to gcc. (...)
your binary precompiled works fine on latest qemu snapshot with windows XP host.
I'll try also the source based bios soon.
Thanks Christian.
Quoted 3 lines
Thanks for this work. I noticed the "F12" key to choose device to boot from is missing from your bios, compared to the lastest qemu snapshot. Any plan to include it soon ?
Hrmm. I don't see the source code for it. The feature is not in bochs cvs, and I don't see a patch in the qemu svn.
Any ideas on where the code came from?
-Kevin
Quoted 8 lines
Quoted 3 lines
Thanks for this work. I noticed the "F12" key to choose device to boot from is missing from your bios, compared to the lastest qemu snapshot. Any plan to include it soon ?
Hrmm. I don't see the source code for it. The feature is not in bochs cvs, and I don't see a patch in the qemu svn.
Any ideas on where the code came from?
bochs cvs, bios/rombios.c - Revision 1.202
- BIOS boot menu support added (SF patch #1901027 by Sebastian)
http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios.c?view=log
- Sebastian
Quoted 4 lines · Sebastian Herbszt
Quoted 4 lines
Quoted 3 lines
Thanks for this work. I noticed the "F12" key to choose device to boot from is missing from your bios, compared to the lastest qemu snapshot. Any plan to include it soon ?
Quoted 8 lines
Quoted 4 lines
Hrmm. I don't see the source code for it. The feature is not in bochs cvs, and I don't see a patch in the qemu svn.
Any ideas on where the code came from?
bochs cvs,
bios/rombios.c- Revision 1.202
- BIOS boot menu support added (SF patch #1901027 by Sebastian)
http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios.c?view=log
Sorry, I somehow missed that.
Sure, I'll port the feature over.
Quoted 3 lines
- Sebastian
Sebastian, should the menu be in the boot code instead of the post code?
-Kevin
Quoted 10 lines · Sebastian Herbszt
Quoted 9 lines
Quoted 8 lines
Quoted 3 lines
Thanks for this work. I noticed the "F12" key to choose device to boot from is missing from your bios, compared to the lastest qemu snapshot. Any plan to include it soon ?
Hrmm. I don't see the source code for it. The feature is not in bochs cvs, and I don't see a patch in the qemu svn.
Any ideas on where the code came from?
Quoted 7 lines
Quoted 3 lines
bochs cvs,
bios/rombios.c- Revision 1.202
- BIOS boot menu support added (SF patch #1901027 by Sebastian)
http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios.c?view=logSorry, I somehow missed that.
Sure, I'll port the feature over.
I just took at look at your legacybios and you already ported it.
Quoted 2 lines
Sebastian, should the menu be in the boot code instead of the post code?
It looks ok to split it between your post.c and boot.c. Though it might be a little misleading to put interactive_bootmenu() in post_menu.c. Maybe move it to boot_menu.c?
- Sebastian