Page 1 of 1

bochs error

Posted: Sat Nov 09, 2002 6:52 pm
by elias
whenever i try to being a simulation with bochs, i get the error

00000000000i[MEMO ] 4.00MB
00000000000i[MEMO ] ROM: couldn't open ROM image file ' '.

ive set up my config file to point at a floppy image file ive created using one of bochs's utilities, and then i partcopied my boot code and kernel code to the image file. i think that maybe i partcopied it wrong, but got now errors from part copy. anyone know wats wrong?

Re:bochs error

Posted: Sat Nov 09, 2002 6:54 pm
by K.J.
Looks like you didn't give a Bochs a BIOS to use. Try the Bochs-BIOS-latest.

K.J.

Re:bochs error

Posted: Sat Nov 09, 2002 7:01 pm
by elias
what do mena a BIOS? im completley new to bochs. do i have to d/l one? dosnt it come with one? does it come wiht some prog i have to run to creat a bios image or something?

Re:bochs error

Posted: Sat Nov 09, 2002 7:03 pm
by K.J.
Bochs comes with it's own BIOS. In your configuration file, do this:

romimage: file=BIOS-bochs-latest, address=0xf0000
vgaromimage: VGABIOS-elpin-2.40

That will setup the plain ol' BIOS and the VGA BIOS.

K.J.

Re:bochs error

Posted: Sat Nov 09, 2002 7:10 pm
by elias
now im getting seemingly infinte unknown opcode instructions, well, at least its booting. my code was compiled with NASM. do you think i did somethign wrong with partcopy