[comp.sys.atari.st] TOS ERRORS.

csan@its63b.ed.ac.uk (Andie) (05/17/87)

Following a large number of requests, I have decided to post this rather
than email everyone


Tos Error Number 		Meaning
----------------		-------
	  0			Ok, No error
	 -1			General error
	 -2			Drive not ready
	 -3			Unknown command
	 -4			CRC error
	 -5			Bad request (invalid command)
	 -7			Seek error (track not found)
	 -8			Sector not found
	 -9			Printer error (no paper?)
	-10			Write error
	-11			Read error
	-12			General error
	-13			Disk write-protected
	-14			Disk was changed
	-15			Unknown device
	-16			Bad sector encountered during verify
	-17			No disk in drive
	-32			Invalid function error
	-33			File not found
	-34			Path not found
	-35			Too many files open
	-36			Access not possible
	-37			Invalid handle number
	-39			Not enough memory
	-40			Invalid memory block address
	-46			Invalid drive spec
	-49			No more files

There may be ones I have missed out and perhaps someone in the know could
let me know . Why -35 is returned when a corrupt program is attempted I
have no idea.

I hope this has been of some use.

Andie Ness . Department of Computer Science 
              EDINBURGH University.

                   ARPA:  csan%ed.itspna@ucl-cs.arpa
                   UUCP:  ...!seismo!mcvax!ukc!itspna!csan
                   JANET: csan@uk.ac.ed.itspna

% These are my own views and any resemblance to any coherent reasoning is
% probably a typo.
%
%  "The back row strikes again!"

t68@nikhefh.UUCP (Jos Vermaseren) (05/19/87)

In article <407@its63b.ed.ac.uk>, csan@its63b.ed.ac.uk (Andie) writes:
> Following a large number of requests, I have decided to post this rather
> than email everyone ...........
> There may be ones I have missed out and perhaps someone in the know could
> let me know . Why -35 is returned when a corrupt program is attempted I
> have no idea.
> 
The error number -66 indicates an invalid program format. In the old
MS-DOS notation this is error number 35. When porting GEM/AES they must
have forgotten to switch the error messages around, or at least this one.
In short: TOS error #35 is usually indicating a corrupt program but I
think I saw it once when I was really out of handles, so the other error
number got ported properly.

Jos Vermaseren
T68@nikhefh.uucp