How to use Bochs on Windows 2000?

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
Christy

How to use Bochs on Windows 2000?

Post by Christy »

Hello Gurus,
I made an image of my hello world OS and named it floppy.img then I copied it to the directory of my c:\Program Files\Bochs-2.0.2. When I run Bochs I got this message "BIOS panic at rombios.c, line 1563.

Here is my Bochsrc.txt
megs: 32
romimage: file=BIOS-bochs-latest, address=0xf0000
vgaromimage: VGABIOS-elpin-2.40
floppya: 1_44=floppy.img, status=inserted
boot: a
log: bochsout.txt
mouse: enabled=0

what am I doing wrong?
Do I need to insert a floppy to drive a:?
Or just the file name floppy.img and copy to Bochs directory?

Please help,
Christy
rverma

RE:How to use Bochs on Windows 2000?

Post by rverma »

YOu need to read the documentation of BOCHS, you need to create an Image for your boot image for you OS, and specify it in your bochs script.
pepito

RE:How to use Bochs on Windows 2000?

Post by pepito »

Your Bochsrc.txt seems to be right. For create the floppy image you can use the program PARTCOPY:

partcopy your_file.bin 0 200 -f0 0

I hope this help you!

pepito
pepito

RE:How to use Bochs on Windows 2000? (continuation)

Post by pepito »

Sorry, I forget something...

With the steps I said before you can create a bootable floppy disk, the you need to create an image of that disk. Again you can use PARTCOPY:

partcopy -f0 0 168000 floppy.img

Then simulate!

pepito
Khumba

RE:How to use Bochs on Windows 2000?

Post by Khumba »

Are your romimage and vgaromimage files in the same directory, and named correctly?
Post Reply