bochs error

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
elias

bochs error

Post 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?
K.J.

Re:bochs error

Post by K.J. »

Looks like you didn't give a Bochs a BIOS to use. Try the Bochs-BIOS-latest.

K.J.
elias

Re:bochs error

Post 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?
K.J.

Re:bochs error

Post 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.
elias

Re:bochs error

Post 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
Post Reply