Hey!
Well, I think, it is all about syntax. A lot of devs just don't doublecheck the grammar, while programming at so low-level languages and platforms. One of the possible ways to struggle this is to improve your level of the syntax. You can make your best at my blog that is totally about writing and everything around it.
If you are trying to tell me there is something wrong with my code, tell me what it is. It has been tried successfully on several machines, is well documented, and has room for another 39 bytes of code! Before you criticise me, prove that you know what you are talking about, and don't spam me.
Wow, when you said "is well documented" you weren't kidding
.
If you run Linux, you won't be able to run partcopy unless you install wine and execute it from there, you can do this instead,
from the terminal;
dd if=/dev/zero of=fd_osloader.img bs=512 count=2880
mkfs.fat -D 0 -F 12 -s 1 fd_osloader.img
dd if=bootsect.bin of=fd_osloader.img seek=0 count=1 conv=notrunc
the first command creates an empty (zero-filled) floppy image of 1.44 MB
The second creates a File Allocation Table (FAT) with:
'-D 0' set drive number to 0, as in 'DriveNum db 00h' from BPB
'-F 12' creates a FAT with 12 bits entries (FAT12).
'-s 1' creates clusters of 1 sector each, as in 'nSecPerClust db 01h' from BPB
the last command loads 'bootsect.bin' into the first sector of our newly formated floppy image. 'conv=notrunc' is specified so the dd program won't resize out image to the size of our bootsector.
Thanks, Debs.