Home » Personal collection » Acorn ADFS disks » Electron » PRES_E00.ADF » Help/HardError

Help/HardError

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron » PRES_E00.ADF
Filename: Help/HardError
Read OK:
File size: 046A bytes
Load address: 0000
Exec address: FFFFFFFF
File contents
        **  HARDERROR  **

  This  program  is intended for use in
the rare case that there is a permanent
disc error on a floppy disc.   You  may
not wish  to  reformat  the  disc,  but
would want to avoid  the  "Disc  Error"
messages  generated when the bad  track
is accessed.

  HARDERROR will remove the sector from
the  "Free  Space  Map",  the  list  of
sectors  which  ADFS  can  use to store
files.  If the sector  does  not appear
in the FS Map (see if  it  is  there by
typing *MAP), it will  be occupied by a
file.  Before running  HARDERROR,  you 
must delete this file.  If  the file is
a directory, the disc would  be left in
an inconsistent state so it  is  better
to save the files you need onto another
disc and try to reformat the disc  with
the error.

  To use the program, the bad disc must
be on the current drive.

  You may  find  a  "Bad sector"  error
when  loading  a  file,  for  instance.
ADFS will give you the sector number of
the START of the file where  the  error
occurred, not of the bad sector itself.

  Use the utility FindBadSec to  locate
the actual sector(s)  where  the  error
occurred.
00000000  20 20 20 20 20 20 20 20  2a 2a 20 20 48 41 52 44  |        **  HARD|
00000010  45 52 52 4f 52 20 20 2a  2a 0d 0d 20 20 54 68 69  |ERROR  **..  Thi|
00000020  73 20 20 70 72 6f 67 72  61 6d 20 20 69 73 20 69  |s  program  is i|
00000030  6e 74 65 6e 64 65 64 20  66 6f 72 20 75 73 65 20  |ntended for use |
00000040  69 6e 0d 74 68 65 20 72  61 72 65 20 63 61 73 65  |in.the rare case|
00000050  20 74 68 61 74 20 74 68  65 72 65 20 69 73 20 61  | that there is a|
00000060  20 70 65 72 6d 61 6e 65  6e 74 0d 64 69 73 63 20  | permanent.disc |
00000070  65 72 72 6f 72 20 6f 6e  20 61 20 66 6c 6f 70 70  |error on a flopp|
00000080  79 20 64 69 73 63 2e 20  20 20 59 6f 75 20 20 6d  |y disc.   You  m|
00000090  61 79 0d 6e 6f 74 20 77  69 73 68 20 20 74 6f 20  |ay.not wish  to |
000000a0  20 72 65 66 6f 72 6d 61  74 20 20 74 68 65 20 20  | reformat  the  |
000000b0  64 69 73 63 2c 20 20 62  75 74 0d 77 6f 75 6c 64  |disc,  but.would|
000000c0  20 77 61 6e 74 20 74 6f  20 61 76 6f 69 64 20 20  | want to avoid  |
000000d0  74 68 65 20 20 22 44 69  73 63 20 20 45 72 72 6f  |the  "Disc  Erro|
000000e0  72 22 0d 6d 65 73 73 61  67 65 73 20 20 67 65 6e  |r".messages  gen|
000000f0  65 72 61 74 65 64 20 77  68 65 6e 20 74 68 65 20  |erated when the |
00000100  62 61 64 20 20 74 72 61  63 6b 0d 69 73 20 61 63  |bad  track.is ac|
00000110  63 65 73 73 65 64 2e 0d  0d 20 20 48 41 52 44 45  |cessed...  HARDE|
00000120  52 52 4f 52 20 77 69 6c  6c 20 72 65 6d 6f 76 65  |RROR will remove|
00000130  20 74 68 65 20 73 65 63  74 6f 72 20 66 72 6f 6d  | the sector from|
00000140  0d 74 68 65 20 20 22 46  72 65 65 20 20 53 70 61  |.the  "Free  Spa|
00000150  63 65 20 20 4d 61 70 22  2c 20 20 74 68 65 20 20  |ce  Map",  the  |
00000160  6c 69 73 74 20 20 6f 66  0d 73 65 63 74 6f 72 73  |list  of.sectors|
00000170  20 20 77 68 69 63 68 20  20 41 44 46 53 20 20 63  |  which  ADFS  c|
00000180  61 6e 20 20 75 73 65 20  74 6f 20 73 74 6f 72 65  |an  use to store|
00000190  0d 66 69 6c 65 73 2e 20  20 49 66 20 74 68 65 20  |.files.  If the |
000001a0  73 65 63 74 6f 72 20 20  64 6f 65 73 20 20 6e 6f  |sector  does  no|
000001b0  74 20 61 70 70 65 61 72  0d 69 6e 20 74 68 65 20  |t appear.in the |
000001c0  46 53 20 4d 61 70 20 28  73 65 65 20 69 66 20 20  |FS Map (see if  |
000001d0  69 74 20 20 69 73 20 20  74 68 65 72 65 20 62 79  |it  is  there by|
000001e0  0d 74 79 70 69 6e 67 20  2a 4d 41 50 29 2c 20 69  |.typing *MAP), i|
000001f0  74 20 77 69 6c 6c 20 20  62 65 20 6f 63 63 75 70  |t will  be occup|
00000200  69 65 64 20 62 79 20 61  0d 66 69 6c 65 2e 20 20  |ied by a.file.  |
00000210  42 65 66 6f 72 65 20 72  75 6e 6e 69 6e 67 20 20  |Before running  |
00000220  48 41 52 44 45 52 52 4f  52 2c 20 20 79 6f 75 20  |HARDERROR,  you |
00000230  0d 6d 75 73 74 20 64 65  6c 65 74 65 20 74 68 69  |.must delete thi|
00000240  73 20 66 69 6c 65 2e 20  20 49 66 20 20 74 68 65  |s file.  If  the|
00000250  20 66 69 6c 65 20 69 73  0d 61 20 64 69 72 65 63  | file is.a direc|
00000260  74 6f 72 79 2c 20 74 68  65 20 64 69 73 63 20 77  |tory, the disc w|
00000270  6f 75 6c 64 20 20 62 65  20 6c 65 66 74 20 69 6e  |ould  be left in|
00000280  0d 61 6e 20 69 6e 63 6f  6e 73 69 73 74 65 6e 74  |.an inconsistent|
00000290  20 73 74 61 74 65 20 73  6f 20 69 74 20 20 69 73  | state so it  is|
000002a0  20 20 62 65 74 74 65 72  0d 74 6f 20 73 61 76 65  |  better.to save|
000002b0  20 74 68 65 20 66 69 6c  65 73 20 79 6f 75 20 6e  | the files you n|
000002c0  65 65 64 20 6f 6e 74 6f  20 61 6e 6f 74 68 65 72  |eed onto another|
000002d0  0d 64 69 73 63 20 61 6e  64 20 74 72 79 20 74 6f  |.disc and try to|
000002e0  20 72 65 66 6f 72 6d 61  74 20 74 68 65 20 64 69  | reformat the di|
000002f0  73 63 20 20 77 69 74 68  0d 74 68 65 20 65 72 72  |sc  with.the err|
00000300  6f 72 2e 0d 0d 20 20 54  6f 20 75 73 65 20 74 68  |or...  To use th|
00000310  65 20 70 72 6f 67 72 61  6d 2c 20 74 68 65 20 62  |e program, the b|
00000320  61 64 20 64 69 73 63 20  6d 75 73 74 0d 62 65 20  |ad disc must.be |
00000330  6f 6e 20 74 68 65 20 63  75 72 72 65 6e 74 20 64  |on the current d|
00000340  72 69 76 65 2e 0d 0d 20  20 59 6f 75 20 6d 61 79  |rive...  You may|
00000350  20 20 66 69 6e 64 20 20  61 20 20 22 42 61 64 20  |  find  a  "Bad |
00000360  73 65 63 74 6f 72 22 20  20 65 72 72 6f 72 0d 77  |sector"  error.w|
00000370  68 65 6e 20 20 6c 6f 61  64 69 6e 67 20 20 61 20  |hen  loading  a |
00000380  20 66 69 6c 65 2c 20 20  66 6f 72 20 20 69 6e 73  | file,  for  ins|
00000390  74 61 6e 63 65 2e 0d 41  44 46 53 20 77 69 6c 6c  |tance..ADFS will|
000003a0  20 67 69 76 65 20 79 6f  75 20 74 68 65 20 73 65  | give you the se|
000003b0  63 74 6f 72 20 6e 75 6d  62 65 72 20 6f 66 0d 74  |ctor number of.t|
000003c0  68 65 20 53 54 41 52 54  20 6f 66 20 74 68 65 20  |he START of the |
000003d0  66 69 6c 65 20 77 68 65  72 65 20 20 74 68 65 20  |file where  the |
000003e0  20 65 72 72 6f 72 0d 6f  63 63 75 72 72 65 64 2c  | error.occurred,|
000003f0  20 6e 6f 74 20 6f 66 20  74 68 65 20 62 61 64 20  | not of the bad |
00000400  73 65 63 74 6f 72 20 69  74 73 65 6c 66 2e 0d 0d  |sector itself...|
00000410  20 20 55 73 65 20 74 68  65 20 75 74 69 6c 69 74  |  Use the utilit|
00000420  79 20 46 69 6e 64 42 61  64 53 65 63 20 74 6f 20  |y FindBadSec to |
00000430  20 6c 6f 63 61 74 65 0d  74 68 65 20 61 63 74 75  | locate.the actu|
00000440  61 6c 20 73 65 63 74 6f  72 28 73 29 20 20 77 68  |al sector(s)  wh|
00000450  65 72 65 20 20 74 68 65  20 20 65 72 72 6f 72 0d  |ere  the  error.|
00000460  6f 63 63 75 72 72 65 64  2e 0d                    |occurred..|
0000046a
Help/HardError.m0
Help/HardError.m1
Help/HardError.m2
Help/HardError.m4
Help/HardError.m5