Format a floppy image file with FAT12
Format a floppy image file with FAT12
I have started an OS project. I have created a simple real mode bootloader. I am still to learn coding PM and kernel. I want to use a floppy image file to store my bootloader and kernel. I have created a qemu-img file. I want to format the image file with FAT12 for which I want to write a FASM code. I have read documents on floppy disk geometry but I am looking for some example code to learn from it.
Re: Format a floppy image file with FAT12
http://mikeos.berlios.de/
Whole operating system is in 16-bit code.
Whole operating system is in 16-bit code.
Re: Format a floppy image file with FAT12
ksanjeet, I have published my old mkfloppy sources here for some days. Search for keyword "mkfloppy" on this forum for examples.
Edited. Link updated.
Edited. Link updated.
Last edited by egos on Sat Mar 14, 2015 12:06 pm, edited 1 time in total.
If you have seen bad English in my words, tell me what's wrong, please.
-
- Member
- Posts: 100
- Joined: Wed Mar 13, 2013 2:27 am
Re: Format a floppy image file with FAT12
It depends on the operating system that you are using. I'd recommend you check out the build scripts for MikeOS.
TachyonOS - Violates causality on 95% of attempts. Runs at approximately 1.5c.
Re: Format a floppy image file with FAT12
Thanks everyone.
MikeOS is proving to be a great help.
So far, I am using OS tools to format the images. I want to write my own code to format images.
I have downloaded ego's code from the link and will try to learn from it. Thanks and I really appreciate everyone's help.
MikeOS is proving to be a great help.
So far, I am using OS tools to format the images. I want to write my own code to format images.
I have downloaded ego's code from the link and will try to learn from it. Thanks and I really appreciate everyone's help.