home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,897 of 56,720   
   Oliver Schmidt to All   
   Re: FASTCIRC--High-speed circles for HGR   
   31 Oct 22 10:09:40   
   
   From: ol.sc@web.de   
      
   Hi Kent,   
      
   >What is your suggested algorithm for auto-detecting the sector order of   
   >.dsk images?   
      
   Maybe there's yet another misunderstanding because I wasn't precise   
   enough: In my POV, the only ProDOS ordered .DSK files acceptable are   
   ones actually containing ProDOS.   
      
   For a ProDOS disk in ProDOS order, the complete 512 bytes ProDOS boot   
   block is located at offset $000 - in contrast to a ProDOS disk in   
   DOS33 order having the second 256 bytes of the ProDOS boot block at   
   offset $E00.   
      
   At least up to ProDOS 2.4.x, the ProDOS boot block of all ProDOS   
   versions has the string "PRODOS         " in the second 256 bytes. So   
   if that string is found at $100-$1FF, the .DSK file contains ProDOS in   
   ProDOS order.   
      
   Every .DSK file that doesn't match this criteria, is to be considered   
   in DOS33 order.   
      
   Regards,   
   Oliver   
      
   PS: If the ProDOS 2.5 boot block doesn't contain that string anymore,   
   than ProDOS 2.5 disk images MUST be named .PO.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca