home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / e / errorsu / Error
Encoding:
Text File  |  1988-01-01  |  41.9 KB  |  960 lines

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