[comp.sys.atari.st] Salvaging data from bad floppy disks

braner@batcomputer.tn.cornell.edu (braner) (01/14/87)

[]

This program may help salvaging data from a defective disk.
In many cases, the defect is in the main FAT area.
After running this program, TOS will use the spare copy of
the FAT (sectors 1-5) rather than the main copy (sectors 6-10),
when reading from drive A or B.  After you copy the files off
the disk you should reboot.

After the (uuencoded) program: An updated version of 'scache':
this one avoids reinstalling itself in RAM if you run it again.

- Moshe Braner

~~~~~~~~~~~~~~ cut here and also later ~~~~~~~~~~~~~~~~~~~~
begin 644 THIN.TOS
M8!H   #>                             $AY    1#\\ "9.3ER/2'D 
M  "P/SP "4Y!7(]"@%* #(   PU ;0#_]DHY    KF8$0F=.04)G+SP   ( 
M/SP ,4Y!(GP   1V(%$@*/_X#(!42$E.5OD   "N9@).=4'Y    =B%1__PB
MB$YU5$A)3@     P+P .#$   FPF,"\ !&<&#$   F8:,"\ # Q   9M$-!O
M  H,0  +;@8$;P %  P@>0   ').T   #0H*"2=42$E.)R!I;G-T86QL960N
C("A296)O;W0@=VAE;B!D;VYE(2D-"@H       (.'"P*1@  
 
end
~~~~~~~~~~~~~~~~~~~~ cut here too ~~~~~~~~~~~~~~~~~~~~~~~~~
begin 644 SCACHE.PRG
M8!H   'J                             $AY   !HC\\ "9.3ER/2'D 
M  './SP "4Y!7(]"@%* #(   PU ;0#_]DHY   !S&8$0F=.04)G+SP  #, 
M/SP ,4Y!( @(    9AH@"0@   !F$C \ !\BV"+8(M@BV%'(__9.=3 \ ?\2
MV%'(__Q.=4-!0T@     /B\ #@Q'  )M""!Y    =D[0)GD   1^/P=.DU2/
M1_D   &*/"\ #&<$2H!G$"!+2D=G!-#\  Q"F$*80I@$1@ &:\8Z+P *VD8,
M10 +;KI*1V<(!D4 # 9&  Q*;P $9B9!^0   :(P!N% XT#0P")O  9*,V@ 
M9PYA /].4D:\16WP0H!.=3X%GD8P+P */T< "I!'T6\ ## &0C,( %) L$5F
M]D'Y   !AB"?2'D   $R8 #_5"\Y   !ADJ 9D@\+P ,!$8 !CHO  K:1CXO
M  YG" 9%  P&1@ ,1_D   &*(&\ !D/Y   !HC &X4#C0-+ 2?-H  C4  !A
M /[*4D:\16WN0H!.=0                                     B?   
M!'8@42 H__@,@$-!0TA6^0   <QF DYU0?D   !Z(5'__"*(3G4   T*"@E$
H:7-K($-A8VAE(&EN<W1A;&QE9 T*"@     "#AQ:%$1$" HF"E(*    
 
end