Bootsector
Posted: Wed Apr 10, 2002 3:28 am
Hi! I've written a prog. that writes a file into the bootsector of a floppy disc. Now I've some questions about the file, that's written to the sector.
1. I know that it must be 512 bytes. How can I fill the rest when it's smaller?
2. Someone told me the last two bytes must be 0AA55h. Is that the same as 0x0AA55 in C?
3. Which extension (format) must the file have? bin?
Please help me!
1. I know that it must be 512 bytes. How can I fill the rest when it's smaller?
2. Someone told me the last two bytes must be 0AA55h. Is that the same as 0x0AA55 in C?
3. Which extension (format) must the file have? bin?
Please help me!