Re: FW: Booting Bochs

"Sebastian Herbszt" <[email protected]>
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <4C9EB19A72F64B24AEF87AC814A91A8D@FSCPC>
Stanislav wrote:
> Hi Volker,
>
> Do you know the answer?
>
> My knowledge is very limited here and the only thing I could say is that Bochs BIOS is not fixed binary and could be 
> modified.
> But might be there are also simpler solutions .
>
> Thanks,
> Stanislav

An option rom which the BIOS will load can be as simple as

        org 0x0
signature:
        db 0x55
        db 0xaa
size:
        db 0x01 ; fixme
entry:
        jmp start
start:
loop:
        jmp loop

nasm -o test.rom test.asm
will produce the option rom called test.rom which needs its checksum corrected.
biossums from vgabios can be used for this.

The option rom will be loaded with the following config:
optromimage1: file=test.rom, address=0xd0000

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.