NewErrors 86 KB
Newer Older
Ben Avison's avatar
Ben Avison committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
; Copyright 2008 Castle Technology Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; This header file is autogenerated from the files maintained by the
; RISC OS allocations manager and should not be edited by anyone else.

;       SUBT    Definitions of error strings and numbers => &.Hdr.NewErrors

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

; <<< search marker >>>

;
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; 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:Escape", 17             ; &11
        AddError  BadMODE,              "BadMODE:Bad MODE", 25          ; &19
        AddError  NaffMODE,             "Bad MODE", 25                  ; &19
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
        AddError  FSInsufficientSpace,  "Insufficient space", 92        ; &5C FS
        AddError  SRAMBadID,            "Bad id", 128                   ; &80 SRAM
        AddError  GXRCantOpenFile,      "Can't open file", 133          ; &85 GXR
        AddError  GXRMissingComma,      "Missing comma", 135            ; &87 GXR
        AddError  GXRSpriteNosEqual,    "Sprite numbers are equal", 136 ; &88 GXR
        AddError  IEEEOutOfRange,       "Out of range", ErrorNumber_GXRSpriteNosEqual ; IEEEFS
        AddError  GXRBadNumber,         "Bad number", 137               ; &89 GXR
        AddError  IEEENoDevTalked,      "No device talked", ErrorNumber_GXRBadNumber ; IEEEFS
        AddError  IEEENoDevListened,    "No device listened", 138       ; &8A IEEEFS
        AddError  IEEENoBBCDevNo,       "No BBC device number", 139     ; &8B IEEEFS
        AddError  IEEECLEARNotExec,     "CLEAR not executed", 140       ; &8C IEEEFS
        AddError  IEEEStrOFlo,          "String too long", 141          ; &8D IEEEFS
        AddError  Aborted,              "Aborted", 146                  ; &92 ADFS
        AddError  Wont,                 "No!", 147                      ; &93 ADFS
        AddError  VFSDoorOpen,          "Door open", ErrorNumber_Wont   ;     VFS
        AddError  BadParm,              "Bad parameter", 148            ; &94
        AddError  BadCompact,           "Bad compact", ErrorNumber_BadParm ;  ADFS
        AddError  CantDelCsd,           "Can't delete CSD", 150         ; &96 ADFS
        AddError  CantDelLib,           "Can't delete library", 151     ; &97 ADFS
        AddError  CompactReq,           "Compaction required", 152      ; &98 ADFS
        AddError  MapFull,              "Map full", 153                 ; &99 ADFS
        AddError  TFSIllegalOp,         "Illegal operation", 157        ; &9D TFS
        AddError  BBCLineJammed,        "Line jammed", 160              ; &A0
        AddError  BBCNetError,          "Net error", 161                ; &A1
        AddError  BBCNotListening,      "Not listening", 162            ; &A2
        AddError  BBCNoClock,           "No clock", 163                 ; &A3
        AddError  MachineNotPres,       "Machine not present", 164      ; &A4
        AddError  BBCNoReply,           "No reply", 165                 ; &A5
        AddError  RAMDiscTooSmall,      "RAM disc size too small", ErrorNumber_BBCNoReply ; RISC OS RAMFS
        AddError  BBCNetPrinterBusy,    "Printer busy", 166             ; &A6
        AddError  BBCNetPrinterJammed,  "Printer jammed", 167           ; &A7
Ben Avison's avatar
Ben Avison committed
68
        AddError  IsADirectory,         "Object is a directory", 168    ; &A8
69 70 71 72 73 74 75 76 77 78 79 80
        AddError  BrokenDir,            "Broken directory", ErrorNumber_IsADirectory ; ADFS
        AddError  PasswordFileNotFound, "Password file not found", ErrorNumber_IsADirectory ; NFS
        AddError  BadFsMap,             "Bad FS map", 169               ; &A9 ADFS
        AddError  NoDir,                "No directory", ErrorNumber_BadFsMap ; ADFS
        AddError  PSTooLong,            "Too long", ErrorNumber_BadFsMap ;    PS
        AddError  OneBadFsMap,          "Bad sum", 170                  ; &AA ADFS
        AddError  PSWrongPrintType,     "Wrong printer type", ErrorNumber_OneBadFsMap ; PS
        AddError  BBCNetPrinterOffLine, "Printer off line", 171         ; &AB
        AddError  VFSBadMODE,           "Bad MODE", 173                 ; &AD VFS
        AddError  BBCNotLoggedOn,       "Not logged on", 174            ; &AE
        AddError  TypesDontMatch,       "Types don't match", 175        ; &AF FS
        AddError  BadRename,            "Bad rename", 176               ; &B0 ADFS
Ben Avison's avatar
Ben Avison committed
81
        AddError  BadCopy,              "Bad copy",177                  ; &B1
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
        AddError  UserIDExists,         "User id. exists", ErrorNumber_BadCopy ; FS
        AddError  PasswordFileFull,     "Password file full", 178       ; &B2 FS
        AddError  DirFull,              "Dir full", 179                 ; &B3 ADFS
        AddError  DirNotEmpty,          "Dir not empty", 180            ; &B4 ADFS
        AddError  TryLoadDir,           "Trying to load a directory", 181 ; &B5
        AddError  MapRWErr,             "Disc error on map R/W", 182    ; &B6 FS
        AddError  OutsideFile,          "OutsideFile:Outside file", 183 ; &B7 DFS, ADFS
        AddError  TooManyUsers,         "Too many users", 184           ; &B8
        AddError  BadPassword,          "Bad password", 185             ; &B9
        AddError  InsufficientPriv,     "Insufficient privilege", 186   ; &BA
        AddError  IncorrectPassword,    "Incorrect password", 187       ; &BB
        AddError  UserNotKnown,         "User not known", 188           ; &BC
        AddError  AccessViolation,      "Access violation", 189         ; &BD ADFS
        AddError  BBCInsufficientAccess,"Insufficient access", ErrorNumber_AccessViolation
        AddError  NotEnabled,           "Not enabled", ErrorNumber_AccessViolation ; DFS
        AddError  CatFull,              "Cat full", 190                 ; &BE DFS
        AddError  WhoAreYou,            "Who are you?", 191             ; &BF
        AddError  CantExtend,           "Can't extend", ErrorNumber_WhoAreYou ; DFS
        AddError  TooManyOpenFiles,     "Too many open files", 192      ; &C0 DFS, ADFS
        AddError  NotOpenForUpdate,     "Not open for update", 193      ; &C1 ADFS
        AddError  FileReadOnly,         "File read only", ErrorNumber_NotOpenForUpdate ; DFS
Ben Avison's avatar
Ben Avison committed
103
        AddError  FileOpen,             "File open", 194                ; &C2
104 105 106 107 108 109 110 111 112 113 114 115 116 117
        AddError  AlreadyOpen,          "Already open", ErrorNumber_FileOpen ; DFS
        AddError  CantFileOpen,         "Can't - file open", ErrorNumber_FileOpen ; ADFS
        AddError  ObjectLocked,         "Locked", 195                   ; &C3 DFS, ADFS
        AddError  AlreadyExists,        "Already exists", 196           ; &C4 DFS, ADFS
        AddError  DriveFault,           "Drive fault", 197              ; &C5 DFS
        AddError  DiscFull,             "Disc full", 198                ; &C6 DFS, ADFS
        AddError  Disc,                 "Disc error", 199               ; &C7 ADFS
        AddError  DiscFault,            "Disc fault", ErrorNumber_Disc  ;     DFS
        AddError  DiscChanged,          "Disc changed", 200             ; &C8 DFS, ADFS
        AddError  WriteProt,            "Disc protected", 201           ; &C9 ADFS
        AddError  DiscReadOnly,         "Disc read only", ErrorNumber_WriteProt ; DFS
        AddError  DataLost,             "Data lost", 202                ; &CA ADFS
        AddError  BadSum,               "Bad sum", ErrorNumber_DataLost ;     DFS
        AddError  BadOption,            "Bad opt", 203                  ; &CB DFS, ADFS
Ben Avison's avatar
Ben Avison committed
118
        AddError  BadFileName,          "Bad file name", 204            ; &CC
119 120 121 122 123 124 125 126 127 128
        AddError  BBCBadName,           "Bad name", ErrorNumber_BadFileName ; ADFS, DFS, MOS
        AddError  DriveNotReady,        "Drive not ready", 205          ; &CD ADFS
        AddError  BadDrive,             "Bad drive", ErrorNumber_DriveNotReady ; DFS
        AddError  CommFSDoorOpen,       "Door open", ErrorNumber_DriveNotReady ; CommFS
        AddError  BadDir,               "Bad directory", 206            ; &CE DFS
        AddError  BadAtt,               "Bad attribute", 207            ; &CF DFS
        AddError  BadStationNo,         "Bad station number", 208       ; &D0
        AddError  BadNetNo,             "Bad net number", 209           ; &D1
        AddError  WriteOnly,            "Write only", 212               ; &D4
        AddError  CFSLocked,            "Locked", 213                   ; &D5 CFS
Ben Avison's avatar
Ben Avison committed
129
        AddError  FileNotFound,         "File not found", 214           ; &D6
