home *** CD-ROM | disk | FTP | other *** search
-
- ; A quick note: Bit 31 -> 'desperate' error, usually an exception
- ; Bit 30 defined to be clear
- ; Bits 29-24 sub-error indication, usually 0
-
- ; Old Beebon errors
-
- ^ 0
- AddError Escape, "Escape", 17
- AddError BadMODE, "Bad MODE", 25
- AddError IsADirectory, "Object is a directory", 168 ; &A8
- AddError TypesDontMatch, "Types don't match", 175 ; &AF
- AddError BadRename, "Bad rename", 176 ; &B0
- AddError BadCopy, "Bad copy", 177 ; &B1
- AddError OutsideFile, "Outside file", 183 ; &B7
- AddError AccessViolation, "Access violation", 189 ; BD
- AddError TooManyOpenFiles, "Too many open files", 192 ; &C0
- AddError NotOpenForUpdate, "Not open for update", 193 ; &C1
- AddError FileOpen, "File open", 194 ; &C2
- AddError ObjectLocked, "Locked", 195 ; &C3
- AddError AlreadyExists, "Already exists", 196 ; &C4
- AddError BadFileName, "Bad file name", 204 ; &CC
- AddError FileNotFound, "File not found", 214 ; &D6
- AddError Syntax, "Syntax", 220 ; &DC
- AddError BadNoParms, "Invalid number of parameters", ErrorNumber_Syntax
- AddError TooManyParms, "Too many parameters", ErrorNumber_Syntax
- AddError Channel, "Channel", 222 ; &DE
- AddError EndOfFile, "End of file", 223 ; &DF
- AddError BadFilingSystemName, "Bad filing system name", 248 ; &F8
- AddError UnknownFilingSystem, "Unknown filing system", ErrorNumber_BadFilingSystemName
- AddError BadKey, "Bad key", 251 ; &FB
- AddError BadAddress, "Bad address", 252 ; &FC
- AddError BadString, "Bad string", 253 ; &FD
- AddError BadAliasString, "Aliased command is a bad string", ErrorNumber_BadString
- AddError BadParmString, "Bad character in parameter expansion", ErrorNumber_BadString
- AddError WildCards, "Wild cards", 253 ; &FD Unfortunate clash
- AddError BadCommand, "Bad command", 254 ; &FE
-
-
- ; Relocatable Module errors
-
- ASSERT @ <= &100
- ^ &100
- AddError NotMod, "This is not a relocatable module"
- AddError MHNoRoom, "No room in RMA"
- AddError RMNotFound, "Module '"":CC::CHR:0:CC:""' not found"
- AddError CantKill, "Module is currently active"
- AddError WimpCantKill, "Wimp is currently active", ErrorNumber_CantKill
- AddError FontCantKill, "Font Manager is in use", ErrorNumber_CantKill
- AddError BadModuleReason, ""
- AddError RMNotFoundInROM, "Module is not in ROM"
- AddError ModulePostfix, "'%' in module title"
- AddError NoMoreModules, "No more modules"
- AddError NoMoreIncarnations, "No more incarnations of that module"
- AddError PostfixNeeded, "Postfix not specified"
- AddError IncarnationExists, "Incarnation already exists"
- AddError IncarnationNotFound, "Incarnation not found"
- AddError ChunkNotRM, "Podule chunk is not a relocatable module"
- AddError BadRMHeaderField, "Illegal header field in module"
- AddError ModuleTooOld, "Module '"":CC::CHR:0:CC:""' too old"
-
- ; Variables errors
-
- ASSERT @ <= &120
- ^ &120
- AddError BadMacVal, "Bad macro value"
- AddError BadVarNam, "Bad variable name"
- AddError BadVarType, "Bad variable type"
- AddError VarNoRoom, "No room for variable"
- AddError VarCantFind, "Variable not found"
- AddError VarTooLong, "Variable value too long"
-
-
- ASSERT @ <= &140
- ^ &140
- AddError RedirectFail, "Redirection fails"
- AddError StackFull, "No room on supervisor stack"
-
-
- ; Expression errors
-
- ASSERT @ <= &160
- ^ &160
- AddError BadHex, "Bad hex"
- AddError BadExpr, "Bad expression"
- AddError BadBra, "Mismatched brackets"
- AddError StkOFlo, "Expression stack overflow"
- AddError MissOpn, "Missing operand"
- AddError MissOpr, "Missing operator"
- AddError BadInt, "String is not convertible to integer"
- AddError StrOFlo, "String too long"
- AddError NaffItm, "Unknown operand"
- AddError DivZero, "Division by zero"
- AddError BadBase, "Bad base"
- AddError BadNumb, "Bad number"
- AddError NumbTooBig, "Number too big"
-
-
- ; Heap errors
-
- ASSERT @ <= &180
- ^ &180
- AddError HeapBadReason, "Bad reason code"
- AddError HeapFail_Init, "Can't initialise heap"
- AddError HeapFail_BadDesc, "Bad heap descriptor"
- AddError HeapFail_BadLink, "Heap corrupted"
- AddError HeapFail_Alloc, "Heap Full"
- AddError HeapFail_NotABlock, "Not a heap block"
- AddError HeapFail_BadExtend, "No RAM for extending heap"
- AddError HeapFail_ExcessiveShrink, "Can't shrink heap any further"
- AddError HeapFail_HeapLocked,"Heap Manager busy"
-
-
- ; Vector claim/release errors
-
- ASSERT @ <= &1A0
- ^ &1A0
- AddError BadClaimNum, "Bad vector number"
- AddError NaffRelease, "Bad vector release"
- AddError NaffDevNo, "Bad device number"
- AddError BadDevVecRel,"Bad device release"
-
-
- ; Environment alteration SWI errors
-
- ASSERT @ <= &1B0
- ^ &1B0
- AddError BadEnvNumber, "" ; wally environment parameter number
- AddError CantCancelQuit, "Can't delete exit handler"
-
- ; Change dynamic area errors
-
- ASSERT @ <= &1C0
- ^ &1C0
- AddError ChDynamCAO, "Can't, application running"
- AddError ChDynamNotAllMoved, "Unable to move memory"
- AddError AplWSpaceInUse, "Memory in use"
- AddError RAMFsUnchangeable, "RAM filing system not empty"
-
-
- ; Oscli and other errors
-
- ASSERT @ <= &1E0
- ^ &1E0
- AddError OscliLongLine, "Too long" ; line too long for Oscli
- AddError OscliTooHard, "Expansion too complex" ; oscli ran out of buffers
- AddError RCExc, "Return code limit exceeded"
- AddError RCNegative, "Negative return code", ErrorNumber_RCExc
- AddError SysHeapFull, "System heap full"
- AddError BuffOverflow, "Buffer overflow"
- AddError BadTime, "Invalid time interval" ; given by wally times in
- ; CallAfter/Every
- AddError NoSuchSWI, "SWI not known"
- AddError NoSuchSWI2, "SWI name not known", ErrorNumber_NoSuchSWI
- AddError UnImplemented, "This function or procedure unimplemented"
- AddError OutOfRange, "SWI value out of range for this Module"
- AddError NoOscliSpecials, "Special field not allowed in filing system prefix to OS_CLI"
- AddError BadParameters, "Bad parameters"
- AddError ArgRepeated, "Argument repeated"
-
-
- ; Font errors
-
- ASSERT @ <= &200
- ^ &200
- AddError FontNoRoom, "Not enough room for Font cache"
- AddError FontCacheFull, "Font cache full"
- AddError FontNoCache, "No font cache present"
- AddError FontTooLong, "String too long"
- AddError Font64K, "Font definition too large"
- AddError FontPalTooBig, "Pseudo-palette colour too big"
- AddError FontBadTranBits, "Invalid number of output bits"
- AddError FontNotEnoughBits, "Not enough bits per pixel in this mode"
- AddError FontNoFont, "Undefined font handle"
- AddError FontNoPixels, "No pixel data for this font"
- AddError FontBadFontNumber, "Font handle out of range"
- AddError FontNotFound, "Font '%' not found"
- AddError FontBadFontFile, "Illegal font file"
- AddError FontNoHandles, "No more font handles"
- AddError FontBadCounter, "Fonts must be read sequentially"
- AddError FontBadCtrlChar, "Illegal control character in font string"
- AddError FontsInUse, "Font manager in use"
- AddError FontBadSegment, "Illegal line segment in outline font"
- AddError FontBadPrefix, "# - couldn't find font '%'"
- AddError FontReserved, "Reserved fields must be zero"
- AddError FontBadCharCode, "Character code out of range"
- AddError FontNoBitmaps, "ROM font directory cannot contain bitmaps"
- AddError FontNoBitmaps2, "Can't convert bitmap characters into outlines"
- AddError FontBadMetricsName,"Incorrect font name in %.IntMetrics"
-
- ^ ErrorNumber_FontNotFound
- AddError FontDataNotFound, "Font data not found"
- ^ ErrorNumber_FontNotFound
- AddError FontDataNotFound2, "No suitable font data for '%'"
-
-
- ; Wimp errors
-
- ASSERT @ <= &280
- ^ &280
- AddError WimpNoClaim, "Wimp unable to claim work area"
- AddError WimpBadOp, "Invalid Wimp operation in this context"
- AddError WimpRectFull, "Rectangle area full"
- AddError WimpTooMany, "Too many windows"
- AddError WimpTooBig, "Window definition won't fit"
- AddError WimpDivBy0, "Division by zero"
- AddError WimpGetRect, "Get_Rectangle not called correctly"
- AddError WimpFocus, "Input focus window not found"
- AddError WimpBadHandle, "Illegal window handle"
- AddError WimpTooMenus, "Too many menus"
- AddError WimpBadExtent, "Bad work area extent"
- AddError WimpBadPointer, "Syntax: *POINTER <0|1|2>"
- AddError WimpNoTemplateFile,"Template file not found"
- AddError WimpBadTemplate, "Template entry invalid"
- AddError WimpBadFonts, "Unable to bind font handle"
- AddError WimpBadSyntax, "Syntax error in validation string"
- AddError WimpNoTasks, "Too many tasks"
- AddError WimpNoTemplate, "Template entry not found"
- AddError WimpNotPresent, "Window manager not present / too old"
- AddError WimpInUse, "Window manager in use"
- AddError WimpBadPalFile, "Error in palette file"
- AddError WimpBadVersion, "Bad version number passed to Wimp_Initialise"
- AddError WimpBadMessageSize,"Message block is too big / not a multiple of 4"
- AddError WimpBadReasonCode, "Illegal reason code given to SendMessage"
- AddError WimpBadTaskHandle, "Illegal task handle"
- AddError WimpCantTask, "Can't start task from here"
- AddError WimpBadSubMenu, "Submenus require a parent menu tree"
- AddError WimpOwnerWindow, "Access to window denied"
- AddError WimpBadMode, "Bad Wimp mode"
- AddError WimpBadTransfer, "Wimp transfer out of range"
- AddError WimpBadSysInfo, "Bad parameter passed to Wimp in R0"
- AddError WimpBadPtrInR1, "Bad pointer passed to Wimp in R1"
- AddError WimpBadEscapeState,"Wimp_Poll called with escape enabled!"
- AddError WimpBadIconHandle, "Illegal icon handle"
- AddError WimpBadR3, "Illegal Wimp_Poll pointer in R3"
- AddError NoDotInFilename, "To save, drag the icon to a directory viewer."
-
- ; Convert date and time errors
-
- ASSERT @ <= &2C0
- ^ &2C0
- AddError CDATStackOverflow, "Stack overflow"
- AddError CDATBufferOverflow, "Buffer overflow"
- AddError CDATBadField, "Unknown '%' field"
-
-
- ; Econet errors
-
- ErrorBase_Econet * &300
- ASSERT @ <= ErrorBase_Econet
- ^ ErrorBase_Econet
- AddError TxReady, "Tx ready"
- AddError Transmitting, "Transmitting"
- AddError RxReady, "Receive block open"
- AddError Receiving, "Receiving"
- AddError Received, "Received"
- AddError Transmitted, "Transmitted OK"
- AddError BadStation, "Bad station number"
- AddError BadNetwork, "Bad network number"
- AddError UnableToDefault, "Full network address required" ; For higher levels
- AddError BadPort, "Bad port number"
- AddError BadControl, "Bad flag byte value"
- AddError BadBuffer, "Bad buffer address"
- AddError BadSize, "Bad buffer size"
- AddError BadMask, "Bad mask"
- AddError BadCount, "Bad count"
- AddError BadDelay, "Bad delay"
- AddError BadStatus, "Bad status"
- AddError NoHardware, "No Econet hardware"
- AddError NoEconet, "No 'Econet' installed" ; For higher levels
-
- AddError NoMoreDomains, "No more domains"
- AddError BadDomain, "Bad domain number"
- AddError UnRegisteredDomain, "Unknown domain"
- AddError PortNotAllocated, "Port not already allocated"
- AddError PortAllocated, "Port not unallocated"
- AddError NoMorePorts, "All ports allocated"
-
- ; Loaded Econet transients
- ASSERT @ <= ErrorBase_Econet + &40
- ^ ErrorBase_Econet + &40
- AddError SetStationSyntax, "Syntax: *SetStation <new station number>", ErrorNumber_Syntax
- AddError SetStationFails, "Fails to update configuration memory"
- AddError GetRegsSyntax, "Syntax: *GetRegs <station number>", ErrorNumber_Syntax
- AddError TestEconetSyntax, "Syntax: *TestEconet <varname>", ErrorNumber_Syntax
- AddError SetScrapSyntax, "Syntax: *SetScrap <varname> <non-econet value> <econet value> (<Macro|Eval>)", ErrorNumber_Syntax
-
- ; The Broadcast Loader
- ASSERT @ <= ErrorBase_Econet + &60
- ^ ErrorBase_Econet + &60
- AddError NetFSVectorCorrupt, "Unable to release, not top entry in NetFS entry vector"
- AddError ServerDead, "Server doesn't reply"
- AddError SWIVectorCorrupt, "Unable to release, not top entry in SWI thread"
-
- ; Errors with the bottom byte forced for compatability
- AddError NotPresent, "Not present", &38A
- AddError NotPresent1, "Station ", ErrorNumber_NotPresent
- AddError NotPresent2, " not present", ErrorNumber_NotPresent
- AddError LineJammed, "Line jammed", &3A0
- AddError NetError, "Net error", &3A1
- AddError NotListening, "Not listening", &3A2
- AddError NotListening1, "Station ", ErrorNumber_NotListening
- AddError NotListening2, " not listening", ErrorNumber_NotListening
- AddError NoClock, "No clock", &3A3
- AddError NoReply, "No reply", &3A5
- AddError NoReply1, "No reply from station ", ErrorNumber_NoReply
- AddError NoReply2, "", ErrorNumber_NoReply
- AddError BadEconetHandle, "Bad handle", &3DE
-
- ; Some bodges
- AddError NetError1, "Net error 1", ErrorNumber_NetError
- AddError NetError2, "Net error 2", ErrorNumber_NetError
- AddError NetError3, "Net error 3", ErrorNumber_NetError
-
- ; FileSwitch errors
-
- ASSERT @ <= &400
- ^ &400
- AddError FileSwitchNoClaim, "Unable to claim FileSwitch workspace"
- AddError BadFSControlReason, "Bad FSControl call"
- AddError BadOSFileReason, "Bad OSFile call"
- AddError BadOSArgsReason, "Bad OSArgs call"
- AddError BadOSGBPBReason, "Bad OSGBPB call"
- AddError BadModeForOSFind, "Bad mode for OSFind"
- AddError NoRoomForTransient, "No room to run transient"
- AddError ExecAddrNotInCode, "Execution address not within code"
- AddError ExecAddrTooLow, "Code runs too low"
- AddError UnknownActionType, "No action specified for this file type"
- AddError TooManyLevels, "Too many levels"
- AddError NoSelectedFilingSystem, "No selected filing system"
- AddError CantRemoveFSByNumber, "Can't remove filing system by number"
- AddError UnalignedFSEntry, "Unaligned filing system entry point"
- AddError UnsupportedFSEntry, "Filing system does not support this operation"
- AddError FSNotSpecial, "Filing system does not support special fields"
- AddError CoreNotReadable, "No readable memory at this address"
- AddError CoreNotWriteable, "No writeable memory at this address"
- AddError BadBufferSizeForStream, "Bad buffer size"
- AddError NotOpenForReading, "Not open for reading"
- AddError NotEnoughStackForFSEntry, "Not enough stack to call filing system"
- AddError NothingToCopy, "Nothing to copy"
- AddError NothingToDelete, "Nothing to delete"
- AddError FileSwitchCantBeKilledWhilstThreaded, "FileSwitch can not be killed whilst it is threaded"
- AddError InvalidErrorBlock, "Invalid error block"
- AddError FSFileTooBig, "File too big" ; Clashed with ROMFS FileTooBig
- AddError CantRMFasterFileSwitch, "Can't RMFaster FileSwitch"
- AddError InconsistentHandleSet, "Inconsistent handle set"
- AddError IsAFile, "Object is a file"
- AddError BadFileType, "Bad file type"
-
- AddError FileSwitchDataLost, "Data lost", &4AC ; Consistent with ADFS
-
-
- ^ &4F8 ; So high up as to avoid clashes with normal filing system errors
-
- ; The following errors are to be used by all filing systems, the bottom byte
- ; is the only significant part
-
- AddError NotSupported_Pre, "Bad operation on ", @ :AND: &FF
- AddError NotSupported_Post, ":"
- AddError FSWriteOnly_Pre, "", @ :AND: &FF
- AddError FSWriteOnly_Post, ": is a write only filing system"
- AddError FSReadOnly_Pre, "", @ :AND: &FF
- AddError FSReadOnly_Post, ": is a read only filing system"
-
- ; They should be used as follows;
- ; ALIGN
- ; DCD &00010000 + &100*MyFilingSystemNumber + ErrorNumber_NotSupported_Pre
- ; DCB ErrorString_NotSupported_Pre
- ; DCB String_MyFilingSystemName
- ; DCB ErrorString_NotSupported_Post
- ; DCB 0
-
-
- ; Podule manager errors
-
- ASSERT @ <= &500
- ^ &500
-
- AddError BadPodule, "Bad podule number"
- AddError BadSpeed, "Bad access speed"
- AddError NoPodule, "No installed podule"
- AddError NotExtended, "Podule identity is not extended"
- AddError NotAcorn, "Podule is not 'Acorn'"
- AddError NoLoader, "No loader to call"
- AddError InLoader, "Unknown error in loader"
- AddError BadChunk, "Bad chunk number"
- AddError BadDeviceNumber, "Bad device number"
- AddError BadDeviceType, "Bad device type"
- AddError RAMConfigSyntax, "Syntax: *RAMConfig <Podule number> [<device> [<type>]]", ErrorNumber_Syntax
- AddError WrongPoduleType, "Wrong podule type"
- AddError ROMBoardSyntax, "Syntax: *Configure ROMBoard <podule> <device> [<type>]", ErrorNumber_Syntax
-
-
- ; Errors generated by podule loaders
-
- ASSERT @ <= &580
- ^ &580
- AddError NotWriteable, "This podule doesn't support writeable devices"
- AddError AddressRange, "Address out of range for podule"
- AddError DeviceNotWriteable, "This device not writeable"
- AddError PoduleReadOnly, "Read only device"
- AddError AddressTooBig, "Address too big"
-
-
- ; Printer Driver
- ;
- ; Note that the message associated here with the 'PrintCannotHandle' error is
- ; not normally used by the printer driver - instead, it generates a message
- ; saying more precisely what it cannot handle.
-
- ASSERT @ <= &5C0
- ^ &5C0
- AddError PrintBadFeatures, "This printer driver lacks the requested features"
- AddError PrintNoCurrentSprite, "No sprite selected in this print job"
- AddError PrintNoJobSelected,"No current print job"
- AddError PrintNoSuchJob, "Requested print job doesn't exist"
- AddError PrintNoCurrentPage,"Not printing a page"
- AddError PrintPrintingPage, "Page currently being printed"
- AddError PrintInvalidCopies,"Invalid number of copies requested"
- AddError PrintCannotHandle, "Requested operation invalid for printer drivers"
- AddError PrintBadHalftone, "Requested halftone size too big"
- AddError PrintCancelled, "Print cancelled"
- AddError PrintSingularMatrix, "Transformation matrix is singular"
- AddError PrintBadRectangle, "Print area coordinates too large"
- AddError PrintRectanglesMiss,"Nothing to print"
- AddError PrintNoFreeMemory, "Not enough free memory"
- AddError PrintNotOnePage, "Print job doesn't contain exactly one page"
-
- AddError PrintNoColour, "This printer driver only drives monochrome printers", ErrorNumber_PrintBadFeatures
- AddError PrintColourNotConfig, "Printer driver not configured for colour output", ErrorNumber_PrintBadFeatures
- AddError PrintNotFullColour, "This printer driver doesn't support the full colour range", ErrorNumber_PrintBadFeatures
- AddError PrintDiscreteColours, "This printer driver only supports a discrete set of colours", ErrorNumber_PrintBadFeatures
- AddError PrintBadFills, "This printer driver doesn't support filled shapes", ErrorNumber_PrintBadFeatures
- AddError PrintBadThickLines, "This printer driver doesn't support thick lines", ErrorNumber_PrintBadFeatures
- AddError PrintNoOverwrite, "This printer driver doesn't support overwriting", ErrorNumber_PrintBadFeatures
- AddError PrintNoScreenDump, "This printer driver cannot do screen dumps", ErrorNumber_PrintBadFeatures
- AddError PrintBadTransform, "This printer driver cannot do arbitrary transformations", ErrorNumber_PrintBadFeatures
- AddError PrintNoIncludedFiles, "This printer driver is unable to insert illustration files", ErrorNumber_PrintBadFeatures
-
- ; General OS errors
-
- ASSERT @ <= &600
- ^ &600
- AddError CantStartApplication, "Unable to start application"
- AddError BadCommandOption, "Bad command option"
- AddError UnknownSerialOp, "Unknown serial operation"
-
-
- ; International errors
-
- ASSERT @ <= &640
- ^ &640
- AddError UnknownAlphabet, "Unknown alphabet"
- AddError UnknownCountry, "Unknown country"
- AddError UnknownKeyboard, "Unknown keyboard"
-
-
- ; Sprite errors
-
- ASSERT @ <= &700
- ^ &700
- AddError Sprite_NoWorkSpace, "No sprite memory", 128
- AddError Sprite_NoRoom, "No room to get sprite", 130
- AddError Sprite_DoesntExist, "Sprite doesn't exist", 134
- AddError Sprite_NoSprites, "No sprites", 131
- AddError Sprite_NotGraphics, "Not a graphics mode", 129
- AddError Sprite_CantOpenFile, "Can't open file", 133
- AddError Sprite_NotEnoughRoom, "Not enough room", 133
- AddError Sprite_WSClaimFailed, "Sprite workspace claim failed"
- AddError Sprite_NoRoomToMerge, "Not enough room to add sprite"
- AddError Sprite_Crap2ndPtr, "Bad 2nd ptr"
- AddError Sprite_InvalidRowOrCol, "Invalid row or column"
- AddError Sprite_InvalidHeight, "Invalid height"
- AddError Sprite_InvalidWidth, "Invalid width"
- AddError Sprite_NoRoomToInsert, "No room to insert row or column"
- AddError Sprite_SpriteAlreadyExists, "Sprite already exists"
- AddError Sprite_InvalidSpriteMode, "Invalid sprite mode"
- AddError Sprite_BadReasonCode, "Bad sprite reason code"
- AddError Sprite_CantDoSystem, "System sprites not allowed here"
- AddError Sprite_BadTranslation, "Bad colour translation table"
- AddError Sprite_BadGreyScale, "Grey-scale only does 16 colours"
- AddError Sprite_BadPointerShape, "Unsuitable sprite for SetPointerShape"
- AddError Sprite_BadAppend, "Can't append sprite"
- AddError Sprite_CantInTeletext, "Can't switch output in teletext mode"
- AddError Sprite_InvalidSaveArea, "Invalid save area"
- AddError Sprite_SpriteIsCurrentDest, "Sprite is current destination"
- AddError Sprite_BadFlags, "Attempt to set reserved flags"
- AddError Sprite_BadCoordBlock, "Source rectangle not inside sprite"
- AddError Sprite_BadSourceRectangle, "Source rectangle area zero"
- AddError Sprite_BadTransformation, "SpriteExtend can only do linear transformations"
-
- ; Debugger errors
-
- ASSERT @ <= &800
- ^ &800
- AddError Debug_BreakNotFound, "Breakpoint not found"
- AddError Debug_InvalidValue, "Invalid value"
- AddError Debug_Resetting, "Resetting breakpoint"
- AddError Debug_NoRoom, "No room in breakpoint table"
- AddError Debug_NoBreakpoints, "No breakpoints set"
- AddError Debug_BadBreakpoint, "Bad breakpoint"
- AddError Debug_Undefined, "Undefined breakpoint"
- AddError Debug_NonAligned, "Unaligned address"
- AddError Debug_NoWorkspace, "No room for debug module workspace"
-
- ; HLL Debugger errors
-
- ASSERT @ <= &840
- ^ &840
-
- ; BBC IO podule errors
-
- ASSERT @ <= &880
- ^ &880
- AddError NoHardwareAddress, "Unable to start without hardware address"
-
-
- ; ShellCLI module errors
-
- ASSERT @ <= &900
- ^ &900
- AddError ShellCreation, "Cannot create a new shell"
- AddError ShellRemoval, "Cannot remove current shell"
-
-
- ; Draw module errors
-
- ASSERT @ <= &980
- ^ &980
- AddError NoDrawInIRQMode, "" ;Stuart says no point in having a string!
- AddError BadDrawReasonCode, "Bad Draw_ProcessPath reason code"
- AddError ReservedDrawBits, "Reserved bits not zero"
- AddError InvalidDrawAddress, "Invalid address"
- AddError BadPathElement, "Bad path element"
- AddError BadPathSequence, "Path elements out of order"
- AddError MayExpandPath, "Operation may change path length"
- AddError PathFull, "Output path full"
- AddError PathNotFlat, "Path needs to be flattened"
- AddError BadCapsOrJoins, "Invalid cap and join specification"
- AddError TransformOverflow, "Overflow while transforming point"
- AddError DrawNeedsGraphicsMode, "Draw can only plot to graphics modes"
-
- ; The following Draw errors is used for all unimplemented Draw facilities
-
- ASSERT @ <= &9FF
- ^ &9FF
- AddError UnimplementedDraw, "Facility not in this version of Draw"
- ASSERT @ = &A00
-
- ^ &A00 ; Error block for ColourTrans
- AddError BadCalibrationTable, "Bad calibration table"
- AddError OverflowInConversion, "Overflow in conversion"
-
- ASSERT @ <= &A40
- ^ &A40 ; Error block for ARM3 support module
- AddError ARM3NotPresent, "ARM3 not present"
- AddError UnknownCacheSWI, "Unknown cache SWI number"
-
- ASSERT @ <= &A80
- ^ &A80 ; Error block for TaskWindow
- AddError TaskWindow_CantKill, "A task window is still active"
- AddError TaskWindow_BadSWIEntry, "Can't restore SWI table properly"
- AddError TaskWindow_BadTaskHandle, "Bad task or text handle"
- AddError TaskWindow_Dying, "Task dying"
- AddError TaskWindow_FileSleep, "You can't close that file - a task window is waiting for it"
- AddError TaskWindow_NoEditor, "You need !Edit loaded to get a task window"
-
- ; Filing System errors should be &0001nnxx where nn is the Filing System number
-
- ; ROMFS errors
-
- ASSERT @ <= &10300
- ^ &00010300 ; fs 3
- AddError FileTooBig, "File too big for device(s)"
- AddError OffsetTooBig, "Offset too big for device"
-
- ; Errors with the bottom byte forced for compatability
- AddError IsAROMFSDirectory, $ErrorString_IsADirectory, &103A8
- AddError OutsideROMFSFile, $ErrorString_OutsideFile, &103B7
- AddError ROMFSFileAlreadyOpen, "Only one file open at a time", &103C0
- AddError BadROMFSOption, "Bad option value", &103CB
- AddError ROMFSFileNotFound, $ErrorString_FileNotFound, &103D6
- AddError BadROMFSHandle, "Bad handle", &103DE
-
-
- ; NetFS errors
-
- ErrorBase_NetFS * &00010000 + ( fsnumber_net :SHL: 8 ) ; fs 5
- ASSERT @ <= ErrorBase_NetFS
- ^ ErrorBase_NetFS
-
- AddError BadName, "Bad file server name"
- AddError BadCommandCode, "Bad file server command code"
- AddError UnexpectedCommandCode, "Unexpected file server command code"
- AddError UnknownFunctionCode, "Unknown function code"
- AddError UnknownStationName, "Unknown station name"
- AddError UnknownStationNumber, "Unknown station number"
- AddError StationNotFound, "Station name not found"
- AddError FileServerNameTooLong, "File server name too long"
- AddError BadFileServerDate, "Bad date"
- AddError NetFSInternalError, "Fatal internal error"
- AddError FileServerNotCapable, "Not possible on this file server"
-
- ; These errors are grouped here with the filing system ones since
- ; they are errors associated with filing system specific transients
-
- ASSERT @ <= ErrorBase_NetFS + &40
- ^ ErrorBase_NetFS + &40 ; Loaded NetFS transient errors
-
- AddError SetFreeSyntax, "Syntax: *SetFree <Username> <FreeSpace (in hex)>", ErrorNumber_Syntax
- AddError FSCLISyntax, "Syntax: *FSCLI <string>", ErrorNumber_Syntax
-
- ; Errors with the bottom byte forced for compatability
-
- AddError IsANetFSDirectory, $ErrorString_IsADirectory, ErrorBase_NetFS + ErrorNumber_IsADirectory ; &A8
- AddError NetFSTypesDontMatch, $ErrorString_TypesDontMatch, ErrorBase_NetFS + ErrorNumber_TypesDontMatch ; &AF
- AddError BadNetRename, $ErrorString_BadRename, ErrorBase_NetFS + ErrorNumber_BadRename ; &B0
- AddError DirectoryNotEmpty, "Directory not empty", ErrorBase_NetFS + &B4
- AddError InsufficientNetFSAccess, "Insufficient access", ErrorBase_NetFS + ErrorNumber_AccessViolation ; &BD
- AddError NotLoggedOn, "Not logged on", ErrorBase_NetFS + &BF
- AddError BadNetFSOption, "Bad option value", ErrorBase_NetFS + &CB
- AddError BadNetFSFilename, $ErrorString_BadFilename, ErrorBase_NetFS + ErrorNumber_BadFileName ; &CC
- AddError NetFSFileNotFound, $ErrorString_FileNotFound, ErrorBase_NetFS + ErrorNumber_FileNotFound ; &D6
- AddError BadNetFSHandle, "Bad handle", ErrorBase_NetFS + ErrorNumber_Channel ; &DE
- AddError BadFSCLICommand, "Unknown file server command", ErrorBase_NetFS + ErrorNumber_BadCommand ; &FE
-
- ; ADFS errors
-
- ASSERT @ <= &10800
- ^ &00010800 ; fs 8
-
-
- ; VFS errors
-
- ASSERT @ <= &10A00
- ^ &00010A00 ; fs 10
-
-
- ; NetPrint errors
-
- ASSERT @ <= &10C00
- ^ &00010C00 ; fs 12
- AddError PrinterServerNameTooLong, "Printer name too long"
- AddError SingleStream, "Printer in use"
- AddError AllPrintersBusy, "No free printer of this type"
- AddError AllPrintersBusyPre1, "Printer '", ErrorNumber_AllPrintersBusy
- AddError AllPrintersBusyPre2, "All '", ErrorNumber_AllPrintersBusy
- AddError AllPrintersBusyMid, "' (", ErrorNumber_AllPrintersBusy
- AddError AllPrintersBusyPost1, ") ", ErrorNumber_AllPrintersBusy
- AddError AllPrintersBusyPost2, "' not found", ErrorNumber_AllPrintersBusy
- AddError AllPrintersBusyPost3, "' printers busy", ErrorNumber_AllPrintersBusy
-
- AddError NetPrinterOffLine, "Printer offline"
-
- ; Errors with the bottom byte forced for compatability
- AddError NetPrinterBusy, "Printer busy", &10CA6
- AddError NetPrinterJammed, "Printer jammed", &10CA7
- AddError BadNetPrintHandle, "Bad handle", &10C00 + ErrorNumber_Channel
-
-
- ASSERT @ <= &10D00
- ^ &00010D00 ; fs 13
- AddError BadNullOp, "Bad operation on null:"
-
-
- ASSERT @ <= &10E00
- ^ &00010E00 ; fs 14
- AddError BadPrinterOp, "Bad operation on printer:"
- AddError PrinterInUse, "printer: in use"
- AddError UKPrinterType, "Unknown printer type"
-
-
- ASSERT @ <= &10F00
- ^ &00010F00 ; fs 15
- AddError BadSerialOp, "Bad operation on serial:"
- AddError SerialInUse, "serial: in use"
-
-
- ASSERT @ <= &11100
- ^ &00011100 ; fs 17
- AddError BadVduOp, "Bad operation on vdu:"
-
-
- ASSERT @ <= &11200
- ^ &00011200 ; fs 18
- AddError BadRawVduOp, "Bad operation on rawvdu:"
-
-
- ASSERT @ <= &11300
- ^ &00011300 ; fs 19
- AddError BadKbdOp, "Bad operation on kbd:"
-
-
- ASSERT @ <= &11400
- ^ &00011400 ; fs 20
- AddError BadRawKbdOp, "Bad operation on rawkbd:"
-
-
- ; DeskFS errors
-
- ASSERT @ <= &11500
- ^ &00011500 ; fs 21
-
- AddFSError Desk, NotSupported, DeskFS, fsnumber_deskfs
- AddFSError Desk, FSReadOnly, DeskFS, fsnumber_deskfs
-
- ; SCSIFS errors
-
- ASSERT @ <= &011A00
- ^ &00011A00 ; fs 26
-
- ; NFS errors
-
- ASSERT @ <= &012100
- ^ &00012100 ; fs 31
- AddError NFS_malloc_failed ,"Not enough free memory"
- AddError NFS_no_nameing_host ,"Nameing server not specified"
- AddError NFS_path_no_mount ,"No mount name given for mounting"
- AddError NFS_mount_no_path ,"No mount path given for mounting"
-
- AddError NFS_no_mounting_host ,"File server not specified"
- AddError NFS_no_user ,"There is no user specified - this is an internal inconsistency"
- AddError NFS_duplicate_mount_point ,"Remounting on a given mount name is not allowed - dismount first"
- AddError NFS_no_host_found ,"Host unknown to RISC OS NFS"
-
- AddError NFS_no_mount_point_found ,"Nothing is mounted under that name"
- AddError NFS_no_library ,"No library directory selected"
- AddError NFS_no_previous ,"No previous directory"
- AddError NFS_no_urd ,"No user root directory selected"
-
- AddError NFS_no_current_directory ,"No current directory"
- AddError NFS_no_current_mount_point ,"No current mount point"
- AddError NFS_nfserr_io ,"Hardware I/O error"
- AddError NFS_nfserr_stale ,"Object no longer exists"
-
- ; &012110
- AddError NFS_nfserr_wflush ,"Write cache flushed to disc"
- AddError NFS_nfserr_unknown ,"Unknown NFS error encountered"
- AddError NFS_rpc_failed ,"RPC communication failed"
- AddError NFS_read_direntry_too_soon ,"Internal error - tried to read directory entry before it was obtained from server"
-
- AddError NFS_directory_unset ,"Directory unset"
- AddError NFS_no_opts_for_nfs ,"NFS does not have any *OPT options"
- AddError NFS_func18_not_supported ,"Internal error - NFS does not support FSEntry_Func 18"
- AddError NFS_func20_not_supported ,"Internal error - NFS does not support FSEntry_Func 20"
-
- AddError NFS_flush_not_supported ,"Flush command fed through to NFS - NFS does not support flushing"
- AddError NFS_swi_mount_invalid_parameters ,"Invalid parameters passed to swi NFS_Mount"
- AddError NFS_swi_dismount_ambiguous_parameters ,"Ambiguous parameters passed to swi NFS_Dismount"
- AddError NFS_authorisation_failed ,"Authorisation failed"
-
- AddError NFS_nfserr_BadParameters ,"Bad parameters passed internally"
- AddError NFS_mounterr_unknown ,"Unknown mount error encountered"
-
- ; Errors with the bottom byte forced for compatability
-
- AddError NFS_nfserr_rofs ,"Read only filing system", &01214c
- AddError NFS_nfserr_nxio ,"No such device or address", &0121ac
- AddError NFS_not_a_file ,"Object is not a file", &012100 + ErrorNumber_TypesDontMatch
- AddError NFS_nfserr_nodev ,"No such device", &0121ac
- AddError NFS_BadRENAME ,"Bad RENAME", &0121b0
- AddError NFS_nfserr_notempty ,"Directory not empty", &0121b4
- AddError NFS_outside_file ,"Outside File", &012100 + ErrorNumber_OutsideFile
- AddError NFS_nfserr_perm ,"Not owner - permission denied", &0121bd
- AddError NFS_nfserr_acces ,"Insufficient access", &0121bd
- AddError NFS_nfserr_exist ,"File already exists", &0121c4
- AddError NFS_nfserr_notdir ,"Not a directory", &0121c5
- AddError NFS_nfserr_isdir ,"Is a directory", &0121c5
- AddError NFS_nfserr_fbig ,"File too big", &0121c6
- AddError NFS_nfserr_nospc ,"No space left", &0121c6
- AddError NFS_nfserr_dquot ,"Disc quota exceeded", &0121c6
- AddError NFS_nfserr_nametoolong ,"Name too long", &0121cc
- AddError NFS_nfserr_noent ,"Does not exist", &0121d6
-
- ; Broadcast loader errors
-
- ErrorBase_Loader * &00010000 + ( fsnumber_loader :SHL: 8 ) ; fs 41
- ASSERT @ <= ErrorBase_Loader
- ^ ErrorBase_Loader
-
- AddFSError Loader, NotSupported, BroadcastLoaderUtils, fsnumber_loader
- AddFSError Loader, FSReadOnly, BroadcastLoaderUtils, fsnumber_loader
-
-
- ; ResourceFS errors
-
- ErrorBase_ResourceFS * &00010000 + ( fsnumber_resourcefs :SHL: 8 ) ; fs 46
- ASSERT @ <= ErrorBase_ResourceFS
- ^ ErrorBase_ResourceFS
-
- AddFSError ResourceFS_, NotSupported, Resources, fsnumber_resourcefs
- AddFSError ResourceFS_, FSReadOnly, Resources, fsnumber_resourcefs
- AddError ResourceFS_Registered ,"ResourceFS files already registered"
- AddError ResourceFS_Deregistered ,"ResourceFS files not registered"
-
- ; PipeFS errors
-
- ErrorBase_PipeFS * &00010000 + ( fsnumber_pipefs :SHL: 8 ) ; fs 47
- ASSERT @ <= ErrorBase_PipeFS
- ^ ErrorBase_PipeFS
-
- AddError PipeFS_NoBlocking, "Pipe filing system requires TaskWindow support"
-
- AddError PipeFS_FileOpen, "Pipe open", ErrorBase_PipeFS + ErrorNumber_FileOpen
- AddError PipeFS_FileNotFound, "Pipe not found", ErrorBase_PipeFS + ErrorNumber_FileNotFound
- AddError PipeFS_Channel, $ErrorString_Channel, ErrorBase_PipeFS + ErrorNumber_Channel
-
- AddFSError PipeFS_, NotSupported, Pipe, fsnumber_pipefs
-
- ; Sound system errors
-
- ASSERT @ <= &20000
- ^ &00020000
- ; Sound Level 0 OSCLI command errors
- AddError BadSoundParameter,"Bad sound command parameter"
- AddError BadSoundChannel,"Bad sound channel number"
- AddError BadSoundStereo,"Bad sound stereo position"
- AddError BadSoundIRQClaim,"Sound Level0 failed to claim IRQ vector"
- ; Sound Level 1 only (share some Level 0)
- AddError BadSound1Init,"Unable to claim sufficient Sound Level 1 heap space"
- AddError BadSoundVoice,"Bad sound voice"
- ; Sound Level 2 only (share some Level 0)
- AddError BadSound2Init,"Unable to claim sufficient Sound Level 2 heap space"
- ; Voices
- AddError BadVoiceInit,"Unable to claim sufficient Sound Voice heap space"
-
-
- ; SCSI driver errors
-
- ASSERT @ <= &20100
- ^ &00020100
- AddError SCSI_FailClaim,"SCSI failed to allocate required RAM at initialise"
- AddError SCSI_IDLost,"The SBIC has lost it's SCSI ID"
- AddError SCSI_SBICBusy,"The SBIC is busy performing a command"
- AddError SCSI_PanicMess,"Panic - the SBIC has lost track of things"
- AddError SCSI_CheckAux,"Check Aux register"
- AddError SCSI_MegaText,"An error or situation that is undefined has occurred"
-
-
- ; VideoCommands errors
-
- ASSERT @ <= &20200
- ^ &00020200
- AddError Video_FailClaim,"Video failed to claim its workspace"
- AddError Video_BadVpError,"Parameter to VP must be 1 to 5 or X"
- AddError Video_BadFcodeError,"Bad f-code"
- AddError Video_BadSpeedError,"Bad speed parameter"
-
-
- ; IIC errors
-
- ASSERT @ <= &20300
- ^ &00020300
- AddError IIC_NoAcknowledge,"No acknowledge from IIC device"
-
-
- ; MIDI errors
- ASSERT @ <= &20400
- ^ &00020400
- AddError MIDI_BadParameter, "Bad MIDI command parameter"
- AddError MIDI_TxBufferFull, "MIDI Transmit buffer is full."
- AddError MIDI_RxFramingError, "MIDI Framing error when byte was received"
- AddError MIDI_RxOverrunError, "MIDI Overrun error when byte was received"
- AddError MIDI_RxBufferOverflowError, "MIDI receive buffer overflowed"
-
- ; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- ; Exceptions and Abortions
-
- ^ &80000000 ; All start with a 0 in the bottom byte
- ErrorBase_MachineExceptions # &100
- ErrorBase_CoProc0 # &100
- ErrorBase_FloatingPoint # &100
- ErrorBase_EconetExceptions # &100
-
- ^ ErrorBase_MachineExceptions
- AddError UndefinedInstruction, "Undefined instruction at &"
- AddError InstructionAbort, "Abort on instruction fetch at &"
- AddError DataAbort, "Abort on data transfer at &"
- AddError AddressException, "Address exception at &"
- AddError UnknownIRQ, "Unknown IRQ at &"
- AddError BranchThrough0, "Branch through zero at &"
-
- ^ ErrorBase_EconetExceptions
- AddError Remoted, "Remoted"
-
-
- ; ***************** External authors get &00800000 upwards *******************
-
- ^ &00800000 ; Sign here for 256 errors
-
- ErrorBase_BASICEditor # &100 ; &00800000 Acorn (Gibson et al.)
- ErrorBase_HardCopy # &100 ; &00800100
- ErrorBase_MinervaSystems # &100 ; &00800200
- ErrorBase_FrameGrabber # &100 ; &00800300 Mike Harrison
- ErrorBase_Clares # &100 ; &00800400
- ErrorBase_IEEE488 # &100 ; &00800500 Intelligent Interfaces (they think 800600, sorry chaps)
- ErrorBase_Logo # &100 ; &00800600 Acornsoft/Logotron
- ErrorBase_Resource # &100 ; &00800700
- ErrorBase_MyoLink # &100 ; &00800800 L van Someren
- ErrorBase_SoundSampler # &100 ; &00800900 DFell
- ErrorBase_FFT # &100 ; &00800A00 DFell
- ErrorBase_Arpeggio # &100 ; &00800B00 Mike Beecher/EMR
- ErrorBase_FontAid # &100 ; &00800C00 CJE Micros
- ErrorBase_AlliedInteract # &100 ; &00800D00
- ErrorBase_CSharedLibrary # &100 ; &00800E00 Acorn (PLG)
- ErrorBase_CCSpell # &100 ; &00800F00 Computer Concepts
- ErrorBase_CCWord # &100 ; &00801000 Computer Concepts
- ErrorBase_CCDraw # &100 ; &00801100 Computer Concepts
- ErrorBase_II16BitPIO # &100 ; &00801200 Intelligent Interfaces
- ErrorBase_II12BitADC # &100 ; &00801300 Intelligent Interfaces
- ErrorBase_IIRS423 # &100 ; &00801400 Intelligent Interfaces
- ErrorBase_Finesse # &100 ; &00801500 AMS
- ErrorBase_Euclid # &100 ; &00801600 Ace computing
- ErrorBase_Sibelius # &100 ; &00801700 Genesis E+T Ltd
- ErrorBase_FAXPack # &100 ; &00801800 Computer Concepts
- ErrorBase_CED1401Driver # &100 ; &00801900 Cambridge Electronic Design
- ErrorBase_AutoCue # &100 ; &00801A00 Capricorn Consultants
- ErrorBase_WorldMap # &100 ; &00801B00 CRFrancis world maps
- ErrorBase_6502Emulator # &100 ; &00801C00 Acorn (SSwales)
- ErrorBase_RGL # &100 ; &00801D00 Silicon Vision Ltd (Realtime Graphics)
- ErrorBase_DigiTape # &100 ; &00801E00 Digital Services Tape Streamer
- ErrorBase_Prisma3 # &100 ; &00801F00 Millipede
- ErrorBase_Pluto # &100 ; &00802000 Lendac Data Systems
- ErrorBase_PRESUtils # &100 ; &00802100 PRES
- ErrorBase_BNIProg # &100 ; &00802200 Burden Neurological Institute
- ErrorBase_WVProducts # &100 ; &00802300 Wild Vision
- ErrorBase_BNILab # &100 ; &00802400 Burden Neurological Institute
- ErrorBase_Instigator # &100 ; &00802500 DABS Press Instigator module
- ErrorBase_BeebugISOC # &100 ; &00802600 Beebug's ISO C module
- ErrorBase_JBComputing # &100 ; &00802700 John Ballance Computing's SCSI
- ErrorBase_Simtron # &100 ; &00802800 Simtron (Archway)
- ErrorBase_SiPlan # &100 ; &00802900 Si-Plan Electronics Research
- ErrorBase_Irlam # &100 ; &00802A00 Irlam Enterprise Limited
- ErrorBase_DigiTape2 # &100 ; &00802B00 Digital Services
- ErrorBase_ScienceFrontiers # &100 ; &00802C00 Science Frontiers
- ErrorBase_PaulFrayLimited # &100 ; &00802D00 Paul Fray Limited
- ErrorBase_PineappleSoftware # &100 ; &00802E00 Pineapple Software
- ErrorBase_RhiannonLisp # &100 ; &00802F00 Rhiannon Publishing
- ErrorBase_CCSuperMonochrome # &100 ; &00803000 Computer Concepts
- ErrorBase_AtomwideLimited # &100 ; &00803100 Atomwide Limited
- ErrorBase_Beebug # &100 ; &00803200 Beebug
- ErrorBase_SolentComputers # &100 ; &00803300 Paul Fellows
- ErrorBase_NextTechnology # &100 ; &00803400 NextTechnology
- ErrorBase_FosterFindlay # &100 ; &00803500 Foster Findlay Associates
- ErrorBase_DVSSystems # &100 ; &00803600 DVS Systems
- ErrorBase_SoftOption # &100 ; &00803700 Soft Option
- ErrorBase_Logotron # &100 ; &00803800 Logtron (Numerator & PenDown)
- ErrorBase_Phobox # &100 ; &00803900 Phobox Electronics
- ErrorBase_AngliaTV # &100 ; &00803A00 Anglia TV
- ErrorBase_CunningRunning # &100 ; &00803B00 Cunning Running Software Ltd
- ErrorBase_RacingCarComputers # &100 ; &00803C00 Racing Car Computers
- ErrorBase_PandoraTechnologyLtd # &100 ; &00803D00 Pandora Technology Limited
- ErrorBase_DigithurstLimited # &100 ; &00803E00 Digithurst Limited
- ErrorBase_USARC # &100 ; &00803F00 USARC Software Ontwikkeling
- ErrorBase_ControlComputerCons # &100 ; &00804000 Control Computer Consultants
- ErrorBase_Resource2 # &100 ; &00804100 Resource (as well as the one at &700)
-
- OPT OldOpt
- END
-