Copy Link
Add to Bookmark
Report
TOS Errors and Bombs
The enclosed is a list of the most commonly encountered TOS errors/bombs.
ERRORS
- -1 : General Error
- -2 : Drive not ready - time exceeded
- -3 : Unknown command
- -4 : CRC error - disk checks wrong
- -5 : Bad request
- -6 : Seek error - track not found
- -7 : Unknown media - boot sector wrong
- -8 : Sector not found
- -9 : Out of paper
- -10 : Write fault
- -11 : Read fault
- -12 : General error 12
- -13 : Write protected
- -14 : Media change detected
- -15 : Unknown device
- -16 : Bad sector (verify)
- -17 : Insert other disk (request)
- -32 : Invalid function number
- -33 : File not found
- -34 : Path not found
- -35 : Too many open files
- -36 : Access denied
- -37 : Invalid handle
- -39 : Out of memory
- -40 : Invalid memory block address
- -46 : Invalid drive specification
- -49 : No more files
- -64 : GEMDOS range error - seek wrong ?
- -65 : GEMDOS internal error
- -66 : Invalid executable file format
- -67 : Memory block growth failure
BOMBS
- 2 : BUS ERROR - This occurs when a program tries to access a non-existent location in memory.
- 3 : ADDRESS ERROR - This occurs when trying to access a word, long-word or 68000 instruction from an odd-numbered memory location.
- 4 : ILLEGAL INSTRUCTION - This occurs when the CPU tries to execute from a memory location that does NOT contain a valid 68000 instruction.
- 5 : ZERO DIVIDE - A number was divided by zero.
- 6 : CHK INSTRUCTION - 6 bombs is one possible result of a 68000 "chk" instruction; the other is the continuation of any executing program. It is up to a program to replace this vector with some other number.
- 7 : TRAPV INSTRUCTION - 7 bombs will occur if a 68000 "trapv" instruction is executed and an overflow in an arithmetic operation occurs. This vector can also be changed by a program to warn users that an overflow has occurred.
- 8 : PRIVILEGE VIOLATION - Occurs when "supervisory" instructions are attempted in "user" mode.
- 9 : TRACE - The 68000 can be configured to go to a specific address after every machine instruction is executed. If this address does NOT exist you will get 9 bombs.
- 24 : SPURIOUS INTERRUPT - This is when a bus error occurs during a system interrupt.