Page 1 of 1

How to use Bochs on Windows 2000?

Posted: Sun Dec 14, 2003 12:00 am
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

RE:How to use Bochs on Windows 2000?

Posted: Wed Dec 17, 2003 12:00 am
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.

RE:How to use Bochs on Windows 2000?

Posted: Mon Jan 05, 2004 12:00 am
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

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

Posted: Mon Jan 05, 2004 12:00 am
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

RE:How to use Bochs on Windows 2000?

Posted: Mon Jan 05, 2004 12:00 am
by Khumba
Are your romimage and vgaromimage files in the same directory, and named correctly?