Re: FW: Booting Bochs

"Sebastian Herbszt" <[email protected]>
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <782728A1C5794CE0B984CFE480A0FAFC@FSCPC>
Garcia Diego Omar wrote:
> Thanks to all for answering.
> Then, making this file structure for "test.rom" Bochs will jump to this "start" point after booting? That's correct?.

The file structure is described in the "Plug and Play BIOS Specification v1.0a" (3.1 Option ROM Header) [1].
Bochs BIOS will call the "Initialization Vector" at offset 3 (entry) during POST [2]. The option rom can
hook the boot process and will get called after the BIOS is done to provide additional services such as FreeDOS [3].

> Doubt:
> Checksum is an integer (2 bytes) at the end of "test.rom" file?

AFAIK there is no special checksum byte. biossums pads the option rom to 32k and puts the checksum at its end.

[1] http://download.intel.com/support/motherboards/desktop/sb/pnpbiosspecificationv10a.pdf
[2] http://sourceforge.net/p/bochs/code/11645/tree/trunk/bochs/bios/rombios.c#l10988
[3] http://rayer.g6.cz/romos/romose.htm

Sebastian


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.