130 131 132 133 134 135
        AddError  BBCNotFound,          "Not found", ErrorNumber_FileNotFound ; ADFS, CFS, DFS
        AddError  BadROM,               "Bad ROM", 215                  ; &D7 SFS
        AddError  Data,                 "Data?", 216                    ; &D8 CFS
        AddError  Header,               "Header?", 217                  ; &D9 CFS??
        AddError  Block,                "Block?", 218                   ; &DA CFS
        AddError  File,                 "File?", 219                    ; &DB CFS
Ben Avison's avatar
Ben Avison committed
136 137 138
        AddError  Syntax,               "Syntax:Syntax", 220            ; &DC
        AddError  BadNoParms,           "Invalid number of parameters", ErrorNumber_Syntax
        AddError  TooManyParms,         "TooManyParms:Too many parameters", ErrorNumber_Syntax
139
        AddError  Address,              "Address", 221                  ; &DD CFS??
Ben Avison's avatar
Ben Avison committed
140 141
        AddError  Channel,              "Channel", 222                  ; &DE
        AddError  EndOfFile,            "End of file", 223              ; &DF
142 143 144 145 146
        AddError  EOF,                  "EOF", ErrorNumber_EndOfFile    ;     ADFS, CFS, DFS
        AddError  Telesoftware,         "Telesoftware error", 234       ; &EA TFS
        AddError  BadNumber,            "Bad number", 240               ; &F0
        AddError  BBCBadHex,            "Bad hex", 241                  ; &F1
        AddError  FX0,                  "", 247                         ; &F7 MOS
Ben Avison's avatar
Ben Avison committed
147 148
        AddError  BadFilingSystemName,  "Bad filing system name", 248   ; &F8
        AddError  UnknownFilingSystem,  "Unknown filing system",  ErrorNumber_BadFilingSystemName
149 150 151 152 153 154
        AddError  NoFilingSystem,       "No filing system", ErrorNumber_BadFilingSystemName
        AddError  NoLanguage,           "No language ROM", 249          ; &F9 MOS
        AddError  KeyInUse,             "Key in use", 250               ; &FA MOS
        AddError  BadKey,               "BadKey:Bad key", 251           ; &FB MOS
        AddError  BadAddress,           "BadAddress:Bad address", 252   ; &FC CFS
        AddError  BadString,            "BadString:Bad string", 253     ; &FD MOS
Ben Avison's avatar
Ben Avison committed
155 156
        AddError  BadAliasString,       "Aliased command is a bad string", ErrorNumber_BadString
        AddError  BadParmString,        "BadParmString:Bad character in parameter expansion", ErrorNumber_BadString
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
        AddError  WildCards,            "Wild cards", 253               ; &FD ADFS Unfortunate clash
        AddError  BadCommand,           "BadCommand:Bad command", 254   ; &FE CFS, MOS
        AddError  Bad,                  "Bad", 255                      ; &FF MOS

; Key to BBC ROMs referenced above:
; CFS    Cassette, but errors apply equally to SFS which uses the same code
; SFS    Serial/Silicon FS, more commonly known as RFS selected with *ROM
; ADFS   Advanced disc
; DFS    Disc
; PS     Print server
; FS     File server
; IEEEFS IEEE488 adapter
; VFS    Video, as used with Domesday
; MOS    The OS itself
; GXR    Graphics extension
; SRAM   SRAM utilities in the Master/B+/Compact
; TFS    Teletext
Ben Avison's avatar
Ben Avison committed
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205


; Relocatable Module errors

 ASSERT @ <= &100
 ^ &100
        AddError  NotMod,               "NotMod:This is not a relocatable module"
        AddError  MHNoRoom,             "MHNoRoom:No room in RMA"
        AddError  RMNotFound,           "RMNotFound:Module not found"
        AddError  CantKill,             "CantKill:Module is currently active"
        AddError  CantKill2,            "Module is currently active", ErrorNumber_CantKill
        AddError  WimpCantKill,         "CantKill" ;"Wimp is currently active", ErrorNumber_CantKill
        AddError2 BadModuleReason,      "BadModuleReason:Unknown OS_Module call"
        AddError2 BadDynamicArea,       "BadDynamicArea:Unknown dynamic area", ErrorNumber_BadModuleReason
        AddError  RMNotFoundInROM,      "RMNotFoundInROM:Module is not in ROM"
        AddError  ModulePostfix,        "ModulePostfix:'%%' in module title"
        AddError  NoMoreModules,        "NoMoreModules:No more modules"
        AddError  NoMoreIncarnations,   "NoMoreIncarnations:No more incarnations of that module"
        AddError  PostfixNeeded,        "PostfixNeeded:Postfix not specified"
        AddError  IncarnationExists,    "IncarnationExists:Incarnation already exists"
        AddError  IncarnationNotFound,  "IncarnationNotFound:Incarnation not found"
        AddError  ChunkNotRM,           "ChunkNotRM:Podule chunk is not a relocatable module"
        AddError2 BadRMHeaderField,     "BadRMHeaderField:Illegal header field in module"
        AddError  ModuleTooOld,         "ModuleTooOld:Module '%0' too old"
        AddError  ModuleBadSWI,         "BadSWI"                        ; Token for internationalised message
        AddError  ModuleInUse,          "ModInUs"                       ; Token for internationalised message
        AddError  BadFilingSystemOperation, "BadFSOp"                   ; Internationalised
        AddError  FilingSystemReadOnly, "FSNoWrt"                       ; Internationalised
        AddError  NotADirectory,        "IsntDir"                       ; Internationalised
        AddError  NaffSWI,              "SWI not known", ErrorNumber_ModuleBadSWI
        AddError  NeedMod,              "Module %0 cannot start without module %1"
        AddError2 RMNot32bit,           "RMNot32bit:Module is not 32-bit compatible", ErrorNumber_BadRMHeaderField
206
        AddError  BadErrPtr,            "BadErrPtr:SWI &%0 returned a bad error pointer"
ROOL's avatar
ROOL committed
207
        AddError  RMAlignment,          "RMAlignment:Bad alignment request"
Ben Avison's avatar
Ben Avison committed
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302

; Variables errors

 ASSERT @ <= &120
 ^ &120
        AddError  BadMacVal,            "BadMacVal:Bad macro value"
        AddError  BadVarNam,            "BadVarNam:Bad variable name"
        AddError  BadVarType,           "BadVarType:Bad variable type"
        AddError  VarNoRoom,            "VarNoRoom:No room for variable"
        AddError  VarCantFind,          "VarCantFind:Variable not found"
        AddError  VarTooLong,           "VarTooLong:Variable value too long"


 ASSERT @ <= &140
 ^ &140
        AddError  RedirectFail,         "RedirectFail:Redirection fails"
        AddError2 StackFull,            "StackFull:No room on supervisor stack"


; Expression errors

 ASSERT @ <= &160
 ^ &160
        AddError  BadHex,               "Bad hex"
        AddError  BadExpr,              "Bad expression"
        AddError  BadBra,               "BadBra:Mismatched brackets"
        AddError  StkOFlo,              "StkOFlo:Expression stack overflow"
        AddError  MissOpn,              "MissOpn:Missing operand"
        AddError  MissOpr,              "MissOpr:Missing operator"
        AddError  BadInt,               "BadInt:String is not convertible to integer"
        AddError  StrOFlo,              "StrOFlo:String too long"
        AddError  NaffItm,              "NaffItm:Unknown operand"
        AddError  DivZero,              "DivZero:Division by zero"
        AddError  BadBase,              "BadBase:Bad base"
        AddError  BadNumb,              "BadNumb:Bad number"
        AddError  NumbTooBig,           "NumbTooBig:Number too big"


; Heap errors

 ASSERT @ <= &180
 ^ &180
        AddError2 HeapBadReason,        "HeapBadReason:Bad reason code"
        AddError2 HeapFail_Init,        "HeapFailInit:Can't initialise heap"
        AddError2 HeapFail_BadDesc,     "BadDesc:Bad heap descriptor"
        AddError2 HeapFail_BadLink,     "BadLink:Heap corrupted"
        AddError  HeapFail_Alloc,       "HeapFailAlloc:Heap Full"
        AddError2 HeapFail_NotABlock,   "NotABlock:Not a heap block"
        AddError2 HeapFail_BadExtend,   "BadExtend:No RAM for extending heap"
        AddError2 HeapFail_ExcessiveShrink, "ExcessiveShrink:Can't shrink heap any further"
        AddError2 HeapFail_HeapLocked,  "Heap Manager busy"

; Territory Manager errors
 ASSERT @ <= &190
 ^ &190
ErrorBase_TerritoryManager # 16

; Vector claim/release errors

 ASSERT @ <= &1A0
 ^ &1A0
        AddError2 BadClaimNum,          "BadClaimNum:Bad vector number"
        AddError2 NaffRelease,          "NaffRelease:Bad vector release"
        AddError2 NaffDevNo,            "NaffDevNo:Bad device number"
        AddError2 BadDevVecRel,         "BadDevVecRel:Bad device release"


; Environment alteration SWI errors

 ASSERT @ <= &1B0
 ^ &1B0
        AddError2 BadEnvNumber,         "BadEnvNumber"                  ; wally environment parameter number
        AddError  CantCancelQuit,       "Can't delete exit handler"

; Change dynamic area errors

 ASSERT @ <= &1C0
 ^ &1C0
        AddError  ChDynamCAO,           "ChDynamCAO:Can't, application running"
        AddError  ChDynamNotAllMoved,   "NotAllMoved:Unable to move memory"
        AddError  AplWSpaceInUse,       "AplWSpaceInUse:Memory in use"
        AddError  RAMFsUnchangeable,    "RAMFsUnchangeable:RAM filing system not empty"
        AddError  AreaAlreadyExists,    "AreaAlreadyExists:Dynamic area already exists"
        AddError  AreaNotOnPageBdy,     "AreaNotOnPageBdy:Base address not on page boundary"
        AddError  OverlappingAreas,     "OverlappingAreas:Overlapping areas"
        AddError  CantAllocateArea,     "CantAllocateArea:Unable to allocate logical address space"
        AddError  CantAllocateLevel2,   "CantAllocateLevel2:Unable to allocate page tables for area"
        AddError  UnknownAreaHandler,   "UnknownAreaHandler:Unknown dynamic area handler call"
        AddError  CantGetPhysMem,       "CantGetPhysMem:Physical memory pages unavailable"
        ;new for RISCOS Ltd from 0x1cb
        AddError  AreaLocked,		"Area Locked"
        AddError  AreaLockCodeWrong,	"Area Lock Code Wrong"
        AddError  ChangeDynReEntered,	"CDA Re-entered"
        AddError  BadOpOnSpareDA,	"Bad Op on sparse DA"
        AddError  FreePoolLocked,	"Free pool locked"
303 304
        AddError  BadDynamicAreaOptions,"BadDynamicAreaOptions:Bad dynamic area options"
        AddError  BadPageNumber,        "BadPageNumber:Bad page number"
305 306 307
        AddError  NoMemChunkAvailable,  "NoMemChunkAvailable:No chunk available"
        AddError  NoRoomForIO,          "NoRoomForIO:No room for IO space"
        AddError  AccessPrivilegeNotFound, "AccessPrivilegeNotFound:Access privilege not found"
Ben Avison's avatar
Ben Avison committed
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332

; Oscli and other errors

 ASSERT @ <= &1E0
 ^ &1E0
        AddError  OscliLongLine,        "OscliLongLine:Too long" ; line too long for Oscli
        AddError  OscliTooHard,         "OscliTooHard:Expansion too complex"   ; oscli ran out of buffers
        AddError  RCExc,                "RCExc:Return code limit exceeded"
        AddError  RCNegative,           "RCNegative:Negative return code", ErrorNumber_RCExc
        AddError  SysHeapFull,          "SysHeapFull:System heap full"
        AddError  BuffOverflow,         "BuffOverflow:Buffer overflow"
        AddError  BadTime,              "BadTime:Invalid time interval"     ; given by wally times in
                                                     ; CallAfter/Every
        AddError  NoSuchSWI,            "NoSuchSWI:SWI not known"
        AddError  NoSuchSWI1,           "NoSuchSWI1:SWI &%0 not known", ErrorNumber_NoSuchSWI
        AddError  NoSuchSWI2,           "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,      "NoOscliSpecials:Special field not allowed in filing system prefix to OS_CLI"
        AddError  BadParameters,        "BadParameters:Bad parameters"
        AddError  ArgRepeated,          "ArgRepeated:Argument repeated"
        AddError  BadReadSysInfo,       "BadReadSysInfo:Unknown OS_ReadSysInfo call"
        AddError  ModeNotAvailable,     "ModeNotAvailable:Screen mode not available"
        AddError  BadPixelDepth,        "BadPixelDepth:Bad pixel depth"
        AddError  BadMSFlags,           "BadMSFlags:Illegal flags in mode selector"
333
        AddError  BadPlatReas,          "BadPlatReas:Unknown OS_PlatformFeatures reason code"
334
        AddError  UnConv,               "UnConv:Unsupported conversion"
335 336
        AddError  ScreenModeBadReason,  "Zonk:Unknown OS_ScreenMode reason code"
        AddError  GDriverNotReg,        "GDNotReg:Graphics driver not registered"
337
        AddError  BadKeyHandler,        "BadKeyHandler:Bad key handler"
338 339
        AddError  BadGDriver,           "BadGDriver:Bad graphics driver number"
        AddError  TooManyGDrivers,      "TooManyGDrivers:Too many graphics drivers"
ROOL's avatar
ROOL committed
340 341 342 343 344
        AddError  AMBNoHandles,         "AMBNoHandles:AMBControl handles exhausted"
        AddError  AMBBadHandle,         "AMBBadHandle:Bad AMBControl handle"
        AddError  AMBBadReason,         "AMBBadReason:Bad AMBControl reason code"
        AddError  AMBInvalidFlags,      "AMBInvalidFlags:Invalid AMB Flags"
        AddError  AMBBadMapSlot,        "AMBBadMapSlot:Bad AMB Map Slot"
Ben Avison's avatar
Ben Avison committed
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441

; Font errors

 ASSERT @ <= &200
 ^ &200
; these errors moved into Font Manager sources

; Wimp errors

 ASSERT @ <= &280
 ^ &280
        AddError2 WimpNoClaim,          "NoClaim"                       ;"Wimp unable to claim work area"
        AddError2 WimpBadOp,            "BadOp"                         ;"Invalid Wimp operation in this context"
        AddError2 WimpRectFull,         "RectFull"                      ;"Rectangle area full"
        AddError  WimpTooMany,          "Too many windows"              ; unused !
        AddError  WimpTooBig,           "TooBig"                        ;"Window definition won't fit"
        AddError  WimpDivBy0,           "Division by zero"              ; unused
        AddError2 WimpGetRect,          "GetRect"                       ;"Get_Rectangle not called correctly"
        AddError  WimpFocus,            "Focus"                         ;"Input focus window not found"
        AddError2 WimpBadHandle,        "BadHandle"                     ;"Illegal window handle"
        AddError  WimpTooMenus,         "TooMenus"                      ;"Too many menus"
        AddError2 WimpBadExtent,        "BadExtent"                     ;"Bad work area extent"
        AddError  WimpBadPointer,       "BadPointer"                    ;"Syntax: *POINTER <0|1|2>"
        AddError2 WimpNoTemplateFile,   "NoTemplateFile"                ;"Template file not found"
        AddError2 WimpBadTemplate,      "BadTemplate"                   ;"Template entry invalid"
        AddError2 WimpBadFonts,         "BadFonts"                      ;"Unable to bind font handle"
        AddError2 WimpBadSyntax,        "BadSyntax"                     ;"Syntax error in validation string"
        AddError  WimpNoTasks,          "NoTasks"                       ;"Too many tasks"
        AddError2 WimpNoTemplate,       "NoTemplate"                    ;"Template entry not found"
        AddError  WimpNotPresent,       "Window manager not present / too old"
        AddError  WimpInUse,            "InUse"                         ;"Window manager in use"
        AddError2 WimpBadPalFile,       "BadPalFile"                    ;"Error in palette file"
        AddError2 WimpBadVersion,       "BadVersion"                    ;"Bad version number passed to Wimp_Initialise"
        AddError2 WimpBadMessageSize,   "BadMessageSize"                ;"Message block is too big / not a multiple of 4"
        AddError2 WimpBadReasonCode,    "BadReasonCode"                 ;"Illegal reason code given to SendMessage"
        AddError2 WimpBadTaskHandle,    "BadTaskHandle"                 ;"Illegal task handle"
        AddError2 WimpCantTask,         "CantTask"                      ;"Can't start task from here"
        AddError2 WimpBadSubMenu,       "BadSubMenu"                    ;"Submenus require a parent menu tree"
        AddError2 WimpOwnerWindow,      "OwnerWindow"                   ;"Access to window denied"
        AddError  WimpBadMode,          "BadMode"                       ;"Bad Wimp mode"
        AddError2 WimpBadTransfer,      "BadTransfer"                   ;"Wimp transfer out of range"
        AddError2 WimpBadSysInfo,       "BadSysInfo"                    ;"Bad parameter passed to Wimp in R0"
        AddError2 WimpBadPtrInR1,       "BadPtrInR1"                    ;"Bad pointer passed to Wimp in R1"
        AddError2 WimpBadEscapeState,   "BadEscapeState"                ;"Wimp_Poll called with escape enabled!"
        AddError2 WimpBadIconHandle,    "BadIconHandle"                 ;"Illegal icon handle"
        AddError  WimpBadR3,            "BadR3"                         ;"Illegal Wimp_Poll pointer in R3"
        AddError  NoDotInFilename,      "To save, drag the icon to a directory viewer."
        AddError2 TemplateEOF,          "TemplateEOF"                   ;"End of file while reading template file."
        AddError  WimpBadSlot,          "BadSlot"                       ; Wimp transfer required paging in beyond end of slot
        AddError  WimpBadConfFont,      "BadConfFont"                   ; bad configuration font
        AddError  WimpNoSprites,        "NoSprites"                     ; Not enough room for sprites.
        AddError  WimpBadPalFile2,      "BadPalFile2"
        AddError  WimpBadSprites,       "BadSprites:Squashed or missing sprite file"
        AddError  WimpBadParent,        "BadParent:Bad parent window"

; Convert date and time errors

 ASSERT @ <= &2C0
 ^ &2C0
        AddError2 CDATStackOverflow,    "CDATStackOverflow:Stack overflow"
        AddError2 CDATBufferOverflow,   "CDATBufferOverflow:Buffer overflow"
        AddError2 CDATBadField,         "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"
        AddError  NoNetworkAccess,      "No access to network"
        AddError2 EconetInternalError,  "Fatal internal error"
        AddError  NoEconetInterrupt,    "Hardware fault in Econet Interface"
