using Bosh
using Bosh
Can somebody simply summarise how to use my code in bosh? :-[ I download the images from its site, but how can I try my code?
Re:using Bosh
Windows:
http://osdev.neopages.net/tutorials/bochs/bochs.php
Unix:
http://osdev.neopages.net/tutorials/bochs/bochs_nix.php
It is not bosh, it is bochs.
http://osdev.neopages.net/tutorials/bochs/bochs.php
Unix:
http://osdev.neopages.net/tutorials/bochs/bochs_nix.php
It is not bosh, it is bochs.
Re:using Bosh
Hi,
Is it possible to create a sparse file which contains the boot loader and kernel and get bochs to use that file as a simulated boot floppy and boot from it? I am using Linux and have the update bochs?
TIA,
PatLinux
Is it possible to create a sparse file which contains the boot loader and kernel and get bochs to use that file as a simulated boot floppy and boot from it? I am using Linux and have the update bochs?
TIA,
PatLinux
Re:using Bosh
Yes. Just create a 1.40MB file, e.g.
[tt]dd if=/dev/fd0 of=floppy.img bs=512 count=2880[/tt]
Under Windows you could compress the image, which causes the zeroes to occupy no space (this reduces large hard drive images to the minimum space). I don't know whether this is possible on Linux.
[tt]dd if=/dev/fd0 of=floppy.img bs=512 count=2880[/tt]
Under Windows you could compress the image, which causes the zeroes to occupy no space (this reduces large hard drive images to the minimum space). I don't know whether this is possible on Linux.
Re:using Bosh
Thanx Tim 4 tht, what I was really lookin for was to make that sparse file bootable with a loader/kernel just compiled and for want of better word - insertted into the sparse file effectively makeing it bootable floppy for bochs
Re:using Bosh
To write the boot sector, overwrite the first 512 bytes of the disk. If your disk uses a normal file system, you can write the kernel either by mounting the floppy image using the loop device, or using mtools (for FAT).