Author: LST (195.115.40.97)
Date: 09-25-2001 13:18
Yeah Jan, you're right. But I'm not sure, if the boot sector contains executable code, that you can't convert it to MSDOS format.
As far as I remember, a boot sector is 512 bytes long, but you only have 497 bytes for codes. The extra bytes (in fact the first bytes) are used for describing the disk geometry.
I know I've written more than 10 years ago a little utility to convert ST disk to MSDOS (wrote it in GfA Basic). I'll check it this evening (let's say in 6 hours as I'm at work) and I'll put it available for download on my <a href="http://lst.laserforce.org">website</a> (if I still have it, of course) with its source code... If I remember well, there's only a single byte (or maybe two) difference between ST and MSDOS disks. Moreover, I used to format floppies on a DOS based PC and put my own bootsector code on the floppies. I know that on a disk, you can only go to the sector level when reading/writing (I mean you can't address a single byte, you have to read/write the whole sector), but if - again - I remember well, I used to get the DOS bootsector, patched it with my code (so the first bytes weren't damaged), and then rewrote it on the floppy.. but as these statements are far away in my memory, I'm not sure at 100%... ;P
So if anyone is still interested in this discussion, just stay tuned! :)
LST
PS : sorry for this double-post, I hate making mistakes in HTML code! ;P
|