Msg: 5918 *Conference*

08-05-95 09:51:23

From: TRACY ALLEN

To : COMET _

Subj: REPLY TO MSG #5883 (UNDELETE -- COLD START RECOVERY)

Comet,
  That's a good idea, about storing a copy of the file directory in the
location of "first BASIC program", along with the code necessary to do the
backup.  It should also contain the code necessary to restore the directory in
the event of a cold start.  That code could be located at a preset address
within the first BASIC program.  In a 32k machine, the first BASIC program
always starts at memory address 32769.  There are cold starts that completely
scramble memory, from which there is no recovery, but most cold starts leave
the contents of memory intact.  At least, most of the contents. I would not
trust any recovery technique for more than recovering copies of files to an
external medium.  Then I would force a real cold start with CTRL-BREAK-RESET. 
There are things that look like cold starts that aint.
  
  You know about the standard method to recover .DO files after a cold start,
yes?     
   OPEN"IT" FOR OUTPUT AS 1
   FOR I=32768 TO MAXRAM : PRINT#1,CHR$(PEEK(I));:NEXT
   
  -- Tracy