Page 2 of 2
Re:Getting Bochs to run
Posted: Mon Aug 04, 2003 9:13 am
by Pype.Clicker
Nightlover wrote:
Now to my questions:
Is it right to copy the floppy.img to the floppy disk with the windows explorer or do I have to copy the floppy.img to the first sector of the floppy disk with the help of for e.g. partcopy.
Is it necassary to format the floppy disk before putting the floppy.img on it.
normally, you don't need a "real" floppy at all: your floppy.img file will be used by bochs to simulate a floppy on the simulated PC.
if you still want to go through a "real" floppy, you'll need something like rawwrite.exe tool to store your image on the floppy, and not simply saving the .img file as a regular file of a FAT12 floppy ...
Re:Getting Bochs to run
Posted: Mon Aug 04, 2003 11:53 am
by Nightlover
@Pype.Clicker:
Thanks for your help. I forgot to read point 6. ::)
6. OK now u r done now u can copy any OS img file into this directory just make sure that the name of img file is
'floppy.img' and then click on bochs.exe to run.
Bye,
Nightlover
Re:Getting Bochs to run
Posted: Mon Aug 04, 2003 4:59 pm
by Dragon88
Umm... I've got a question. Forgive me if this is totally stupid, but i'm new here.
What address is video memory. I've heard that is is A0000 , but when i try to write to that address bochs doesn't do anything. The display doesn't change. What am i doing wrong? Thanx in advance.
Re:Getting Bochs to run
Posted: Mon Aug 04, 2003 5:20 pm
by Tim
A0000 is video memory for graphics mode. In text mode (the default), you need to use B8000.
Re:Getting Bochs to run
Posted: Mon Aug 04, 2003 5:23 pm
by Dragon88
ahhhhh, i gotcha! thanx
Re:Getting Bochs to run
Posted: Mon Aug 04, 2003 9:34 pm
by adeelmahmood1
To nightlover:
Now to my questions:
Is it right to copy the floppy.img to the floppy disk with the windows explorer or do I have to copy the floppy.img to the first sector of the floppy disk with the help of for e.g. partcopy.
yeah u need to copy ur bootloader to the first sector of the floppy ..u can do that with partcopy
>partcopy bootloader.bin 0 200 -f0 0
will do this or if u have an img file .. just replace -f0 with img file name
Re:Getting Bochs to run
Posted: Tue Aug 05, 2003 9:18 am
by bkilgore
Adeel Mahmood wrote:
yeah u need to copy ur bootloader to the first sector of the floppy ..u can do that with partcopy
>partcopy bootloader.bin 0 200 -f0 0
will do this or if u have an img file .. just replace -f0 with img file name
You don't need to bother using partcopy if your entire image is just one file and you want it to start at sector 0 of the floppy image. Then you can just use that file as the floppy image.
Also, if you need to merge 2 or more files together onto sequential sectors of a floppy starting at 0 (for instance a bootloader at sector 0 followed immediately by your kernel at sector 1) and you don't have partcopy, you can also use "copy /b file1 + file2 + file3 +...+filen floppy.img"
Re:Getting Bochs to run
Posted: Sun Aug 10, 2003 10:22 pm
by wsnoriko
The document is your teacher,remember!!!!!!!!!
Read the entire text ,and you will be a Bochs-expert.
It can go by default,double click "run" in the path "Bochs-2.0.2\dlxlinux".
Good Luck!