I want to use a non-bochs BIOS, this is the reason I need to provide the emulator with my own version of CMOS contents. OK, I have been bold and gave it a CMOSIMAGE as 64-bytes binary
file. Looks like it worked (the simulation broke during POST because of the foreign BIOS but I see the date etc.were updated inside the cmos file).
Still, one line or 2 could be added to the documentation for accuracy sake.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have now clarified in the docs that "cmosimage" expects a binary file with size 128 bytes. That's all Bochs needs to load it. Everything else depends on the BIOS image used. For BIOS-bochs-latest the layout can be found in the developer doc. For an external BIOS image it might be required to run it's setup and load the default values.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
is it what you wanted ?
http://bochs.sourceforge.net/cgi-bin/topper.pl?name=New+Bochs+Documentation&url=http://bochs.sourceforge.net/doc/docbook/development/index.html
Stanislav
Not apparently. I can find Boch's CMOS layout there under $ 2.7,
what I'm looking for however is the expected format for an alternate
CMOSIMAGE file.
I want to use a non-bochs BIOS, this is the reason I need to provide the emulator with my own version of CMOS contents. OK, I have been bold and gave it a CMOSIMAGE as 64-bytes binary
file. Looks like it worked (the simulation broke during POST because of the foreign BIOS but I see the date etc.were updated inside the cmos file).
Still, one line or 2 could be added to the documentation for accuracy sake.
Regards
correction: 128 bytes, not 64.
I have now clarified in the docs that "cmosimage" expects a binary file with size 128 bytes. That's all Bochs needs to load it. Everything else depends on the BIOS image used. For BIOS-bochs-latest the layout can be found in the developer doc. For an external BIOS image it might be required to run it's setup and load the default values.