home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsf / ikhg / h / NewErrors < prev    next >
Encoding:
Text File  |  1989-07-11  |  40.4 KB  |  953 lines

  1.         SUBT    Definitions of error strings and numbers => &.Hdr.NewErrors
  2.  
  3. OldOpt  SETA    {OPT}
  4.         OPT     OptNoList+OptNoP1List
  5.  
  6. ; *************** PLEASE KEEP ERRORS IN NUMERIC ORDER. THE MGT ****************
  7.  
  8. ; ***********************************
  9. ; ***    C h a n g e   L i s t    ***
  10. ; ***********************************
  11.  
  12. ; Date       Name   Description
  13. ; ----       ----   -----------
  14. ; 29-Sep-87  SKS    New FileSwitch errors. Removed 30-Sep-87
  15. ; 01-Oct-87  SKS    New FileSwitch kill error
  16. ; 06-Oct-87  BC     ROMFS error(s)
  17. ; 08-Oct-87  BC     ROMFS error(s)
  18. ; 09-Oct-87  NRaine Added Sprite_CantDoSystem error
  19. ; 09-Oct-87  NRaine Added Sprite_BadTranslation error
  20. ; 09-Oct-87  NRaine Added Sprite_BadGreyScale error
  21. ; 09-Oct-87  NRaine Deleted Font_BadScale error
  22. ; 12-Oct-87  BC     ROMFS error(s)
  23. ; 14-Oct-87  APT    Filing system special fields invalid on prepends to Oscli!
  24. ; 14-Oct-87  NRaine Added PrintNotFound error
  25. ; 19-Oct-87  PMF    Intelligent Interfaces error allocated
  26. ; 19-Oct-87  BC     Errors for Ports and Domains (Econet)
  27. ; 27-Oct-87  APT    "No Such SWI" made non-dynamic, 2 RdArgs errors added
  28. ; 29-Oct-87  NRaine Added Sprite_BadSwitchParam error
  29. ; 29-Oct-87  APT    BadRMHeaderField error
  30. ; 30-Oct-87  NRaine Added PrintBadDrawPage error
  31. ; 02-Nov-87  BC     FileToBig added to ROMFS
  32. ; 02-Nov-87  NRaine Added PrintTimeOut error
  33. ; 06-Nov-87  NRaine Added Sprite_BadMerge error
  34. ; 10-Nov-87  SKS    Added Logo errors
  35. ; 12-Nov-87  NRaine Changed Sprite_BadMerge error to Sprite_BadAppend
  36. ; 13-Nov-87  NRaine Added CantCancelQuit error (for quit handler module)
  37. ; 16-Nov-87  APT    IRQ Device errors
  38. ; 24-Nov-87  APT    Heap Locked error
  39. ; 25-Nov-87  NRaine Added WimpBadSyntax (validation strings) error
  40. ; 26-Nov-87  NRaine Added WimpNoTemplate error
  41. ; 26-Nov-87  NRaine Added WimpNoWimpPresent error
  42. ; 10-Dec-87  NRaine Added FontsInUse error
  43. ; 10-Dec-87  NRaine Added WimpInUse error
  44. ; 10-Dec-87  BC     An error chunk allocated to 'Resource'
  45. ; 15-Dec-87  BC     ROMFS error 'OffsetTooBig'
  46. ; 16-Dec-87  SKS    An error chunk for MyoLink
  47. ; 22-Dec-87  NRaine Added BadPathElement and NoCurrentPoint errors
  48. ; 12-Jan-88  APT    Added StackFull error
  49. ; 25-Jan-88  NRaine Added WimpBadPalFile error
  50. ; 25-Jan-88  SKS    Added InvalidErrorBlock error
  51. ; 26-Jan-88  SKS    Changed FileSwitch..Transient error
  52. ; 27-Jan-88  NRaine Added BadStrokeWidth error
  53. ; 28-Jan-88  NRaine Added Reserved error
  54. ; 29-Jan-88  SKS    Added ErrorBlock_SoundSampler,FFT
  55. ; 02-Feb-88  NRaine Removed Sprite_BadSwitchParam
  56. ; 02-Feb-88  NRaine Added Sprite_BadPointerShape
  57. ; 03-Feb-88  NRaine Added WimpBadVersion (R0 invalid on entry to Wimp_Init)
  58. ; 03-Feb-88  SKS    Added ErrorBlock_Arpeggio
  59. ; 08-Feb-88  SKS    Added ErrorBlock_FontAid
  60. ; 08-Feb-88  NRaine Added WimpBadMessageSize and WimpBadReasonCode
  61. ; 08-Feb-88  NRaine Added WimpBadTaskHandle
  62. ; 09-Feb-88  NRaine Added WimpCantKill
  63. ; 09-Feb-88  SKS    Added ErrorBlock_AlliedInteractive
  64. ; 17-Feb-88  TMD    Added Sprite_CantInTeletext
  65. ; 17-Feb-88  APT    Added chunk for shared library
  66. ; 19-Feb-88  NRaine Added WimpCantTask
  67. ; 24-Feb-88  BC+SKS Added DirNotEmpty
  68. ; 01-Mar-88  NRaine Changed WimpNoWimpPresent to WimpNotPresent
  69. ; 02-Mar-88  NRaine Changed WimpBadOp error message
  70. ; 02-Mar-88  NRaine Added WimpOwnerWindow error message
  71. ; 02-Mar-88  BC     Added Remoted, twiddled around with exceptions / abortions
  72. ; 03-Mar-88  TMD    Added Sprite_InvalidSaveArea
  73. ; 03-Mar-88  TMD    Added Sprite_SpriteIsCurrentDest
  74. ; 07-Mar-88  NRaine Added WimpBadMode error
  75. ; 08-Mar-88  SKS    Added CConcepts error blocks
  76. ; 18-Mar-88  SKS    Added Shell errors
  77. ; 30-Mar-88  SKS    Added FSFileTooBig error, amended OSCLI special error
  78. ; 08-Apr-88  SKS    Added FileSwitchKilled error
  79. ; 11-Apr-88  SKS    Rem'd FileSwitchKilled; added CantRMFasterFileSwitch error
  80. ; 11-Apr-88  APT    More Intelligent Interfaces error ids
  81. ; 11-Apr-88  SKS    Added AMSFinesse,Euclid errors
  82. ; 13-Apr-88  SKS    Added UnknownSerialOp and some ASSERTs
  83. ; 21-Apr-88  SKS    Added Sibelius errors
  84. ; 27-Apr-88  BC     Added Syntax & BadCommand errors for FSCLI
  85. ; 04-May-88  SKS    Added FAXPack errors
  86. ; 10-May-88  DJS    Added Draw errors, removed old Draw errors
  87. ; 11-May-88  DJS    Made wording of PathNotFlat error more generally applicable
  88. ; 12-May-88  DJS    More Draw errors added
  89. ; 18-May-88  ???    Removed pre-1.20 changed. Added CED error chunk.
  90. ; 18-May-88  NRaine Added WimpBadTransfer error
  91. ; 20-May-88  TMD    Corrected spelling of 'No room to insert row or coloum',
  92. ;                   changed Sprite_NoRoomToLoad to Sprite_NotEnoughRoom
  93. ; 23-May-88  NRaine Added WimpBadSysInfo error
  94. ; 27-May-88  SKS    Added inconsistent handle set error
  95. ; 27-May-88  DJS    Changed Draw errors for unimplemented facilities
  96. ; 30-May-88  DJS    Added Draw error for overflow during transformation
  97. ; 01-Jun-88  DJS    Added DrawNeedsGraphicsMode error
  98. ; 04-Jun-88  SKS    Added IsAFile error
  99. ; 09-Jun-88  NRaine Added FontCantKill error
  100. ; 13-Jun-88  APT    Added CallbackPending error
  101. ; 21-Jun-88  NRaine Added WimpBadPtrInR1 error
  102. ; 21-Jun-88  NRaine Change WimpBadSysInfo error (bad parameter passed in R0)
  103. ; 29-Jun-88  APT    Removed CallbackPending error
  104. ; 30-Jun-88  APT    Module too old, better RM not found
  105. ; 01-Jul-88  DJS    Shortened some Draw error messages
  106. ; 19-Jul-88  SKS    Added FileSwitchDataLost error
  107. ; 20-Jul-88  SKS    Amended FileSwitchDataLost error
  108. ; 26-Jul-88  SKS    Added AutoCue SWI chunk
  109. ; 01-Aug-88  BC     Aded TypesDontMatch for NetFS
  110. ; 01-Aug-88  SKS    Added WorldMap error chunk
  111. ; 05-Aug-88  NDR    Added FontBadSegment (for outline fonts)
  112. ; 12-Aug-88  SKS    Added BadFileType error
  113. ; 18-Aug-88  APT    RAMFsUnchangeable
  114. ; 19-Aug-88  SKS    Added 6502Emulator error chunk
  115. ; 30-Aug-88  SKS    Added error chunk for Realtime Graphics Language thing
  116. ; 09-Sep-88  SKS    Changed podule error strings
  117. ; 15-Sep-88  SKS    Added DigiTape error chunk
  118. ; 13-Oct-88  SKS    Added PRISMA3 error chunk
  119. ; 24-Oct-88  SKS    Added Pluto error chunk
  120. ; 31-Oct-88  SKS    Added PRES Utilties error chunk
  121. ; 03-Nov-88  SKS    Added BNI error chunk
  122. ; 09-Nov-88  SKS    Added WV error chunk
  123. ; 14-Nov-88  NRaine Added FontBadPrefix error
  124. ; 16-Nov-88  DJS    Removed old printer driver errors, added new ones
  125. ; 22-Nov-88  NRaine Added FontReserved error
  126. ; 28-Nov-88  APT    Updated printer driver errors
  127. ; 28-Nov-88  DJS    Added PrintNoCurrentSprite, corrected printer driver errors
  128. ; 29-Nov-88  DJS    More correction of printer driver errors
  129. ; 06-Dec-88  APT    Added PrintBadRectangle
  130. ; 07-Dec-88  APT    Improved PrintBadRectangle
  131. ; 07-Dec-88  SKS    Added another BNI error chunk
  132. ; 07-Dec-88  APT    Improved PrintBadRectangle again; added PrintRectanglesMiss
  133. ; 10-Jan-89  BC     Added DABS Press Instigator module error block
  134. ; 10-Jan-89  BC     Added Beebug's ISO C module error block
  135. ; 17-Jan-89  APT    Added PrintNoFreeMemory error
  136. ; 23-Jan-89  BC     Added JBComputing's error block
  137. ; 23-Jan-89  BC     Added Simtron's error block
  138. ; 26-Jan-89  BC     Put in a base for the MIDI errors
  139. ; 03-Feb-89  NRaine Added FontBadCharCode
  140. ; 16-Feb-89  JRS    Added 3 MIDI errors
  141. ; 20-Feb-89  BC     Added an error block for Si-Plan Electronics Research
  142. ; 20-Feb-89  BC     Added an error block for Irlam Enterprise Limited
  143. ; 20-Feb-89  BC     Added an error block for Digital Service's Tape thingy
  144. ; 24-Feb-89  BC     Added an error block for Science Frontiers
  145. ; 01-Mar-89  BC     Added an error block for Paul Fray Limited
  146. ; 10-Mar-89  BC     Changed Digital Services second error block name
  147. ; 14-Mar-89  NRaine Added FontNotFound error with font name substitution
  148. ; 17-Mar-89  BC     Added an error block for Pineapple Software
  149. ; 04-Apr-89  DJS    Added two new printer driver errors
  150. ; 13-Apr-89  DJS    (pp NRaine) Changed FontBadPrefix error to substitute
  151. ;                     font name etc.
  152. ; 21-Apr-89  DJS    (pp NRaine) Added WimpBadEscapeState error
  153. ; 15-May-89  JRS    Added MIDI_RxBufferOverflow error
  154. ; 18-May-89  BC     Added BadDate error to NetFS
  155. ; 01-Jun-89  BC     Added ErrorBase_RhiannonLisp for Rhiannon Publishing
  156. ; 05-Jun-89  BC     Added ErrorBase_CCSuperMonochrome for Computer Concepts
  157. ; 11-Jun-89  BC     Changed "Bad control byte value" to "Bad flag byte value"
  158. ; 11-Jun-89  BC     Changed "printer server" to "printer" in NetPrint errors
  159. ; 11-Jun-89  BC     Added new strings for AllPrintersBusy
  160. ; 23-Jun-89  BC     Added ErrorBase_AtomwideLimited
  161. ; 30-Jun-89  BC     Added ErrorBase_Beebug
  162. ; 11-Jul-89  BC     Changed all '"' to "'" in the NetPrint error strings
  163.  
  164. ; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  165. ; A quick note: Bit  31    -> 'desperate' error, usually an exception
  166. ;               Bit  30    defined to be clear
  167. ;               Bits 29-24 sub-error indication, usually 0
  168.  
  169. ; Old Beebon errors
  170.  
  171.  ^ 0
  172.  AddError Escape,           "Escape", 17
  173.  AddError BadMODE,          "Bad MODE", 25
  174.  AddError IsADirectory,     "Object is a directory", 168
  175.  AddError TypesDontMatch,   "Types don't match", 175
  176.  AddError BadRename,        "Bad rename", 176
  177.  AddError BadCopy,          "Bad copy", 177
  178.  AddError OutsideFile,      "Outside file", 183
  179.  AddError AccessViolation,  "Access violation", 189
  180.  AddError TooManyOpenFiles, "Too many open files", 192
  181.  AddError NotOpenForUpdate, "Not open for update", 193
  182.  AddError ObjectLocked,     "Locked", 195
  183.  AddError AlreadyExists,    "Already exists", 196
  184.  AddError BadFileName,      "Bad file name",  204
  185.  AddError FileNotFound,     "File not found", 214
  186.  AddError Syntax,           "Syntax", 220
  187.  AddError BadNoParms,       "Invalid number of parameters", ErrorNumber_Syntax
  188.  AddError TooManyParms,     "Too many parameters",          ErrorNumber_Syntax
  189.  AddError Channel,          "Channel", 222
  190.  AddError EndOfFile,        "End of file", 223
  191.  AddError BadFilingSystemName, "Bad filing system name", 248
  192.  AddError UnknownFilingSystem, "Unknown filing system",  ErrorNumber_BadFilingSystemName
  193.  AddError BadKey,       "Bad key", 251
  194.  AddError BadAddress,   "Bad address", 252
  195.  AddError BadString,    "Bad string", 253
  196.  AddError BadAliasString, "Aliased command is a bad string", ErrorNumber_BadString
  197.  AddError BadParmString,  "Bad character in parameter expansion", ErrorNumber_BadString
  198.  AddError WildCards,  "Wild cards",  253 ; Unfortunate clash
  199.  AddError BadCommand, "Bad command", 254
  200.  
  201.  
  202. ; Relocatable Module errors
  203.  
  204.  ASSERT @ <= &100
  205.  ^ &100
  206.  AddError NotMod, "This is not a relocatable module"
  207.  AddError MHNoRoom, "No room in RMA"
  208.  AddError RMNotFound, "Module '"":CC::CHR:0:CC:""' not found"
  209.  AddError CantKill, "Module is currently active"
  210.  AddError WimpCantKill, "Wimp is currently active", ErrorNumber_CantKill
  211.  AddError FontCantKill, "Font Manager is in use", ErrorNumber_CantKill
  212.  AddError BadModuleReason, ""
  213.  AddError RMNotFoundInROM, "Module is not in ROM"
  214.  AddError ModulePostfix, "'%' in module title"
  215.  AddError NoMoreModules, "No more modules"
  216.  AddError NoMoreIncarnations, "No more incarnations of that module"
  217.  AddError PostfixNeeded, "Postfix not specified"
  218.  AddError IncarnationExists, "Incarnation already exists"
  219.  AddError IncarnationNotFound, "Incarnation not found"
  220.  AddError ChunkNotRM, "Podule chunk is not a relocatable module"
  221.  AddError BadRMHeaderField, "Illegal header field in module"
  222.  AddError ModuleTooOld, "Module '"":CC::CHR:0:CC:""' too old"
  223.  
  224. ; Variables errors
  225.  
  226.  ASSERT @ <= &120
  227.  ^ &120
  228.  AddError BadMacVal, "Bad macro value"
  229.  AddError BadVarNam, "Bad variable name"
  230.  AddError BadVarType, "Bad variable type"
  231.  AddError VarNoRoom, "No room for variable"
  232.  AddError VarCantFind, "Variable not found"
  233.  AddError VarTooLong, "Variable value too long"
  234.  
  235.  
  236.  ASSERT @ <= &140
  237.  ^ &140
  238.  AddError RedirectFail, "Redirection fails"
  239.  AddError StackFull,    "No room on supervisor stack"
  240.  
  241.  
  242. ; Expression errors
  243.  
  244.  ASSERT @ <= &160
  245.  ^ &160
  246.  AddError BadHex,  "Bad hex"
  247.  AddError BadExpr, "Bad expression"
  248.  AddError BadBra,  "Mismatched brackets"
  249.  AddError StkOFlo, "Expression stack overflow"
  250.  AddError MissOpn, "Missing operand"
  251.  AddError MissOpr, "Missing operator"
  252.  AddError BadInt,  "String is not convertible to integer"
  253.  AddError StrOFlo, "String too long"
  254.  AddError NaffItm, "Unknown operand"
  255.  AddError DivZero, "Division by zero"
  256.  AddError BadBase, "Bad base"
  257.  AddError BadNumb, "Bad number"
  258.  AddError NumbTooBig, "Number too big"
  259.  
  260.  
  261. ; Heap errors
  262.  
  263.  ASSERT @ <= &180
  264.  ^ &180
  265.  AddError HeapBadReason,      "Bad reason code"
  266.  AddError HeapFail_Init,      "Can't initialise heap"
  267.  AddError HeapFail_BadDesc,   "Bad heap descriptor"
  268.  AddError HeapFail_BadLink,   "Heap corrupted"
  269.  AddError HeapFail_Alloc,     "Heap Full"
  270.  AddError HeapFail_NotABlock, "Not a heap block"
  271.  AddError HeapFail_BadExtend, "No RAM for extending heap"
  272.  AddError HeapFail_ExcessiveShrink, "Can't shrink heap any further"
  273.  AddError HeapFail_HeapLocked,"Heap Manager busy" 
  274.  
  275.  
  276. ; Vector claim/release errors
  277.  
  278.  ASSERT @ <= &1A0
  279.  ^ &1A0
  280.  AddError BadClaimNum, "Bad vector number"
  281.  AddError NaffRelease, "Bad vector release"
  282.  AddError NaffDevNo,   "Bad device number"
  283.  AddError BadDevVecRel,"Bad device release" 
  284.  
  285.  
  286. ; Environment alteration SWI errors
  287.  
  288.  ASSERT @ <= &1B0
  289.  ^ &1B0
  290.  AddError BadEnvNumber, ""    ; wally environment parameter number
  291.  AddError CantCancelQuit, "Can't delete exit handler"
  292.  
  293. ; Change dynamic area errors
  294.  
  295.  ASSERT @ <= &1C0
  296.  ^ &1C0
  297.  AddError ChDynamCAO, "Can't, application running"
  298.  AddError ChDynamNotAllMoved, "Unable to move memory"
  299.  AddError AplWSpaceInUse, "Memory in use"
  300.  AddError RAMFsUnchangeable, "RAM filing system not empty"
  301.  
  302.  
  303. ; Oscli and other errors
  304.  
  305.  ASSERT @ <= &1E0
  306.  ^ &1E0
  307.  AddError OscliLongLine, "Too long" ; line too long for Oscli
  308.  AddError OscliTooHard,  "Expansion too complex"   ; oscli ran out of buffers
  309.  AddError RCExc,         "Return code limit exceeded"
  310.  AddError RCNegative,    "Negative return code", ErrorNumber_RCExc
  311.  AddError SysHeapFull,   "System heap full"
  312.  AddError BuffOverflow,  "Buffer overflow"
  313.  AddError BadTime,       ""   ; given by wally times in ticker SWIs
  314.  AddError NoSuchSWI,     "SWI not known"
  315.  AddError NoSuchSWI2,    "SWI name not known",  ErrorNumber_NoSuchSWI
  316.  AddError UnImplemented, "This function or procedure unimplemented"
  317.  AddError OutOfRange,    "SWI value out of range for this Module"
  318.  AddError NoOscliSpecials, "Special field not allowed in filing system prefix to OS_CLI"
  319.  AddError BadParameters, "Bad parameters"
  320.  AddError ArgRepeated,   "Argument repeated"
  321.  
  322.  
  323. ; Font errors
  324.  
  325.  ASSERT @ <= &200
  326.  ^ &200
  327.  AddError FontNoRoom,        "Not enough room for Font cache"
  328.  AddError FontCacheFull,     "Font cache full"
  329.  AddError FontNoCache,       "No font cache present"
  330.  AddError FontTooLong,       "String too long"
  331.  AddError Font64K,           "Font definition too large"
  332.  AddError FontPalTooBig,     "Pseudo-palette colour too big"
  333.  AddError FontBadTranBits,   "Invalid number of output bits"
  334.  AddError FontNotEnoughBits, "Not enough bits per pixel in this mode"
  335.  AddError FontNoFont,        "Undefined font handle"
  336.  AddError FontNoPixels,      "No pixel data for this font"
  337.  AddError FontBadFontNumber, "Font handle out of range"
  338.  AddError FontNotFound,      "Font '%' not found"
  339.  AddError FontBadFontFile,   "Illegal font file"
  340.  AddError FontNoHandles,     "No more font handles"
  341.  AddError FontBadCounter,    "Fonts must be read sequentially"
  342.  AddError FontBadCtrlChar,   "Illegal control character in font string"
  343.  AddError FontsInUse,        "Font manager in use"
  344.  AddError FontBadSegment,    "Illegal line segment in outline font"
  345.  AddError FontBadPrefix,     "# - couldn't find font '%'"
  346.  AddError FontReserved,      "Reserved fields must be zero"
  347.  AddError FontBadCharCode,   "Character code out of range"
  348.  
  349.  ^ ErrorNumber_FontNotFound
  350.  AddError FontDataNotFound,  "Font data not found"
  351.  ^ ErrorNumber_FontNotFound
  352.  AddError FontDataNotFound2, "No suitable font data for '%'"
  353.  
  354.  
  355. ; Wimp errors
  356.  
  357.  ASSERT @ <= &280
  358.  ^ &280
  359.  AddError WimpNoClaim,       "Wimp unable to claim work area"
  360.  AddError WimpBadOp,         "Invalid Wimp operation in this context"
  361.  AddError WimpRectFull,      "Rectangle area full"
  362.  AddError WimpTooMany,       "Too many windows"
  363.  AddError WimpTooBig,        "Window definition won't fit"
  364.  AddError WimpDivBy0,        "Division by zero"
  365.  AddError WimpGetRect,       "Get_Rectangle not called correctly"
  366.  AddError WimpFocus,         "Input focus window not found"
  367.  AddError WimpBadHandle,     "Illegal window handle"
  368.  AddError WimpTooMenus,      "Too many menus"
  369.  AddError WimpBadExtent,     "Bad work area extent"
  370.  AddError WimpBadPointer,    "Syntax: *POINTER <0|1|2>"
  371.  AddError WimpNoTemplateFile,"Template file not found"
  372.  AddError WimpBadTemplate,   "Template entry invalid"
  373.  AddError WimpBadFonts,      "Unable to bind font handle"
  374.  AddError WimpBadSyntax,     "Syntax error in validation string"
  375.  AddError WimpNoTasks,       "Too many tasks"
  376.  AddError WimpNoTemplate,    "Template entry not found"
  377.  AddError WimpNotPresent,    "Window manager not present / too old"
  378.  AddError WimpInUse,         "Window manager in use"
  379.  AddError WimpBadPalFile,    "Error in palette file"
  380.  AddError WimpBadVersion,    "Bad version number passed to Wimp_Initialise"
  381.  AddError WimpBadMessageSize,"Message block is too big / not a multiple of 4"
  382.  AddError WimpBadReasonCode, "Illegal reason code given to SendMessage"
  383.  AddError WimpBadTaskHandle, "Illegal task handle"
  384.  AddError WimpCantTask,      "Can't start task from here"
  385.  AddError WimpBadSubMenu,    "Submenus require a parent menu tree"
  386.  AddError WimpOwnerWindow,   "Access to window denied"
  387.  AddError WimpBadMode,       "Bad Wimp mode"
  388.  AddError WimpBadTransfer,   "Wimp transfer out of range"
  389.  AddError WimpBadSysInfo,    "Bad parameter passed to Wimp in R0"
  390.  AddError WimpBadPtrInR1,    "Bad pointer passed to Wimp in R1"
  391.  AddError WimpBadEscapeState,"Wimp_Poll called with escape enabled!"
  392.  
  393.  
  394. ; Convert date and time errors
  395.  
  396.  ASSERT @ <= &2C0
  397.  ^ &2C0
  398.  AddError CDATStackOverflow,    "Stack overflow"
  399.  AddError CDATBufferOverflow,   "Buffer overflow"
  400.  AddError CDATBadField,         "Unknown '%' field"
  401.  
  402.  
  403. ; Econet errors
  404.  
  405.  ASSERT @ <= &300
  406.  ^ &300
  407.  AddError TxReady,          "Tx ready"
  408.  AddError Transmitting,     "Transmitting"
  409.  AddError RxReady,          "Receive block open"
  410.  AddError Receiving,        "Receiving"
  411.  AddError Received,         "Received"
  412.  AddError Transmitted,      "Transmitted OK"
  413.  AddError BadStation,       "Bad station number"
  414.  AddError BadNetwork,       "Bad network number"
  415.  AddError UnableToDefault,  "Full network address required" ; For higher levels
  416.  AddError BadPort,          "Bad port number"
  417.  AddError BadControl,       "Bad flag byte value"
  418.  AddError BadBuffer,        "Bad buffer address"
  419.  AddError BadSize,          "Bad buffer size"
  420.  AddError BadMask,          "Bad mask"
  421.  AddError BadCount,         "Bad count"
  422.  AddError BadDelay,         "Bad delay"
  423.  AddError BadStatus,        "Bad status"
  424.  AddError NoHardware,       "No Econet hardware"
  425.  AddError NoEconet,         "No 'Econet' installed" ; For higher levels
  426.  
  427.  AddError NoMoreDomains,      "No more domains"
  428.  AddError BadDomain,          "Bad domain number"
  429.  AddError UnRegisteredDomain, "Unknown domain"
  430.  AddError PortNotAllocated,   "Port not already allocated"
  431.  AddError PortAllocated,      "Port not unallocated"
  432.  AddError NoMorePorts,        "All ports allocated"
  433.  
  434. ; Some bodges
  435.  AddError NetError1,        "Net error 1", ErrorNumber_NetError
  436.  AddError NetError2,        "Net error 2", ErrorNumber_NetError
  437.  AddError NetError3,        "Net error 3", ErrorNumber_NetError
  438.  
  439.  ASSERT @ <= &340
  440.  ^ &340 ; Loaded Econet transients
  441.  AddError SetStationSyntax, "Syntax: *SetStation <new station number>", ErrorNumber_Syntax
  442.  AddError SetStationFails,  "Fails to update configuration memory"
  443.  AddError GetRegsSyntax,    "Syntax: *GetRegs <station number>", ErrorNumber_Syntax
  444. ; Errors with the bottom byte forced for compatability
  445.  AddError NotPresent,       "Not present", &38A
  446.  AddError NotPresent1,      "Station ", ErrorNumber_NotPresent
  447.  AddError NotPresent2,      " not present", ErrorNumber_NotPresent
  448.  AddError LineJammed,       "Line jammed", &3A0
  449.  AddError NetError,         "Net error", &3A1
  450.  AddError NotListening,     "Not listening", &3A2
  451.  AddError NotListening1,    "Station ", ErrorNumber_NotListening
  452.  AddError NotListening2,    " not listening", ErrorNumber_NotListening
  453.  AddError NoClock,          "No clock", &3A3
  454.  AddError NoReply,          "No reply", &3A5
  455.  AddError NoReply1,         "No reply from station ", ErrorNumber_NoReply
  456.  AddError NoReply2,         "", ErrorNumber_NoReply
  457.  AddError BadEconetHandle,  "Bad handle", &3DE
  458.  
  459. ; FileSwitch errors
  460.  
  461.  ASSERT @ <= &400
  462.  ^ &400
  463.  AddError FileSwitchNoClaim,    "Unable to claim FileSwitch workspace"
  464.  AddError BadFSControlReason,   "Bad FSControl call"
  465.  AddError BadOSFileReason,      "Bad OSFile call"
  466.  AddError BadOSArgsReason,      "Bad OSArgs call"
  467.  AddError BadOSGBPBReason,      "Bad OSGBPB call"
  468.  AddError BadModeForOSFind,     "Bad mode for OSFind"
  469.  AddError NoRoomForTransient,   "No room to run transient"
  470.  AddError ExecAddrNotInCode,    "Execution address not within code"
  471.  AddError ExecAddrTooLow,       "Code runs too low"
  472.  AddError UnknownActionType,    "No action specified for this file type"
  473.  AddError TooManyLevels,        "Too many levels"
  474.  AddError NoSelectedFilingSystem, "No selected filing system"
  475.  AddError CantRemoveFSByNumber, "Can't remove filing system by number"
  476.  AddError UnalignedFSEntry,     "Unaligned filing system entry point"
  477.  AddError UnsupportedFSEntry,   "Filing system does not support this operation"
  478.  AddError FSNotSpecial,         "Filing system does not support special fields"
  479.  AddError CoreNotReadable,      "No readable memory at this address"
  480.  AddError CoreNotWriteable,     "No writeable memory at this address"
  481.  AddError BadBufferSizeForStream, "Bad buffer size"
  482.  AddError NotOpenForReading,    "Not open for reading"
  483.  AddError NotEnoughStackForFSEntry, "Not enough stack to call filing system"
  484.  AddError NothingToCopy,        "Nothing to copy"
  485.  AddError NothingToDelete,      "Nothing to delete"
  486.  AddError FileSwitchCantBeKilledWhilstThreaded, "FileSwitch can not be killed whilst it is threaded"
  487.  AddError InvalidErrorBlock,    "Invalid error block"
  488.  AddError FSFileTooBig,         "File too big" ; Clashed with ROMFS FileTooBig
  489.  AddError CantRMFasterFileSwitch, "Can't RMFaster FileSwitch"
  490.  AddError InconsistentHandleSet,  "Inconsistent handle set"
  491.  AddError IsAFile,              "Object is a file"
  492.  AddError BadFileType,          "Bad file type"
  493.  
  494.  AddError FileSwitchDataLost,   "Data lost", &4AC ; Consistent with ADFS
  495.  
  496.  
  497.  ^ &4F8 ; So high up as to avoid clashes with normal filing system errors
  498.  
  499. ; The following errors are to be used by all filing systems, the bottom byte
  500. ; is the only significant part
  501.  
  502.  AddError NotSupported_Pre, "Bad operation on ", @ :AND: &FF
  503.  AddError NotSupported_Post, ":"
  504.  AddError FSWriteOnly_Pre, "", @ :AND: &FF
  505.  AddError FSWriteOnly_Post, ": is a write only filing system"
  506.  AddError FSReadOnly_Pre, "", @ :AND: &FF
  507.  AddError FSReadOnly_Post, ": is a read only filing system"
  508.  
  509. ; They should be used as follows;
  510. ;      ALIGN
  511. ;      DCD &00010000 + &100*MyFilingSystemNumber + ErrorNumber_NotSupported_Pre
  512. ;      DCB ErrorString_NotSupported_Pre
  513. ;      DCB String_MyFilingSystemName
  514. ;      DCB ErrorString_NotSupported_Post
  515. ;      DCB 0
  516.  
  517.  
  518. ; Podule manager errors
  519.  
  520.  ASSERT @ <= &500
  521.  ^ &500
  522.  
  523.  AddError BadPodule,       "Bad podule number"
  524.  AddError BadSpeed,        "Bad access speed"
  525.  AddError NoPodule,        "No installed podule"
  526.  AddError NotExtended,     "Podule identity is not extended"
  527.  AddError NotAcorn,        "Podule is not 'Acorn'"
  528.  AddError NoLoader,        "No loader to call"
  529.  AddError InLoader,        "Unknown error in loader"
  530.  AddError BadChunk,        "Bad chunk number"
  531.  AddError BadDeviceNumber, "Bad device number"
  532.  AddError BadDeviceType,   "Bad device type"
  533.  AddError RAMConfigSyntax, "Syntax: *RAMConfig <Podule number> [<device> [<type>]]", ErrorNumber_Syntax
  534.  AddError WrongPoduleType, "Wrong podule type"
  535.  AddError ROMBoardSyntax,  "Syntax: *Configure ROMBoard <podule> <device> [<type>]", ErrorNumber_Syntax
  536.  
  537.  
  538. ; Errors generated by podule loaders
  539.  
  540.  ASSERT @ <= &580
  541.  ^ &580
  542.  AddError NotWriteable,         "This podule doesn't support writeable devices"
  543.  AddError AddressRange,         "Address out of range for podule"
  544.  AddError DeviceNotWriteable,   "This device not writeable"
  545.  AddError PoduleReadOnly,       "Read only device"
  546.  AddError AddressTooBig,        "Address too big"
  547.  
  548.  
  549. ; Printer Driver
  550. ;
  551. ; Note that the message associated here with the 'PrintCannotHandle' error is
  552. ; not normally used by the printer driver - instead, it generates a message
  553. ; saying more precisely what it cannot handle.
  554.  
  555.  ASSERT @ <= &5C0
  556.  ^ &5C0
  557.  AddError PrintBadFeatures,  "This printer driver lacks the requested features"
  558.  AddError PrintNoCurrentSprite, "No sprite selected in this print job"
  559.  AddError PrintNoJobSelected,"No current print job"
  560.  AddError PrintNoSuchJob,    "Requested print job doesn't exist"
  561.  AddError PrintNoCurrentPage,"Not printing a page"
  562.  AddError PrintPrintingPage, "Page currently being printed"
  563.  AddError PrintInvalidCopies,"Invalid number of copies requested"
  564.  AddError PrintCannotHandle, "Requested operation invalid for printer drivers"
  565.  AddError PrintBadHalftone,  "Requested halftone size too big"
  566.  AddError PrintCancelled,    "Print cancelled"
  567.  AddError PrintSingularMatrix, "Transformation matrix is singular"
  568.  AddError PrintBadRectangle, "Print area coordinates too large"
  569.  AddError PrintRectanglesMiss,"Nothing to print"
  570.  AddError PrintNoFreeMemory,  "Not enough free memory"
  571.  AddError PrintNotOnePage,    "Print job doesn't contain exactly one page"
  572.  
  573.  AddError PrintNoColour, "This printer driver only drives monochrome printers", ErrorNumber_PrintBadFeatures
  574.  AddError PrintColourNotConfig, "Printer driver not configured for colour output", ErrorNumber_PrintBadFeatures
  575.  AddError PrintNotFullColour, "This printer driver doesn't support the full colour range", ErrorNumber_PrintBadFeatures
  576.  AddError PrintDiscreteColours, "This printer driver only supports a discrete set of colours", ErrorNumber_PrintBadFeatures
  577.  AddError PrintBadFills, "This printer driver doesn't support filled shapes", ErrorNumber_PrintBadFeatures
  578.  AddError PrintBadThickLines, "This printer driver doesn't support thick lines", ErrorNumber_PrintBadFeatures
  579.  AddError PrintNoOverwrite, "This printer driver doesn't support overwriting", ErrorNumber_PrintBadFeatures
  580.  AddError PrintNoScreenDump, "This printer driver cannot do screen dumps", ErrorNumber_PrintBadFeatures
  581.  AddError PrintBadTransform, "This printer driver cannot do arbitrary transformations", ErrorNumber_PrintBadFeatures
  582.  AddError PrintNoIncludedFiles, "This printer driver is unable to insert illustration files", ErrorNumber_PrintBadFeatures
  583.  
  584. ; General OS errors
  585.  
  586.  ASSERT @ <= &600
  587.  ^ &600
  588.  AddError CantStartApplication, "Unable to start application"
  589.  AddError BadCommandOption, "Bad command option"
  590.  AddError UnknownSerialOp,  "Unknown serial operation"
  591.  
  592.  
  593. ; International errors
  594.  
  595.  ASSERT @ <= &640
  596.  ^ &640
  597.  AddError UnknownAlphabet, "Unknown alphabet"
  598.  AddError UnknownCountry,  "Unknown country"
  599.  AddError UnknownKeyboard, "Unknown keyboard"
  600.  
  601.  
  602. ; Sprite errors
  603.  
  604.  ASSERT @ <= &700
  605.  ^ &700
  606.  AddError Sprite_NoWorkSpace,         "No sprite memory", 128
  607.  AddError Sprite_NoRoom,              "No room to get sprite", 130
  608.  AddError Sprite_DoesntExist,         "Sprite doesn't exist", 134
  609.  AddError Sprite_NoSprites,           "No sprites", 131
  610.  AddError Sprite_NotGraphics,         "Not a graphics mode", 129
  611.  AddError Sprite_CantOpenFile,        "Can't open file", 133
  612.  AddError Sprite_NotEnoughRoom,       "Not enough room", 133
  613.  AddError Sprite_WSClaimFailed,       "Sprite workspace claim failed"
  614.  AddError Sprite_NoRoomToMerge,       "Not enough room to add sprite"
  615.  AddError Sprite_Crap2ndPtr,          "Bad 2nd ptr"
  616.  AddError Sprite_InvalidRowOrCol,     "Invalid row or column"
  617.  AddError Sprite_InvalidHeight,       "Invalid height"
  618.  AddError Sprite_InvalidWidth,        "Invalid width"
  619.  AddError Sprite_NoRoomToInsert,      "No room to insert row or column"
  620.  AddError Sprite_SpriteAlreadyExists, "Sprite already exists"
  621.  AddError Sprite_InvalidSpriteMode,   "Invalid sprite mode"
  622.  AddError Sprite_BadReasonCode,       "Bad sprite reason code"
  623.  AddError Sprite_CantDoSystem,        "System sprites not allowed here"
  624.  AddError Sprite_BadTranslation,      "Bad colour translation table"
  625.  AddError Sprite_BadGreyScale,        "Grey-scale only does 16 colours"
  626.  AddError Sprite_BadPointerShape,     "Unsuitable sprite for SetPointerShape"
  627.  AddError Sprite_BadAppend,           "Can't append sprite"
  628.  AddError Sprite_CantInTeletext,      "Can't switch output in teletext mode"
  629.  AddError Sprite_InvalidSaveArea,     "Invalid save area"
  630.  AddError Sprite_SpriteIsCurrentDest, "Sprite is current destination"
  631.  
  632.  
  633. ; Debugger errors
  634.  
  635.  ASSERT @ <= &800
  636.  ^ &800
  637.  AddError Debug_BreakNotFound,        "Breakpoint not found"
  638.  AddError Debug_InvalidValue,         "Invalid value"
  639.  AddError Debug_Resetting,            "Resetting breakpoint"
  640.  AddError Debug_NoRoom,               "No room in breakpoint table"
  641.  AddError Debug_NoBreakpoints,        "No breakpoints set"
  642.  AddError Debug_BadBreakpoint,        "Bad breakpoint"
  643.  AddError Debug_Undefined,            "Undefined breakpoint"
  644.  AddError Debug_NonAligned,           "Unaligned address"
  645.  AddError Debug_NoWorkspace,          "No room for debug module workspace"
  646.  
  647.  
  648. ; BBC IO podule errors
  649.  
  650.  ASSERT @ <= &880
  651.  ^ &880
  652.  AddError NoHardwareAddress,    "Unable to start without hardware address"
  653.  
  654.  
  655. ; ShellCLI module errors
  656.  
  657.  ASSERT @ <= &900
  658.  ^ &900
  659.  AddError ShellCreation,              "Cannot create a new shell"
  660.  AddError ShellRemoval,               "Cannot remove current shell"
  661.  
  662.  
  663. ; Draw module errors
  664.  
  665.  ASSERT @ <= &980
  666.  ^ &980
  667.  AddError NoDrawInIRQMode,       "" ;Stuart says no point in having a string!
  668.  AddError BadDrawReasonCode,     "Bad Draw_ProcessPath reason code"
  669.  AddError ReservedDrawBits,      "Reserved bits not zero"
  670.  AddError InvalidDrawAddress,    "Invalid address"
  671.  AddError BadPathElement,        "Bad path element"
  672.  AddError BadPathSequence,       "Path elements out of order"
  673.  AddError MayExpandPath,         "Operation may change path length"
  674.  AddError PathFull,              "Output path full"
  675.  AddError PathNotFlat,           "Path needs to be flattened"
  676.  AddError BadCapsOrJoins,        "Invalid cap and join specification"
  677.  AddError TransformOverflow,     "Overflow while transforming point"
  678.  AddError DrawNeedsGraphicsMode, "Draw can only plot to graphics modes"
  679.  
  680. ; The following Draw errors is used for all unimplemented Draw facilities
  681.  
  682.  ASSERT @ <= &9FF
  683.  ^ &9FF
  684.  AddError UnimplementedDraw,     "Facility not in this version of Draw"
  685.  ASSERT @ = &A00
  686.  
  687.  
  688. ; Filing System errors should be &0001nnxx where nn is the Filing System number
  689.  
  690. ; ROMFS errors
  691.  
  692.  ASSERT @ <= &10300
  693.  ^ &00010300 ; fs 3
  694.  AddError FileTooBig,           "File too big for device(s)"
  695.  AddError OffsetTooBig,         "Offset too big for device"
  696.  
  697. ; Errors with the bottom byte forced for compatability
  698.  AddError IsAROMFSDirectory,    $ErrorString_IsADirectory, &103A8
  699.  AddError OutsideROMFSFile,     $ErrorString_OutsideFile, &103B7
  700.  AddError ROMFSFileAlreadyOpen, "Only one file open at a time", &103C0
  701.  AddError BadROMFSOption,       "Bad option value", &103CB
  702.  AddError ROMFSFileNotFound,    $ErrorString_FileNotFound, &103D6
  703.  AddError BadROMFSHandle,       "Bad handle", &103DE
  704.  
  705.  
  706. ; NetFS errors
  707.  
  708.  ASSERT @ <= &10500
  709.  ^ &00010500 ; fs 5
  710.  AddError BadName,               "Bad file server name"
  711.  AddError BadCommandCode,        "Bad file server command code"
  712.  AddError UnexpectedCommandCode, "Unexpected file server command code"
  713.  AddError UnknownFunctionCode,   "Unknown function code"
  714.  AddError UnknownStationName,    "Unknown station name"
  715.  AddError UnknownStationNumber,  "Unknown station number"
  716.  AddError StationNotFound,       "Station name not found"
  717.  AddError FileServerNameTooLong, "File server name too long"
  718.  AddError BadFileServerDate,     "Bad date"           
  719.  
  720. ; These errors are grouped here with the filing system ones since
  721. ; they are errors associated with filing system specific transients
  722.  
  723.  ASSERT @ <= &10540
  724.  ^ &00010540 ; fs 5 (Loaded NetFS transient errors)
  725.  
  726.  AddError SetFreeSyntax,     "Syntax: *SetFree <Username> <FreeSpace (in hex)>", ErrorNumber_Syntax
  727.  AddError FSCLISyntax,       "Syntax: *FSCLI <string>", ErrorNumber_Syntax
  728.  
  729. ; Errors with the bottom byte forced for compatability
  730.  
  731.  AddError BadNetRename,  $ErrorString_BadRename, &10500 + ErrorNumber_BadRename
  732.  AddError DirectoryNotEmpty, "Directory not empty", &105B4
  733.  AddError NotLoggedOn,    "Not logged on", &105BF
  734.  AddError NetFSTypesDontMatch, $ErrorString_TypesDontMatch, &10500 + ErrorNumber_TypesDontMatch
  735.  AddError BadNetFSOption, "Bad option value", &105CB
  736.  AddError BadNetFSHandle, "Bad handle", &10500 + ErrorNumber_Channel
  737.  AddError BadFSCLICommand, "Unknown file server command", &10500 + ErrorNumber_BadCommand
  738.  
  739. ; ADFS errors
  740.  
  741.  ASSERT @ <= &10800
  742.  ^ &00010800 ; fs 8
  743.  
  744.  
  745. ; VFS errors
  746.  
  747.  ASSERT @ <= &10A00
  748.  ^ &00010A00 ; fs 10
  749.  
  750.  
  751. ; NetPrint errors
  752.  
  753.  ASSERT @ <= &10C00
  754.  ^ &00010C00 ; fs 12
  755.  AddError PrinterServerNameTooLong, "Printer name too long"
  756.  AddError SingleStream,             "Printer in use"
  757.  AddError AllPrintersBusy,          "No free printer of this type"
  758.  AddError AllPrintersBusyPre1,      "Printer '", ErrorNumber_AllPrintersBusy
  759.  AddError AllPrintersBusyPre2,      "All '", ErrorNumber_AllPrintersBusy
  760.  AddError AllPrintersBusyMid,       "' (", ErrorNumber_AllPrintersBusy
  761.  AddError AllPrintersBusyPost1,     ") ", ErrorNumber_AllPrintersBusy
  762.  AddError AllPrintersBusyPost2,     "' not found", ErrorNumber_AllPrintersBusy
  763.  AddError AllPrintersBusyPost3,     "' printers busy", ErrorNumber_AllPrintersBusy
  764.  
  765.  AddError NetPrinterOffLine,        "Printer offline"
  766.  
  767. ; Errors with the bottom byte forced for compatability
  768.  AddError NetPrinterBusy,           "Printer busy", &10CA6
  769.  AddError NetPrinterJammed,         "Printer jammed", &10CA7
  770.  AddError BadNetPrintHandle,        "Bad handle", &10C00 + ErrorNumber_Channel
  771.  
  772.  
  773.  ASSERT @ <= &10D00
  774.  ^ &00010D00 ; fs 13
  775.  AddError BadNullOp, "Bad operation on null:"
  776.  
  777.  
  778.  ASSERT @ <= &10E00
  779.  ^ &00010E00 ; fs 14
  780.  AddError BadPrinterOp,  "Bad operation on printer:"
  781.  AddError PrinterInUse,  "printer: in use"
  782.  AddError UKPrinterType, "Unknown printer type"
  783.  
  784.  
  785.  ASSERT @ <= &10F00
  786.  ^ &00010F00 ; fs 15
  787.  AddError BadSerialOp,  "Bad operation on serial:"
  788.  AddError SerialInUse,  "serial: in use"
  789.  
  790.  
  791.  ASSERT @ <= &11100
  792.  ^ &00011100 ; fs 17
  793.  AddError BadVduOp, "Bad operation on vdu:"
  794.  
  795.  
  796.  ASSERT @ <= &11200
  797.  ^ &00011200 ; fs 18
  798.  AddError BadRawVduOp, "Bad operation on rawvdu:"
  799.  
  800.  
  801.  ASSERT @ <= &11300
  802.  ^ &00011300 ; fs 19
  803.  AddError BadKbdOp, "Bad operation on kbd:"
  804.  
  805.  
  806.  ASSERT @ <= &11400
  807.  ^ &00011400 ; fs 20
  808.  AddError BadRawKbdOp, "Bad operation on rawkbd:"
  809.  
  810.  
  811. ; DeskFS errors
  812.  
  813.  ASSERT @ <= &11500
  814.  ^ &00011500 ; fs 21
  815.  AddError DeskNotSupported, "Bad operation on DeskFS:"
  816.  
  817.  
  818. ; Sound system errors
  819.  
  820.  ASSERT @ <= &20000
  821.  ^ &00020000
  822. ; Sound Level 0 OSCLI command errors
  823.  AddError BadSoundParameter,"Bad sound command parameter"
  824.  AddError BadSoundChannel,"Bad sound channel number"
  825.  AddError BadSoundStereo,"Bad sound stereo position"
  826.  AddError BadSoundIRQClaim,"Sound Level0 failed to claim IRQ vector"
  827. ; Sound Level 1 only (share some Level 0)
  828.  AddError BadSound1Init,"Unable to claim sufficient Sound Level 1 heap space"
  829.  AddError BadSoundVoice,"Bad sound voice"
  830. ; Sound Level 2 only (share some Level 0)
  831.  AddError BadSound2Init,"Unable to claim sufficient Sound Level 2 heap space"
  832. ; Voices
  833.  AddError BadVoiceInit,"Unable to claim sufficient Sound Voice heap space"
  834.  
  835.  
  836. ; SCSI driver errors
  837.  
  838.  ASSERT @ <= &20100
  839.  ^ &00020100
  840.  AddError SCSI_FailClaim,"SCSI failed to allocate required RAM at initialise"
  841.  AddError SCSI_IDLost,"The SBIC has lost it's SCSI ID"
  842.  AddError SCSI_SBICBusy,"The SBIC is busy performing a command"
  843.  AddError SCSI_PanicMess,"Panic - the SBIC has lost track of things"
  844.  AddError SCSI_CheckAux,"Check Aux register"
  845.  AddError SCSI_MegaText,"An error or situation that is undefined has occurred"
  846.  
  847.  
  848. ; VideoCommands errors
  849.  
  850.  ASSERT @ <= &20200
  851.  ^ &00020200
  852.  AddError Video_FailClaim,"Video failed to claim its workspace"
  853.  AddError Video_BadVpError,"Parameter to VP must be 1 to 5 or X"
  854.  AddError Video_BadFcodeError,"Bad f-code"
  855.  AddError Video_BadSpeedError,"Bad speed parameter"
  856.  
  857.  
  858. ; IIC errors
  859.  
  860.  ASSERT @ <= &20300
  861.  ^ &00020300
  862.  AddError IIC_NoAcknowledge,"No acknowledge from IIC device"
  863.  
  864.  
  865. ; MIDI errors
  866.  ASSERT @ <= &20400
  867.  ^ &00020400
  868.  AddError MIDI_BadParameter, "Bad MIDI command parameter"
  869.  AddError MIDI_TxBufferFull,   "MIDI Transmit buffer is full."
  870.  AddError MIDI_RxFramingError, "MIDI Framing error when byte was received"
  871.  AddError MIDI_RxOverrunError, "MIDI Overrun error when byte was received"
  872.  AddError MIDI_RxBufferOverflowError, "MIDI receive buffer overflowed"
  873.  
  874. ; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  875. ; Exceptions and Abortions
  876.  
  877.  ^ &80000000 ; All start with a 0 in the bottom byte
  878. ErrorBase_MachineExceptions     # &100
  879. ErrorBase_CoProc0               # &100
  880. ErrorBase_FloatingPoint         # &100
  881. ErrorBase_EconetExceptions      # &100
  882.  
  883.  ^ ErrorBase_MachineExceptions
  884.  AddError UndefinedInstruction, "Undefined instruction at &"
  885.  AddError InstructionAbort, "Abort on instruction fetch at &"
  886.  AddError DataAbort, "Abort on data transfer at &"
  887.  AddError AddressException, "Address exception at &"
  888.  AddError UnknownIRQ, "Unknown IRQ at &"
  889.  AddError BranchThrough0, "Branch through zero at &"
  890.  
  891.  ^ ErrorBase_EconetExceptions
  892.  AddError Remoted, "Remoted"
  893.  
  894.  
  895. ; ***************** External authors get &00800000 upwards *******************
  896.  
  897.                          ^ &00800000 ; Sign here for 256 errors
  898.  
  899. ErrorBase_BASICEditor           # &100  ; &00800000 Acorn (Gibson et al.)
  900. ErrorBase_HardCopy              # &100  ; &00800100
  901. ErrorBase_MinervaSystems        # &100  ; &00800200
  902. ErrorBase_FrameGrabber          # &100  ; &00800300 Mike Harrison
  903. ErrorBase_Clares                # &100  ; &00800400
  904. ErrorBase_IEEE488               # &100  ; &00800500 Intelligent Interfaces (they think 800600, sorry chaps)
  905. ErrorBase_Logo                  # &100  ; &00800600 Acornsoft/Logotron
  906. ErrorBase_Resource              # &100  ; &00800700
  907. ErrorBase_MyoLink               # &100  ; &00800800 L van Someren
  908. ErrorBase_SoundSampler          # &100  ; &00800900 DFell
  909. ErrorBase_FFT                   # &100  ; &00800A00 DFell
  910. ErrorBase_Arpeggio              # &100  ; &00800B00 Mike Beecher/EMR
  911. ErrorBase_FontAid               # &100  ; &00800C00 CJE Micros
  912. ErrorBase_AlliedInteract        # &100  ; &00800D00
  913. ErrorBase_CSharedLibrary        # &100  ; &00800E00 Acorn (PLG)
  914. ErrorBase_CCSpell               # &100  ; &00800F00 Computer Concepts
  915. ErrorBase_CCWord                # &100  ; &00801000 Computer Concepts
  916. ErrorBase_CCDraw                # &100  ; &00801100 Computer Concepts
  917. ErrorBase_II16BitPIO            # &100  ; &00801200 Intelligent Interfaces
  918. ErrorBase_II12BitADC            # &100  ; &00801300 Intelligent Interfaces
  919. ErrorBase_IIRS423               # &100  ; &00801400 Intelligent Interfaces
  920. ErrorBase_Finesse               # &100  ; &00801500 AMS
  921. ErrorBase_Euclid                # &100  ; &00801600 Ace computing
  922. ErrorBase_Sibelius              # &100  ; &00801700 Genesis E+T Ltd
  923. ErrorBase_FAXPack               # &100  ; &00801800 Computer Concepts
  924. ErrorBase_CED1401Driver         # &100  ; &00801900 Cambridge Electronic Design
  925. ErrorBase_AutoCue               # &100  ; &00801A00 Capricorn Consultants
  926. ErrorBase_WorldMap              # &100  ; &00801B00 CRFrancis world maps
  927. ErrorBase_6502Emulator          # &100  ; &00801C00 Acorn (SSwales)
  928. ErrorBase_RGL                   # &100  ; &00801D00 Silicon Vision Ltd (Realtime Graphics)
  929. ErrorBase_DigiTape              # &100  ; &00801E00 Digital Services Tape Streamer
  930. ErrorBase_Prisma3               # &100  ; &00801F00 Millipede
  931. ErrorBase_Pluto                 # &100  ; &00802000 Lendac Data Systems
  932. ErrorBase_PRESUtils             # &100  ; &00802100 PRES
  933. ErrorBase_BNIProg               # &100  ; &00802200 Burden Neurological Institute
  934. ErrorBase_WVProducts            # &100  ; &00802300 Wild Vision
  935. ErrorBase_BNILab                # &100  ; &00802400 Burden Neurological Institute
  936. ErrorBase_Instigator            # &100  ; &00802500 DABS Press Instigator module
  937. ErrorBase_BeebugISOC            # &100  ; &00802600 Beebug's ISO C module
  938. ErrorBase_JBComputing           # &100  ; &00802700 John Ballance Computing's SCSI
  939. ErrorBase_Simtron               # &100  ; &00802800 Simtron (Archway)
  940. ErrorBase_SiPlan                # &100  ; &00802900 Si-Plan Electronics Research
  941. ErrorBase_Irlam                 # &100  ; &00802A00 Irlam Enterprise Limited
  942. ErrorBase_DigiTape2             # &100  ; &00802B00 Digital Services
  943. ErrorBase_ScienceFrontiers      # &100  ; &00802C00 Science Frontiers
  944. ErrorBase_PaulFrayLimited       # &100  ; &00802D00 Paul Fray Limited
  945. ErrorBase_PineappleSoftware     # &100  ; &00802E00 Pineapple Software
  946. ErrorBase_RhiannonLisp          # &100  ; &00802F00 Rhiannon Publishing
  947. ErrorBase_CCSuperMonochrome     # &100  ; &00803000 Computer Concepts
  948. ErrorBase_AtomwideLimited       # &100  ; &00803100 Atomwide Limited
  949. ErrorBase_Beebug                # &100  ; &00803200 Beebug
  950.  
  951.         OPT     OldOpt
  952.         END
  953.