<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sat, 17 May 1997 12:26:28 +0100
From   : Chris Richardson <chris@...>
Subject: E off!

Julian Regel wrote:
> 
> Hi,
> 
>  My Dad uses my Master 128 for word processing using View (he's been
> doing it for years and likes it). He saves his files on 5.25"
> floppies in ADFS format (640k).
> 
>  A couple of days ago his file attributes changed from WR
> (write/read) to E (execute). We've done some hunting around and have
> found that executable files cannot be changed back (good idea Acorn!)
> which means he can't access his data.
> 
   10DEFFNS="Eoff!"
   20MODE0
   30*.
   40PRINT"Rescue By C.J.Richardson for 8BS"
   50PRINT"ADFS ONLY!!!!"
   60PRINT"Remove E attributes and change to WR? Y/N"
   70IFGET$<>"Y" END
   80start%=&C405
   90REPEAT
  100IF ?(start%+4)>128?(start%+4)=?(start%+4)-128
  110start%=start%+26
  120UNTILstart%>&C900
  130*ACCESS #* WR
  140

-- 
Chris Richardson 8-Bit Software
The BBC and Master User Group and Public Domain Library
http://www.karoo.net/8bs
mailto:chris@...            
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>