


If you ever wondered what those strange error messages and bombs were 
that seem to appear every now and then on your ST,now`s your chance to 
find out.

This file was supplied by my ST chum Gary Simmons of Asciilum PDL.









The following is a complete list of error codes that can be produced
by the Atari ST:
Code:  Descripton:              Comments:
BIOS Errors:
  -1   Error                    An error occured (but the ST doesn't know what)
  -2   Drive not ready          D/Drive not ready/attached or busy
  -3   Unknown command          Device doesn't understand command given
  -4   CRC error                Soft error while reading sector [bad data]
  -5   Bad request              A parameter was wrong, request aborted
  -6   Seek error               Drive could not seek that [track not found]
  -7   Unknown media            Foreign media [Bad 0 boot sector]
  -8   Sector not found         (Whoops - don't know your own disk sizes!!)
  -9   No paper                 (Printer is out of paper, chop that tree quick)
 -10   Write fault              (Er, what can I say - a fault is a fault!)
 -11   Read fault               (Oh, another fault. Wot were Atari expecting?)
 -12   General error            Reserved - for future TOS's, I presume.
 -13   Write protect            Read only, or protected media (cartridge??!)
 -14   Media change detected    Media changed since last write, or the
                                read/write operation not done (file error)
 -15   Unknown device           BIOS doesn't recognise device, (plug it in!!!)
 -16   Bad sectors              (given during format verification)
 -17   Insert Disk              Whoops, no disk in the drive!! [shell error]
GEMDOS Errors:
 -32   Invalid function no.     (You screwed your assembly program!!)
 -33   File not found           (Bit obvious, this one)
 -34   Path not found           (This one's self-explanatory too)
 -35   No handles left          (Too many open files, wasteful idiot!)
 -36   Access Denied            (File already open, and locked - for future
                                versions of the O/S - not yet supported)
 -37   Invalid handle           (You've not identified the file correctly)
 -39   Insufficient Memory      (Not enough memory, obviously!!)
 -40   Invalid memory block     (Again, not supported in the current version of
       address                  the O/S - does this mean we'll get a new one?!)
 -41   **Insufficient Memory    (Frankly, I'm not suprised, if Atari keep
 -42   **Insufficient Memory    repeating error messages!!)
 -46   Invalid drive specified  (Moan, quick, attach it and try again!!!)
 -47   **Invalid operation      (Er - open CPU surgery??)
 -49   No more files            (F_SNEXT (assembly) called, and no more exist)
Miscellaneous Errors:
 -64   Range error              (No idea, perhaps it likes shooting)
 -65   Internal error           (Aha, a BUG in Gem! Snigger!)
 -66   Invalid executable file  (Er - you just tried executing something which
       format                   isn't executable!!)
 -67   Setblock failure due to  (Insufficiently long section of memory free
       growth restrictions      to do what you asked it to - I presume)
Bombs on screen:
   2   Bus error (number 69's conductor obviously fell off, and got run over)
   3   Address error (you or the program that (was) running just tried to use
       an ODD address in memory, which its not allowed to do!
   4   Illegal instruction (you tried a 68010 only one on a 68000! Hehe!)
   5   Division by zero (be honest, it WAS you to type PRINT 360/0 - Grin..
   6   CHK exception (budding assembly people know what I mean..)
   7   TRAPV esception (another one for the assembly writers)
   8   Privilege violaton (a 'supervisor' instruction whilst in 'user' mode)
   9   Trace exception (Monitor/Debugger use exclusively..)

All information gleaned from knowledge given to me by:
"The Concice Atari ST 68000 Programmer's Reference Guide" by Katherine Peel,
published by Glentop Publishers Limited, with a little of my own comments
added. (Those in round brackets () are my extra information - the square
brackets [] are alternative reasons for the error.)

List produced: 15/06/90
by
David Mager (Slime)



This list,though comprehensive,missed out a few of own my regular errors,
these include spilling beer,coffee,beer,tea,beer,lemon barley and beer 
on my ST.Standing on diks that fell on the floor,leaning my elbow on 
the open drawer of my disk box scattering disks everywhere,turning the 
swivel chair around in the same direction so many times that it 
collapses,and trapping my shirt tail in the top drawer of the desk 
then standing up nearly breaking my neck.I just thought I`d share that 
with you.*Bob*