442
        AddError  AUNNotConfigured,     "AUN not configured"
Ben Avison's avatar
Ben Avison committed
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675

 ; Loaded Econet transients
        ASSERT    @ <= ErrorBase_Econet + &40
        ^         ErrorBase_Econet + &40
        AddError  SetStationSyntax,     "Syntax: *SetStation (<new station number>)", ErrorNumber_Syntax
        AddError  SetStationFails,      "Failed 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
        AddError2 NetFSVectorCorrupt,   "Unable to release, not top entry in NetFS entry vector"
        AddError2 SWIVectorCorrupt,     "Unable to release, not top entry in SWI thread"
        AddError2 WorkspaceNotReleased, "Workspace not released"
        AddError  BLDisabled,           "Broadcast Loader is disabled by configuration"

; 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
        AddError2 FileSwitchNoClaim,    "Unable to claim FileSwitch workspace"
        AddError2 BadFSControlReason,   "Bad FSControl call"
        AddError2 BadOSFileReason,      "Bad OSFile call"
        AddError2 BadOSArgsReason,      "Bad OSArgs call"
        AddError2 BadOSGBPBReason,      "Bad OSGBPB call"
        AddError2 BadModeForOSFind,     "Bad mode for OSFind"
        AddError2 NoRoomForTransient,   "No room to run transient"
        AddError2 ExecAddrNotInCode,    "Execution address not within code"
        AddError2 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"
        AddError2 UnalignedFSEntry,     "Unaligned filing system entry point"
        AddError2 UnsupportedFSEntry,   "Filing system does not support this operation"
        AddError2 FSNotSpecial,         "Filing system does not support special fields"
        AddError2 CoreNotReadable,      "No readable memory at this address"
        AddError2 CoreNotWriteable,     "No writable memory at this address"
        AddError2 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"
        AddError2 InvalidErrorBlock,    "Invalid error block"
        AddError  FSFileTooBig,         "File too big" ; Clashed with ROMFS FileTooBig
        AddError  CantRMFasterFileSwitch, "Can't RMFaster FileSwitch"
        AddError2 InconsistentHandleSet,  "Inconsistent handle set"
        AddError  IsAFile,              "Object is a file"
        AddError  BadFileType,          "Bad file type"
        AddError  LibrarySomewhereElse, "The library is somewhere else"
        AddError  PathIsSelfContradictory, "Path is self contradictory"
        AddError  WasntDollarAfterDisc, "Disc was specified, but absolute wasn't $"
        AddError  NotEnoughMemoryForWildcardResolution, "Not enough memory for wildcard resolution"
        AddError  NotEnoughStackForWildcardResolution, "Not enough stack for wildcard resolution"
        AddError  DirectoryWantedFileFound, "Directory wanted, but file found"
        AddError  NotFound,             "Not found", &0100D6
        AddError  MultipartPathUsed,    "Path variable had multiple entries and was used for a write operation"
        AddError  RecursivePath,        "One of the path variables used refers to itself"
        AddError2 MultiFSDoesNotSupportGBPB11, "The OS_GBPB 11 call is not supported by image filing systems"

        AddError  FileSwitchDataLost,   "Data lost", &4AC ; Consistent with ADFS
        AddError2 TooManyErrorLookups,  "Too many error lookups happening at once - recursion assumed"
        AddError  MessageFileBusy,      "FileSwitch message file busy"
        AddError  PartitionBusy,        "Partition not ready"


 ^ &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  BadPod,               "Bad expansion card identifier"
        AddError  BadSpeed,             "Bad access speed"
        AddError  NoPod,                "No installed expansion card"
        AddError  NotExt,               "Expansion card identity is not extended"
        AddError  NotAcrn,              "Expansion card is not Acorn conformant"
        AddError  NoLdr,                "No loader to call"
        AddError  InLdr,                "Unknown error in loader"
        AddError  BadChnk,              "Bad chunk number"
        AddError  BadDeviceNumber,      "Bad device number"
        AddError  BadDeviceType,        "Bad device type"
        AddError  RAMConfigSyntax,      "Syntax: *RAMConfig <expansion card number> [<device> [<type>]]", ErrorNumber_Syntax
        AddError  WrongPoduleType,      "Wrong expansion card type"
        AddError  ROMBoardSyntax,       "Syntax: *Configure ROMBoard <expansion card> <device> [<type>]", ErrorNumber_Syntax
        AddError  BadRead,              "Unknown bit set in ReadInfo"
        AddError  BdSpeed,              "Unknown value for speed setting"
        AddError  NotEASI,              "This expansion card has no EASI space"
        AddError  SpeedNo,              "Requested speed setting not available for this expansion card"
        AddError  ECNoSpd,              "This expansion card does not suport speed setting"
        AddError  ECNoNet,              "This expansion card may not use the Ethernet address"
        AddError  NDallas,              "This computer can't provide a valid Ethernet address"
        AddError  Ldr26,		"Loader is not 32-bit compatible"

; Errors generated by podule loaders

 ASSERT @ <= &580
 ^ &580
        AddError  NotWriteable,         "This expansion card doesn't support writable devices"
        AddError  AddressRange,         "Address out of range for expansion card"
        AddError  DeviceNotWriteable,   "This device not writable"
        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  PrintInUse,           "PDriver in use"
        AddError  PrintOverflow,        "Buffer overflow"
        AddError  PrintBadMiscOp,       "Unknown call to MiscOp"
        AddError  PrintNoDuplicates,    "Font name already registered"

        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
        AddError  PrintNoCurrentDriver, "No current printer driver selected"
        AddError  PrintUnknownNumber,   "Desired printer driver not present"
        AddError  PrintDuplicateNumber, "Printer number already used"
        AddError  PrintBadSetPrinter,   "This printer driver does not support PDriver_SetPrinter"

        AddError  PDumperUndeclared,    "PDumperXX module has not been declared"
        AddError  PDumperTooOld,        "PDumper module is too old for declaring PDumperXX module"
        AddError  PDumperDuplicateModule, "PDumperXX number already used"
        AddError  PDumperBadCall,       "Bad call to PDumperXX module"
        AddError  PDumperBadStrip,      "Bad strip type specified to PDumperXX module"
        AddError  PDumperBadPalette,    "Cannot open palette file"
        AddError  PDumperNotLinked,     "Block not linked to specified anchor word"
        AddError  PDumperReserved,      "Reserved fields must be zero"
        AddError  PDumperBadOutputType, "Bad output type specified"
        AddError  PDumperBlockNotFound, "Block not found"
        AddError  PDumperInUse,         "PDumper in use"

; OSS New cannot handle stuff for internationalisation

        AddError  PrintCantPrinterVDU,  "Printer drivers cannot handle VDU printer sequences (VDU 1 and 2)", ErrorNumber_PrintCannotHandle
        AddError  PrintCantVDU4,        "Printer drivers cannot handle VDU 4 characters", ErrorNumber_PrintCannotHandle
        AddError  PrintCantModeChange,  "Printer drivers cannot handle mode changes", ErrorNumber_PrintCannotHandle
        AddError  PrintCantThisVDU23,   "Printer drivers cannot handle the specified VDU 23 sequence", ErrorNumber_PrintCannotHandle
        AddError  PrintCantHorizFill,   "Printer drivers cannot handle horizontal line fills", ErrorNumber_PrintCannotHandle
        AddError  PrintCantFloodFill,   "Printer drivers cannot handle flood fills", ErrorNumber_PrintCannotHandle
        AddError  PrintCantCopyMove,    "Printer drivers cannot handle block copy/moves", ErrorNumber_PrintCannotHandle
        AddError  PrintCantUndefPlot,   "Printer drivers cannot handle undefined plots", ErrorNumber_PrintCannotHandle
        AddError  PrintCantFontSpriteVDU, "Printer drivers cannot handle font and sprite VDU sequences", ErrorNumber_PrintCannotHandle
        AddError  PrintCantUnkColV,     "Printer drivers cannot handle unknown ColourV reason codes", ErrorNumber_PrintCannotHandle
        AddError  PrintCantDrawPlot,    "Printer drivers cannot handle Draw_ProcessPath plotting calls", ErrorNumber_PrintCannotHandle
        AddError  PrintCantThisFill,    "Printer drivers cannot handle the requested fill style", ErrorNumber_PrintCannotHandle
        AddError  PrintCantUnkSpriteOp, "Printer drivers cannot handle unknown OS_SpriteOp reason codes", ErrorNumber_PrintCannotHandle
        AddError  PrintCantThisSpriteOp, "Printer drivers cannot handle the requested OS_SpriteOp reason code", ErrorNumber_PrintCannotHandle
        AddError  PrintCantThisFontPaint, "Printer drivers cannot handle the requested Font_Paint control sequence", ErrorNumber_PrintCannotHandle

        AddError  PrintJPEGNoSupp,   "Printer drivers cannot handle JPEG plots from file"
        AddError  PrintJPEGOldSprEx, "Printing JPEG requires newer SpriteExtend module"
        AddError  PDumperEscDisabled, "PDumper module called with escape disabled"

; General OS errors

 ASSERT @ <= &600
 ^ &600
        AddError  CantStartApplication, "Unable to start application"
        AddError  BadCommandOption,     "Bad command option"
        AddError  UnknownSerialOp,      "Unknown serial operation"
        AddError  BadHard,              "BadHard"                       ; "Unsupported hardware configuration"
676
        AddError  TooComplex,           "TooComplex:Transfer too complex"
Ben Avison's avatar
Ben Avison committed
677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721


; International errors

 ASSERT @ <= &640
 ^ &640
        AddError  UnknownAlphabet,      "Unknown alphabet"
        AddError  UnknownCountry,       "Unknown country"
        AddError  UnknownKeyboard,      "Unknown keyboard"


; Sprite errors

 ASSERT @ <= &700
 ^ &700
        AddError2 Sprite_NoWorkSpace,   "SNoWorkSpace:No sprite memory", 128
        AddError2 Sprite_NoRoom,        "SNoRoom:No room to get sprite", 130
        AddError  Sprite_DoesntExist,   "SDoesntExist:Sprite doesn't exist", 134
        AddError2 Sprite_NoSprites,     "NoSprites:No sprites", 131
        AddError2 Sprite_NotGraphics,   "NotGraphics:Not a graphics mode", 129
        AddError2 Sprite_NotEnoughRoom, "SNotEnoughRoom:Not enough room", 133
        AddError2 Sprite_BadSpriteFile, "SBadSpriteFile:Bad sprite file"
        AddError2 Sprite_NoRoomToMerge, "SNoRoomToMerge:Not enough room to add sprite"
        AddError2 Sprite_Bad2ndPtr,     "SBad2ndPtr:Bad 2nd ptr"
        AddError2 Sprite_InvalidRowOrCol, "InvalidRowOrCol:Invalid row or column"
        AddError2 Sprite_InvalidHeight, "InvalidHeight:Invalid height"
        AddError2 Sprite_InvalidWidth,  "InvalidWidth:Invalid width"
        AddError2 Sprite_NoRoomToInsert, "NoRoomToInsert:Not enough memory to insert sprite row or column"
        AddError2 Sprite_SpriteAlreadyExists, "SpriteAlreadyExists:Sprite already exists"
        AddError2 Sprite_InvalidSpriteMode, "InvalidSpriteMode:Invalid sprite mode"
        AddError2 Sprite_BadReasonCode, "SBadReasonCode:Bad sprite reason code"
        AddError2 Sprite_CantDoSystem,  "System sprites not allowed here"
        AddError2 Sprite_BadTranslation, "Bad colour translation table"
        AddError2 Sprite_BadGreyScale,  "Grey-scale only does 16 colours"
        AddError2 Sprite_BadPointerShape, "Unsuitable sprite for SetPointerShape"
        AddError2 Sprite_BadAppend,     "Can't append sprite"
        AddError2 Sprite_CantInTeletext, "CantInTeletext:Can't switch output in teletext mode"
        AddError2 Sprite_InvalidSaveArea, "SInvalidSaveArea:Invalid save area"
        AddError2 Sprite_SpriteIsCurrentDest, "SpriteIsCurrentDest:Sprite is current destination"
        AddError2 Sprite_BadFlags,      "Attempt to set reserved flags"
        AddError2 Sprite_BadCoordBlock, "Source rectangle not inside sprite"
        AddError2 Sprite_BadSourceRectangle, "Source rectangle area zero"
        AddError2 Sprite_BadTransformation, "SpriteExtend can only do linear transformations"
        AddError2 Sprite_BadDepth,      "Unable to plot sprites of this format"
        AddError2 Sprite_BadSwitchDepth, "Cannot switch output to sprites of this format"
Steve Revill's avatar
Steve Revill committed
722
        AddError2 Sprite_NoMaskOrPaletteAllowedInThisDepth, "SNoMask:Mask or palette operations not supported in this display depth"
Ben Avison's avatar
Ben Avison committed
723
        AddError2 Sprite_BadDPI,        "BadDPI:Illegal XDPI or YDPI in sprite"
Steve Revill's avatar
Steve Revill committed
724
        AddError2 Sprite_BadJPEG,       "Incomplete or corrupt JPEG data"
Ben Avison's avatar
Ben Avison committed
725 726
        AddError2 Sprite_BadJPEGPlot,   "Transformed JPEG plotting is not supported by this version of the SpriteExtend module"
        AddError2 Sprite_JPEGNoRoom,   "Not enough memory available to plot JPEG"
Steve Revill's avatar
Steve Revill committed
727 728 729 730 731 732 733
        AddError2 Sprite_JPEGFatal,     "JPEG plot failed due to fatal inconsistency"
        AddError2 Sprite_BadData,       "Unrecognised sprite data"
        AddError2 Sprite_NoGrScl,       "Operation 'PutSpriteGreyScaled' is not supported by this version of the SpriteExtend module"
        AddError2 Sprite_BadColourMap,  "Bad colour map"
        AddError2 Sprite_BadJPEGUnsupported, "JPEG format is not supported by this version of the SpriteExtend module"
        AddError2 Sprite_BadJPEGProgressive, "Progressive JPEG rendering failed due to an internal error"
        AddError2 Sprite_BadType,       "Sprite type is not supported by this version of the SpriteExtend module"
Ben Avison's avatar
Ben Avison committed
734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904

; 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
        AddError  DDT_UnknownSWI,       "Unknown Debugger SWI"
        AddError  DDT_StackOverflow,    "Stack overflow in Debugger"
        AddError  DDT_BadDebugData,     "Badly formatted debugging tables"
        AddError  DDT_Exception,        "Exception in debugger, registers at 01234567"
        AddError  DDT_DivZero,          "Divide by zero in debugger"
        AddError  DDT_IllegalRead,      "Illegal address read in debugger, PC = 01234567"
        AddError  DDT_IllegalWrite,     "Illegal address write in debugger, PC = 01234567"
        AddError  DDT_BadFileType,      "Can't debug files of this type"
        AddError  DDT_Unused1,          ""                              ; Was null environment string
        AddError  DDT_MultipleDebug,    "Debugging session already in progress"
        AddError  DDT_NoFP,             "FPEmulator module not loaded"
        AddError  DDT_NoColours,        "Colours module not loaded"
        AddError  DDT_NoWRCHVRoutine,   "DDT: Unable to find default WRCHV routine"
        AddError  DDT_NoByteVRoutine,   "DDT: Unable to find default ByteV routine"
        AddError  DDT_NoVectorTable,    "DDT: Unable to find ROM vector table"
        AddError  DDT_BadSprite,        "DDT: 256 colour sprite"
        AddError  DDT_OldFormatWindow,  "DDT: Old format window"
        AddError  DDT_NoTemplate,       "DDT: Template not found"
        AddError  DDT_TooManyMenus,     "DDT: Too many menus"

; 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"


 ASSERT @ <= &910
 ^ &910
EFormatUtilsErrors              # &10           ; Acorn's Alan Glover

 ASSERT @ <= &920
 ^ &920
CompressErrors                  # &10           ; Acorn's Jon Thackray (for the compress module)


; Draw module errors

 ASSERT @ <= &980
 ^ &980
        AddError2 NoDrawInIRQMode,      "Draw module does not work in IRQ mode"
        AddError2 BadDrawReasonCode,    "Bad Draw_ProcessPath reason code"
        AddError2 ReservedDrawBits,     "Reserved bits not zero"
        AddError2 InvalidDrawAddress,   "Invalid address"
        AddError2 BadPathElement,       "Bad path element"
        AddError2 BadPathSequence,      "Path elements out of order"
        AddError2 MayExpandPath,        "Operation may change path length"
        AddError2 PathFull,             "Output path full"
        AddError2 PathNotFlat,          "Path needs to be flattened"
        AddError2 BadCapsOrJoins,       "Invalid cap and join specification"
        AddError2 TransformOverflow,    "Overflow while transforming point"
        AddError2 DrawNeedsGraphicsMode, "Draw can only plot to graphics modes"
        AddError2 NoSuchDrawSWI,        "No such Draw SWI", ErrorNumber_NoSuchSWI

; The following Draw errors is used for all unimplemented Draw facilities

 ASSERT @ <= &9FF
 ^ &9FF
        AddError2 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"
;       AddError  BadHSV,               "Hue should be undefined in achromatic colours"
;       AddError  CTBufferToSmall,      "Buffer overflow during palette read"
;       AddError  CantWhilstOutputToSprite, "Cannot write palette whilst output switched to sprite"
;       AddError  CTBadMiscOp,          "Unknown MiscOp call"

        AddError2 CTBadCalib,           "Bad calibration table"
        AddError2 CTConvOver,           "Overflow in conversion"
        AddError2 CTBadHSV,             "Hue should be undefined in achromatic colours"
        AddError2 CTSwitched,           "Not whilst output switched to sprite"
        AddError2 CTBadMiscOp,          "Unknown MiscOp call"
        AddError2 CTBadFlags,           "Reserved fields must be zero"
        AddError2 CTBuffOver,           "Buffer too small to read palette into"
        AddError2 CTBadDepth,           "Not supported in this display depth"

 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"
        AddError2 TaskWindow_BadSWIEntry, "Can't restore SWI table properly"
        AddError2 TaskWindow_BadTaskHandle, "Bad task or text handle"
        AddError2 TaskWindow_Dying,     "Task dying"
        AddError  TaskWindow_FileSleep, "You can't close that file - a task window is waiting for it"
        AddError  TaskWindow_NoEditor,  "Can't open task window - is !Edit loaded?"
        AddError2 TaskWindow_NoRedirection, "Kernel does not support OS_ChangeRedirection"

 ASSERT @ <= &AC0
 ^ &AC0 ; Error block for MessageTrans
        AddError  MessageTrans_Syntax,  "Syntax"                        ; Syntax error in message token (%0)
        AddError  MessageTrans_FileOpen,"FilOpen"                       ; Message file already open
        AddError  MessageTrans_TokenNotFound, "TokNFnd"                 ; Message token '%0' not found
        AddError  MessageTrans_Recurse, "Recursion in MessageTrans"     ; should not be translated
	AddError  MessageTrans_BadDesc, "BadDesc"			; Message file descriptor is invalid

 ASSERT @ <= &B00
 ^ &B00 ; Error block for Pinboard
        AddError  Pinboard_BadOptions,  "BadOpts"
        AddError  Pinboard_NotASprite,  "NotSprt"
        AddError  Pinboard_NoRoom,      "NoRoom"
        AddError  Pinboard_CopyRecursive, "CopyR"
        AddError  Pinboard_NoWimp,      "NoWimp"

 ASSERT @ <= &B40
 ^ &B40 ; Error block for Portable
ErrorBase_Portable # &10

 ASSERT @ <= &B80
 ^ &B80 ; Error block for Filer
        AddError  Filer_NoRecursion,    "NoRecur"
        AddError  Filer_NoTemplate,     "NoTempl"
        AddError  Filer_FailedSave,     "BadSave"
        AddError  Filer_BadPath,        "BadPath"

 ASSERT @ <= &BC0
 ^ &BC0 ; Error block for SCSITape
 ; See SCSITape sources for allocation

 ASSERT @ <= &BE0
 ^ &BE0 ; Errors for the new ScreenModes module
 ; see ScrModes sources for allocation: allow up to 32 here

 ASSERT @ <= &C00
 ^ &C00 ; Error block for ModeChooser module
ErrorBase_Modes         # &20           ; See Modes sources for allocation

 ASSERT @ <= &C20
 ^ &C20 ; Error block for DMAManager module
ErrorBase_DMA           # &20           ; See DMA sources for allocation

 ASSERT @ <= &C40
 ^ &C40 ; Error block for ARM module
ErrorBase_ARM           # &20           ; See ARM sources for allocation

 ASSERT @ <= &C60
 ^ &C60 ; Error block for Hardware Layer interfaces
        AddError  HardwareBadReason,    "HWBadReason:Bad OS_Hardware reason code"
        AddError  HardwareBadEntry,     "HWBadEntry:Hardware call not available"
905
        AddError  HardwareDepends,      "HWDep:Hardware dependency not met"
Ben Avison's avatar
Ben Avison committed
906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971

 ASSERT @ <= &C80


; 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"
        AddError2 NetFSInternalError,   "Fatal internal error"
        AddError  FileServerNotCapable, "Not possible on this file server"
        AddError  BroadcastServerDead,  "Broadcast server not responding"
        AddError  FileServerOnly24Bit,  "File too big"


                ASSERT  @ <= ErrorBase_NetFS + &3A
                ^       ErrorBase_NetFS + &3A ; NetUtils errors

        AddError  NetUtilsWrongVersion, "NetFS isn't version 5.78"
        AddError  NetUtilsNetFSNoGo,    "NetFS isn't running as a filing system"
        AddError  NetUtilsIsThreaded,   "You can't kill NetUtils"


                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
972
        AddError  BadNetFSFilename,     $ErrorString_BadFileName, ErrorBase_NetFS + ErrorNumber_BadFileName ; &CC
Ben Avison's avatar
Ben Avison committed
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
        AddError  DiscAndFileServerDontMatch, "Specified disc not on specified file server", ErrorBase_NetFS + &D4
        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"
        AddError  NetPrinterNotFound,   "Printer server not found"
        AddError2 NetPrintInternalError, "Fatal internal error"
        AddError  NetOldServer,         "Can't print to an old server when running a new one"

; 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   RFSReg,              "ResourceFS files already registered"
        AddError   RFSDreg,             "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

; DeviceFS
 ^ &00010000 + (fsnumber_DeviceFS :SHL: 8) ; fs 53

ErrorBase_DeviceFS # &40
ErrorBase_Parallel # &40
ErrorBase_Serial   # &20
ErrorBase_SerialUtils # &20
 ASSERT @ <= ErrorBase_DeviceFS + &100

; See the DeviceFS sources for these errors
1175 1176


1177 1178 1179 1180 1181 1182
; SDFS errors

ErrorBase_SDFS * &00010000 + ( fsnumber_SDFS :SHL: 8 ) ; fs 192
 ASSERT @ <= ErrorBase_SDFS
 ^ ErrorBase_SDFS

Ben Avison's avatar
Ben Avison committed
1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206
; -----------------------------------------

; 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"
        AddError2 BadSoundIRQClaim,     "Sound Level0 failed to claim IRQ vector"
; Sound Level 1 only (share some Level 0)
        AddError2 BadSound1Init,        "Unable to claim sufficient Sound Level 1 heap space"
        AddError  BadSoundVoice,        "Bad sound voice"
; Sound Level 2 only (share some Level 0)
        AddError2 BadSound2Init,        "Unable to claim sufficient Sound Level 2 heap space"
; Voices
        AddError2 BadVoiceInit,         "Unable to claim sufficient Sound Voice heap space"
; Extra Level 1 error
        AddError  IllegalVoice,         "Illegal voice index"
; Extra Level 0 error
        AddError  BadSoundGain,         "Gain value must be in the range 0-7"
; Extra Level 0 error
	AddError  NoSoundDevices,	"No sound controller devices found"
1207 1208
; Extra Level 1 error
        AddError  AutoTuningUnavailable,"Automatic tuning unavailable"
1209 1210 1211
; Extra Level 0 errors
        AddError  BadSoundDevice,       "Sound controller device initialisation failed"
        AddError  SoundDevNotFound,     "Sound device not found"
Ben Avison's avatar
Ben Avison committed
1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241

; SCSI driver errors

 ASSERT @ <= &20100
 ^ &00020100
        AddError2 SCSI_FailClaim,       "SCSI failed to allocate required RAM at initialise"
        AddError2 SCSI_IDLost,          "The SBIC has lost it's SCSI ID"
        AddError2 SCSI_SBICBusy,        "The SBIC is busy performing a command"
        AddError2 SCSI_PanicMess,       "Panic - the SBIC has lost track of things"
        AddError2 SCSI_CheckAux,        "Check Aux register"
        AddError2 SCSI_MegaText,        "An error or situation that is undefined has occurred"


; VideoCommands errors

 ASSERT @ <= &20200
 ^ &00020200
        AddError2 Video_FailClaim,      "Video failed to claim its workspace"
        AddError2 Video_BadVpError,     "Parameter to VP must be 1 to 5 or X"
        AddError2 Video_BadFcodeError,  "Bad f-code"
        AddError2 Video_BadSpeedError,  "Bad speed parameter"


; IIC errors

 ASSERT @ <= &20300
 ^ &00020300
        AddError2 IIC_NoAcknowledge,    "No acknowledge from IIC device"
        AddError2 IIC_Error,            "IIC error" ;RO5
        AddError2 IIC_Busy,             "IIC system busy" ; RO5
1242
        AddError2 IIC_BadBus,           "IIC bus not present" ; RO5
Ben Avison's avatar
Ben Avison committed
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303



; 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"


; PCEmulator errors
 ASSERT @ <= &20500
 ^ &00020500
ErrorBase_PCEmulator            # &100


; Desktop Development Environment errors
 ASSERT @ <= &20600
 ^ &00020600
ErrorBase_AcornDDE              # &100


; Buffer handling errors
 ASSERT @ <= &20700
 ^ &00020700
ErrorBase_BufferManager         # &100

; See Buffer Manager sources for these ones
; -----------------------------------------


;
 ASSERT @ <= &20800
 ^ &00020800
ErrorBase_AcornGoldOS           #       &100

        ASSERT  @ <= &20900
        ^       &00020900
ErrorBase_CharFile              #       &100                            ; Provisional

        ASSERT  @ <= &20A00
        ^       &20A00
ErrorBase_SpriteFile            #       &100                            ; Provisional

        ASSERT  @ <= &20B00
        ^       &20B00
ErrorBase_TextFile              #       &100                            ; Provisional

        ASSERT  @ <= &20C00
        ^       &20C00
ErrorBase_DrawFile              #       &100

ErrorBase_ColourPicker          #       &100 ;&20D00

        ASSERT  @ <= &20E00
        ^       &20E00
ErrorBase_DCI4                  #       &100

1304
ErrorBase_Joystick              *       &43F40  ;incorrectly uses SWI chunk
1305

Ben Avison's avatar
Ben Avison committed
1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316
ErrorBase_ANT			*	&4A580	;(32) formalising a bit of stupidity


; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; 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
ROOL's avatar
ROOL committed
1317 1318 1319
; Previous versions of this header allocated &80000400 to
; ErrorBase_AbortRegions, used in RISC OS Select, but it was mislabelled in a
; comment was &80000500, and that was the value communicated to the allocatee.
1320
                                #       &100
Ben Avison's avatar
Ben Avison committed
1321
ErrorBase_AbortRegions		#	&100 ; &80000500
1322 1323 1324 1325 1326 1327 1328
; Likewise, ErrorBase_VectorFloatingPoint was briefly assigned &80000500
; but with a comment saying &80000600. However, only the ARM11-based
; Raspberry Pi was capable of generating the exceptions that triggered
; these errors, and throughout the time this was the case, there was no
; stable OS release for the Pi, and nor is it believed that anything
; was written that acted upon the error numbers, so now we make the symbol
; resolve to the same number that was always documented.
1329
ErrorBase_VectorFloatingPoint   #       &100 ; &80000600
ROOL's avatar
ROOL committed
1330
ErrorBase_Pyromaniac            #       &100 ; &80000700
Ben Avison's avatar
Ben Avison committed
1331 1332 1333 1334 1335 1336 1337 1338

 ^ ErrorBase_MachineExceptions
        AddError  UndefinedInstruction, "UndefinedInstruction:Undefined instruction at &%0"
        AddError  InstructionAbort, "InstructionAbort:Abort on instruction fetch at &%0"
        AddError  DataAbort, "DataAbort:Abort on data transfer at &%0"
        AddError  AddressException, "AddressException:Address exception at &%0"
        AddError  UnknownIRQ, "Unknown IRQ at &"
        AddError  BranchThrough0, "BranchThrough0:Branch through zero at &"
ROOL's avatar
ROOL committed
1339 1340 1341
        AddError  BTSCorruption, "BTSCorruption:Privileged mode stack corruption or imbalance detected at &%0" ; RISC OS 6
        AddError  SVCStackOverflow, "SVCStackOverflow:Privileged mode stack overflow at &%0"                   ; RISC OS 6
        AddError  SVCStackCorrupt, "SVCStackCorrupt:Privileged mode stack pointer corruption at &%0"           ; RISC OS 6
Ben Avison's avatar
Ben Avison committed
1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550

 ^ ErrorBase_EconetExceptions
        AddError  Remoted, "Remoted"

ErrorBase_User                  *       &007FFF00                       ; Allocated for user programs

; ***************** External authors get &00800000 upwards *******************

                         ^ &00800000 ; Sign here for 256 errors

ErrorBase_BASICEditor           #       &100    ; &00800000 Acorn (Gibson et al.)
                         ^ &00800E00
ErrorBase_CSharedLibrary        #       &100    ; &00800E00 Acorn (PLG)
                         ^ &00801C00
ErrorBase_6502Emulator          #       &100    ; &00801C00 Acorn (SSwales)
                         ^ &00805E00
ErrorBase_AcornHWTest           #       &100    ; &00805E00 Acorn H/W test applications
                         ^ &00806500
ErrorBase_AcornNZ               #       &100    ; &00806500 David Hunter, Acorn NZ
                         ^ &00807400
ErrorBase_AcornFaultDatabase    #       &100    ; &00807400 Mike Challis (Acorn)
                         ^ &00807700
ErrorBase_ElectronicGroup       #       &100    ; &00807700 David Hunter (Acorn NZ)
                         ^ &00808600
ErrorBase_PhotoCD               #       &100    ; &00808600 Paul Le Beau (4Mation/Acorn)
                         ^ &00808900
ErrorBase_PCMCIADriver          #       &100    ; &00808900 Acorn
ErrorBase_PCMCIASupportCode     #       &100    ; &00808A00 Acorn
ErrorBase_PCCardFS              #       &100    ; &00808B00 Acorn
ErrorBase_PCCardFSFiler         #       &100    ; &00808C00 Acorn
                         ^ &00809C00
ErrorBase_RemotePrinterSupport  #       &100    ; &00809C00 Chris Marshall, Acorn
                         ^ &00809F00
ErrorBase_Sparrow               #       &100    ; &00809F00 Keith Ruttle, Acorn
                         ^ &0080A800
ErrorBase_AquariusToolboxTest   #       &100    ; &0080A800 Ian Johnson, Acorn
ErrorBase_AquariusWindows       #       &100    ; &0080A900 Ian Johnson, Acorn
ErrorBase_AquariusMenus         #       &100    ; &0080AA00 Ian Johnson, Acorn
ErrorBase_AquariusIconBar       #       &100    ; &0080AB00 Ian Johnson, Acorn
ErrorBase_AquariusPointers      #       &100    ; &0080AC00 Ian Johnson, Acorn
ErrorBase_AquariusColMenu       #       &100    ; &0080AD00 Ian Johnson, Acorn
ErrorBase_AquariusColourDbox    #       &100    ; &0080AE00 Ian Johnson, Acorn
ErrorBase_AquariusFontDbox      #       &100    ; &0080AF00 Ian Johnson, Acorn
ErrorBase_AquariusFontMenu      #       &100    ; &0080B000 Ian Johnson, Acorn
ErrorBase_AquariusDCS           #       &100    ; &0080B100 Ian Johnson, Acorn
ErrorBase_AquariusFileInfo      #       &100    ; &0080B200 Ian Johnson, Acorn
ErrorBase_AquariusPrintDbox     #       &100    ; &0080B300 Ian Johnson, Acorn
ErrorBase_AquariusProgInfo      #       &100    ; &0080B400 Ian Johnson, Acorn
ErrorBase_AquariusQuit          #       &100    ; &0080B500 Ian Johnson, Acorn
ErrorBase_AquariusSaveAs        #       &100    ; &0080B600 Ian Johnson, Acorn
ErrorBase_AquariusScale         #       &100    ; &0080B700 Ian Johnson, Acorn
ErrorBase_AquariusTinySupport   #       &100    ; &0080B800 Ian Johnson, Acorn
ErrorBase_AquariusReserved02    #       &100    ; &0080B900 Ian Johnson, Acorn
ErrorBase_AquariusReserved03    #       &100    ; &0080BA00 Ian Johnson, Acorn
ErrorBase_AquariusReserved04    #       &100    ; &0080BB00 Ian Johnson, Acorn
ErrorBase_AquariusReserved05    #       &100    ; &0080BC00 Ian Johnson, Acorn
ErrorBase_AquariusReserved06    #       &100    ; &0080BD00 Ian Johnson, Acorn
ErrorBase_AquariusReserved07    #       &100    ; &0080BE00 Ian Johnson, Acorn
ErrorBase_AquariusReserved08    #       &100    ; &0080BF00 Ian Johnson, Acorn
ErrorBase_AquariusReserved09    #       &100    ; &0080C000 Ian Johnson, Acorn
ErrorBase_AquariusReserved10    #       &100    ; &0080C100 Ian Johnson, Acorn
ErrorBase_AquariusReserved11    #       &100    ; &0080C200 Ian Johnson, Acorn
ErrorBase_AquariusReserved12    #       &100    ; &0080C300 Ian Johnson, Acorn
ErrorBase_AquariusReserved13    #       &100    ; &0080C400 Ian Johnson, Acorn
ErrorBase_AquariusReserved14    #       &100    ; &0080C500 Ian Johnson, Acorn
ErrorBase_AquariusReserved15    #       &100    ; &0080C600 Ian Johnson, Acorn
ErrorBase_AquariusReserved16    #       &100    ; &0080C700 Ian Johnson, Acorn
                         ^ &0080CB00
ErrorBase_ToolboxCore           #       &100    ; &0080CB00 Ian Johnson, Acorn
                         ^ &0080DD00
ErrorBase_TimeShare             #       &100    ; &0080DD00 Alan Glover, Acorn
ErrorBase_AcornPhileas          #       &100    ; &0080DE00 Paul Wain, Acorn
                         ^ &0080E000
ErrorBase_PCClipboard           #       &100    ; &0080E000 Steve Cormie, Acorn
                         ^ &0080E200
ErrorBase_CDManager             #       &100    ; &0080E200 Timothy Roddis, Acorn
                         ^ &0080E800
ErrorBase_DebugIt               #       &100    ; &0080E800 Mike Challis, ART
                         ^ &0080EC00
ErrorBase_TypeMapper            #       &100    ; &0080EC00 Mike Challis, ART
                         ^ &0080F200
ErrorBase_Dialler               #       &100    ; &0080F200 ART
                         ^ &0080F400
ErrorBase_Locator               #       &100    ; &0080F400 Carl Elkins
ErrorBase_Clip                  #       &100    ; &0080F500 Simon Proven
                         ^ &0080F700
ErrorBase_CacheManager          #       &100    ; &0080F700 ART
                         ^ &0080FA00
ErrorBase_AudioManager          #       &100    ; &0080FA00 amg, ART
ErrorBase_FileWatch             #       &100    ; &0080FB00 Simon Middleton, ANC
                         ^ &0080FD00
ErrorBase_NCRegistry            #       &100    ; &0080FD00 ANC Ant Skelton
                         ^ &0080FF00
ErrorBase_NCSerial              #       &100    ; &0080FF00 ANC Rich Buckley
ErrorBase_JavaSupport           #       &100    ; &00810000 ANC Robin Hunter
                         ^ &00810300
ErrorBase_OVS                   #       &100    ; &00810300 ANC Paul Wain
                         ^ &00810500
