summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-05-10 15:49:20 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-05-10 15:49:20 -0400
commit59fead6413261b10245508edc5f18316371cfaae (patch)
tree58987c60efd4924ef7313aec2436640418e7babb /README
parent4b39b82790d17a64d13171ba501efa4ffa044460 (diff)
Fix elf build; rename target file rom.bin to bios.bin.
The main output file is now called out/bios.bin (instead of out/rom.bin). Use ld to build final elf file and call the result out/bios.bin.elf Make sure to long jump from external 32bit entry point.
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index dc0a725..fe5f601 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ This code implements an X86 legacy bios. It is intended to be
compiled using standard gnu tools (eg, gas and gcc).
To build, one should be able to run "make" in the main directory. The
-resulting file "out/rom.bin" contains the processed bios image.
+resulting file "out/bios.bin" contains the processed bios image.
The build requires gcc v4.1 or later. Some buggy versions of gcc have
issues with the '-combine' compiler option - in particular, recent
@@ -15,13 +15,13 @@ Testing of images:
To test the bios under bochs, one will need to instruct bochs to use
the new bios image. Use the 'romimage' option - for example:
-bochs -q 'floppya: 1_44=myfdimage.img' 'romimage: file=out/rom.bin'
+bochs -q 'floppya: 1_44=myfdimage.img' 'romimage: file=out/bios.bin'
To test under qemu, one will need to create a directory with all the
bios images and then overwrite the main bios image. For example:
cp /usr/share/qemu/*.bin mybiosdir/
-cp out/rom.bin mybiosdir/bios.bin
+cp out/bios.bin mybiosdir/
Once this is setup, one can instruct qemu to use the newly created
directory for rom images. For example: