Atari.Org
Click Here
HomeNewsServicesForumsSupport

Talk Atari

Atari.Org Forums


16/32-Bit

8-Bits

Classics

Emulation

Jaguar

Lynx

Classic Consoles Forum 8-Bits Forum 16/32 Forum
Emulation Forum Jaguar Forum Lynx Forum
 
 Subject: RE: Disk Questions
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

 Topics Author  Date
  Disk Questions new Cohen 09-22-2001 12:46 
   RE: Disk Questions new LST 09-23-2001 12:40 
   RE: Disk Questions new Fat Rakoon 09-23-2001 22:59 
    RE: Disk Questions new Cohen 09-24-2001 10:23 
     RE: Disk Questions new Shalroth 09-24-2001 16:23 
      RE: Disk Questions new Elliot 09-24-2001 16:41 
      RE: Disk Questions new Elliot 09-24-2001 17:03 
     RE: Disk Questions new Elliot 09-24-2001 17:05 
     RE: Disk Questions new Jan Thomas 09-24-2001 18:00 
     RE: Disk Questions new LST 09-24-2001 18:47 
      RE: Disk Questions new martin shine 09-25-2001 00:51 
       RE: Disk Questions new LST 09-25-2001 10:21 
      RE: Disk Questions new Cohen 09-25-2001 10:36 
       RE: Disk Questions new LST 09-25-2001 11:49 
        More Disk Questions :) new Cohen 09-26-2001 17:06 
       RE: Disk Questions new Jan Thomas 09-25-2001 12:09 
        RE: Disk Questions new LST 09-25-2001 13:17 
        RE: Disk Questions  LST 09-25-2001 13:18 
         RE: Disk Questions (now OFF TOPIC) new LST 09-25-2001 13:19 
          RE: Disk Questions (now OFF TOPIC) new shalroth 09-25-2001 13:47 
          RE: Disk Questions (now OFF TOPIC) new shalroth 09-25-2001 13:53 
           RE: Disk Questions (now totally OFF TOPIC) new LST 09-25-2001 13:58 
         RE: Disk Questions new LST 09-25-2001 19:27 
          RE: Disk Questions new Jan Thomas 09-26-2001 15:08 
           RE: Disk Questions new LST 09-26-2001 16:00 
            RE: Disk Questions new LST 09-26-2001 17:03 
            RE: Disk Questions new Jan Thomas 09-26-2001 17:10 
             RE: Disk Questions new LST 09-26-2001 18:59 
              RE: Disk Questions new Jan Thomas 09-28-2001 14:38 
               RE: Disk Questions new LST 09-28-2001 15:17 

 Reply To This Message
 Your Name:
 Your Email:
 Subject:
 Human verification:   What's this?
               _    __     _ _     
 _ __  ___ _ _| |_ / _|___| (_)___ 
| '_ \/ _ \ '_|  _|  _/ _ \ | / _ \
| .__/\___/_|  \__|_| \___/_|_\___/
|_|                                
    



Copyright © 1997-2024 Atari.Org 
Atari is registered trademark of Infogrames