ErrorBase_MSCP                  #       &100    ; &00810500 ART sbp
                         ^ &00810700
ErrorBase_Clipboard             #       &100    ; &00810700 ART kb
ErrorBase_Cam                   #       &100    ; &00810800 ANC as
                         ^ &00810A00
ErrorBase_URI                   #       &100    ; &00810A00 ART rce
ErrorBase_SerialMapper          #       &100    ; &00810B00 ART sf
                         ^ &00810D00
ErrorBase_AcornNNTP             #       &100    ; &00810D00 ART rce
ErrorBase_AcornSMTP             #       &100    ; &00810E00 ART rce
ErrorBase_AcornPOP3             #       &100    ; &00810F00 ART rce
ErrorBase_AcornIMAP4            #       &100    ; &00811000 ART rce
ErrorBase_MPEGStream            #       &100    ; &00811100 ART sbp
                         ^ &00811500
ErrorBase_VideoPump             #       &100    ; &00811500 ART sbp
                         ^ &00811700
ErrorBase_MPEGAudio             #       &100    ; &00811700 ART sbp
ErrorBase_SurfBoard             #       &100    ; &00811800 ART rce
ErrorBase_SoundFX               #       &100    ; &00811900 ANC sm
                         ^ &00811B00
ErrorBase_NCAccessManager       #       &100    ; &00811B00 ANC as
ErrorBase_GCManager             #       &100    ; &00811C00 ANC pw
ErrorBase_JavaVM                #       &100    ; &00811D00 ANC pw
ErrorBase_LibraryManager        #       &100    ; &00811E00 ART kb
ErrorBase_RCAIRBlast            #       &100    ; &00811F00 ABC cb
                         ^ &00812200
ErrorBase_NCBootBlock           #       &100    ; &00812200 ANC as
                         ^ &00812500
ErrorBase_SerialFlash           #       &100    ; &00812500 ART sf
ErrorBase_Authenticate          #       &100    ; &00812600 ANC pw
ErrorBase_tftp		        #       &100    ; &00812700 Acorn, Richard Warren
                         ^ &00813100
ErrorBase_SoundCtrl             #       &100    ; &00813100 Acorn, tgr
ErrorBase_IME                   #       &100    ; &00813200 Acorn, Rich Buckley
ErrorBase_PCI                   #       &100    ; &00813300 Acorn, wt
ErrorBase_FaxSupport            #       &100    ; &00813400 Acorn, mr
                         ^ &00813600
ErrorBase_SoundTfr              #       &100    ; &00813600 Acorn, tgr
                         ^ &00813900
ErrorBase_Diallerb              #       &100    ; &00813900 Acorn, bl
                         ^ &00813C00
ErrorBase_DaytonaHW             #       &100    ; &00813C00 Acorn, bl
ErrorBase_IODevices             #       &100    ; &00813D00 Acorn, wt
                         ^ &00813F00
ErrorBase_AcornURL              #       &100    ; &00813F00 Acorn
                         ^ &00814700
ErrorBase_MIDIMgr               #       &100    ; &00814700 Acorn
ErrorBase_MIDIClk               #       &100    ; &00814800 Acorn
                         ^ &00814F00
ErrorBase_Installer             #       &100    ; &00814F00 Acorn
                         ^ &00815400
ErrorBase_MPU401                #       &100    ; &00815400 Acorn
ErrorBase_DAHeap                #       &100    ; &00815500 Acorn
                         ^ &00815A00
ErrorBase_FlashWrite            #       &100    ; &00815A00 Acorn
                         ^ &00815C00
ErrorBase_RC5PC                 #       &100    ; &00815C00 Acorn
ErrorBase_VSP                   #       &100    ; &00815D00 Acorn
                         ^ &00816100
ErrorBase_NCKeyboard            #       &100    ; &00816100 Andrew Hodgkinson, Acorn
ErrorBase_MessageQueue          #       &100    ; &00816200 Acorn, Stewart Brodie
ErrorBase_AudioDeviceDriver     #       &100    ; &00816300 Acorn, Tim Roddis
                         ^ &00816600
ErrorBase_ATM25                 #       &100    ; &00816600 Acorn, Ben Laughton
ErrorBase_Net2TransStream       #       &100    ; &00816700 Acorn, Richard Warren
                         ^ &00816900
ErrorBase_PortMan               #       &100    ; &00816900 Acorn, Neil Turton
ErrorBase_TrapError             #       &100    ; &00816A00 Acorn, Steve Revill
                         ^ &00816C00
ErrorBase_DHCP                  #       &100    ; &00816C00 Acorn, Stewart Brodie
ErrorBase_FlashProgrammer       #       &100    ; &00816D00 Acorn, Nick Evans
                         ^ &00817100
ErrorBase_TFTP                  #       &100    ; &00817100 Kevin Bracey
                         ^ &00817300
ErrorBase_SVBmip                #       &100    ; &00817300 Acorn, Steve Revill
                         ^ &00817600
ErrorBase_VideoControl1         #       &100    ; &00817600 Acorn
ErrorBase_VideoControl2         #       &100    ; &00817700 Acorn
                         ^ &00817B00
ErrorBase_EngMenu               #       &100    ; &00817B00 Acorn/Pace
ErrorBase_MediaCtrl             #       &100    ; &00817C00 Acorn/Pace
                         ^ &00817E00
ErrorBase_SVBGeneric		#	&100	; &00817E00 Acorn/Pace
                         ^ &00818500
ErrorBase_MPEG			#	&100	; &00818500 Ben Avison
ErrorBase_CheckURL		#	&100	; &00818600 Andrew Hodgkinson
                         ^ &00818A00
ErrorBase_Castle1		#	&100	; &00818A00 Castle
                         ^ &00818E00
ErrorBase_LDAP			#	&100	; &00818E00 Acorn
ErrorBase_UserInactivity	#	&100	; &00818F00 Acorn
ErrorBase_USBDriver		#	&100	; &00819000 Acorn
                         ^ &00819200
ErrorBase_NVRAM			#	&100	; &00819200 Acorn
                         ^ &00819400
ErrorBase_ELF			#	&100	; &00819400 Acorn
                         ^ &00819800
ErrorBase_PRISM			#	&100	; &00819800 Acorn
                         ^ &00819C00
ErrorBase_DebugTools		#	&100	; &00819C00 Acorn
ErrorBase_ConfigUpdate		#	&100	; &00819D00 Acorn
ErrorBase_Prism			#	&100	; &00819E00 Acorn
                         ^ &0081A100
ErrorBase_MP3Stream		#	&100	; &0081A100 Acorn
ErrorBase_SendMessage		#	&100	; &0081A200 Acorn
                         ^ &0081BD00
ErrorBase_RT			#	&100	; &0081BD00 Ben Avison
                         ^ &0081D900
ErrorBase_Tematic1		#	&100	; &0081d900 Tematic: ScreenFX and KeyUtils
                         ^ &0081DE00
ErrorBase_SysLoad		#	&100	; &0081de00 Steve Revill (Castle)
1551 1552
                         ^ &0081EE00
ErrorBase_SDIO                  #       &100    ; &0081EE00 Ben Avison (ROOL)
1553
ErrorBase_BootFX                #       &100    ; &0081EF00 Steve Revill (ROOL)
1554
ErrorBase_ZLib                  #       &100    ; &0081F000 Jeffrey Lee - differs from the ROL ZLib error block
1555
ErrorBase_VFPSupport            #       &100    ; &0081F100 Jeffrey Lee
1556
ErrorBase_BCMSupport            #       &100    ; &0081F200 John Ballance
1557
ErrorBase_BootCommands          #       &100    ; &0081F300 Rob Sprowson
1558 1559
ErrorBase_Switcher              #       &100    ; &0081F400 Rob Sprowson
ErrorBase_VCHIQ                 #       &100    ; &0081F500 Jeffrey Lee
1560 1561
                         ^ &0081F800
ErrorBase_DeskRecord            #       &100    ; &0081F800 Steve Revill
1562
ErrorBase_USBAudio              #       &100    ; &0081F900 Dave Higton
1563
ErrorBase_RTC                   #       &100    ; &0081FA00 Rob Sprowson
1564
ErrorBase_BASIC                 #       &100    ; &0081FB00 Rob Sprowson
Ben Avison's avatar
Ben Avison committed
1565 1566
                         ^ &00820500
ErrorBase_ATA                   #       &100    ; &00820500 Ben Avison
1567
ErrorBase_SPIDriver             #       &100    ; &00820600 John Ballance
1568 1569
                         ^ &00820800
ErrorBase_SerialUSB             #       &100    ; &00820800 Colin Granville
1570 1571 1572 1573 1574
                         ^ &00820A00
ErrorBase_OHCIDriver            #       &40     ; &00820A00 Rob Sprowson
ErrorBase_EHCIDriver            #       &40     ; &00820A40 Rob Sprowson
ErrorBase_MUSBDriver            #       &40     ; &00820A80 Rob Sprowson
ErrorBase_DWCDriver             #       &40     ; &00820AC0 Rob Sprowson
1575 1576 1577
ErrorBase_SMP                   #       &100    ; &00820B00 Jeffrey Lee
                         ^ &00820D00
ErrorBase_VideoOverlay          #       &100    ; &00820D00 Jeffrey Lee
Ben Avison's avatar
Ben Avison committed
1578 1579
        OPT     OldOpt
        END