matt8110 wrote:So then it goes
Head 0, Track 0,
Head 1, Track 0,
Head 0, Track 1,
Head 1, Track 1?
Yep, and the sector goes from 1-18 for each one. Be warned, the sectors number in a CHS address starts at one
not zero like everything else.
In a standard 1440 KB floppy you have 512 bytes in a sector, 18 sectors per track, 80 tracks per side and of course two sides.
512 * 18 * 80 * 2 = 1,474,560 bytes = 1440 KB
matt8110 wrote:And is there any way to load from a CD instead, i am happy with a floppy but it is a bit limited space wise.
I'd recommend you start off on a floppy disk, they are a fairly simple disk to start off with. Try to implement support for the FAT12 file system in your bootloader.
There's more than enough space on a floppy disk for most hobby operating system kernels, i.e. I've got over 10,000 lines of assembly and it still fits in 64k.
However, when you plan to support things like images of a decent resolution, these usually take up a fair bit of space and floppy disks are quite slow on real hardware.
I wouldn't recommend using a CD as your operating system will not be able to save/modify any files without a special disk burning program. Even then most disks can only be burnt once.
If you need more space I'd suggest using a USB Flash Drive or a Hard Drive partition.