Commit a9f38dbc authored by Ben Avison's avatar Ben Avison

Added BBC micro compatible error numbers to Hdr:NewErrors

Detail:
  The result of an investigation of error number usage in filing systems -
  note that there is still a strong correlation between many of these and the
  filing system error blocks. It seemed wise to record them somewhere.
Admin:
  Tested in a Tungsten ROM build to check for name clashes.

Version 2.03. Tagged as 'HdrSrc-2_03'
parent 59e01e2f
/* (2.02)
/* (2.03)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 2.02
#define Module_MajorVersion_CMHG 2.03
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 18 Mar 2012
#define Module_Date_CMHG 19 Mar 2012
#define Module_MajorVersion "2.02"
#define Module_Version 202
#define Module_MajorVersion "2.03"
#define Module_Version 203
#define Module_MinorVersion ""
#define Module_Date "18 Mar 2012"
#define Module_Date "19 Mar 2012"
#define Module_ApplicationDate "18-Mar-12"
#define Module_ApplicationDate "19-Mar-12"
#define Module_ComponentName "HdrSrc"
#define Module_ComponentPath "castle/RiscOS/Sources/Programmer/HdrSrc"
#define Module_FullVersion "2.02"
#define Module_HelpVersion "2.02 (18 Mar 2012)"
#define Module_LibraryVersionInfo "2:2"
#define Module_FullVersion "2.03"
#define Module_HelpVersion "2.03 (19 Mar 2012)"
#define Module_LibraryVersionInfo "2:3"
......@@ -34,33 +34,143 @@ OldOpt SETA {OPT}
AddError Escape, "Escape:Escape", 17 ; &11
AddError BadMODE, "BadMODE:Bad MODE", 25 ; &19
AddError NaffMODE, "Bad MODE", 25 ; &19
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
AddError IsADirectory, "Object is a directory", 168 ; &A8
AddError TypesDontMatch, "Types don't match", 175 ; &AF
AddError BadRename, "Bad rename", 176 ; &B0
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
AddError BadCopy, "Bad copy",177 ; &B1
AddError OutsideFile, "OutsideFile:Outside file", 183 ; &B7
AddError AccessViolation, "Access violation", 189 ; &BD
AddError TooManyOpenFiles, "Too many open files", 192 ; &C0
AddError NotOpenForUpdate, "Not open for update", 193 ; &C1
AddError 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
AddError FileOpen, "File open", 194 ; &C2
AddError ObjectLocked, "Locked", 195 ; &C3
AddError AlreadyExists, "Already exists", 196 ; &C4
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
AddError BadFileName, "Bad file name", 204 ; &CC
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
AddError FileNotFound, "File not found", 214 ; &D6
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
AddError Syntax, "Syntax:Syntax", 220 ; &DC
AddError BadNoParms, "Invalid number of parameters", ErrorNumber_Syntax
AddError TooManyParms, "TooManyParms:Too many parameters", ErrorNumber_Syntax
AddError Address, "Address", 221 ; &DD CFS??
AddError Channel, "Channel", 222 ; &DE
AddError EndOfFile, "End of file", 223 ; &DF
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
AddError BadFilingSystemName, "Bad filing system name", 248 ; &F8
AddError UnknownFilingSystem, "Unknown filing system", ErrorNumber_BadFilingSystemName
AddError BadKey, "BadKey:Bad key", 251 ; &FB
AddError BadAddress, "BadAddress:Bad address", 252 ; &FC
AddError BadString, "BadString:Bad string", 253 ; &FD
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
AddError BadAliasString, "Aliased command is a bad string", ErrorNumber_BadString
AddError BadParmString, "BadParmString:Bad character in parameter expansion", ErrorNumber_BadString
AddError WildCards, "Wild cards", 253 ; &FD Unfortunate clash
AddError BadCommand, "BadCommand:Bad command", 254 ; &FE
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
; Relocatable Module errors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment