verbatim code

This commit is contained in:
Kelvin Sherlock 2013-08-21 21:30:06 -04:00
parent 4b4122bee2
commit caac09787a
4 changed files with 1768 additions and 0 deletions

451
verbatim/Errors.text Normal file
View File

@ -0,0 +1,451 @@
paramErr = -50
noHardwareErr = -200
notEnoughHardwareErr = -201
userCanceledErr = -128
qErr = -1
vTypErr = -2
corErr = -3
unimpErr = -4
SlpTypeErr = -5
seNoDB = -8
controlErr = -17
statusErr = -18
readErr = -19
writErr = -20
badUnitErr = -21
unitEmptyErr = -22
openErr = -23
closErr = -24
dRemovErr = -25
dInstErr = -26
abortErr = -27
iIOAbortErr = -27
notOpenErr = -28
unitTblFullErr = -29
dceExtErr = -30
slotNumErr = -360
gcrOnMFMErr = -400
dirFulErr = -33
dskFulErr = -34
nsvErr = -35
ioErr = -36
bdNamErr = -37
fnOpnErr = -38
eofErr = -39
posErr = -40
mFulErr = -41
tmfoErr = -42
fnfErr = -43
wPrErr = -44
fLckdErr = -45
vLckdErr = -46
fBsyErr = -47
dupFNErr = -48
opWrErr = -49
rfNumErr = -51
gfpErr = -52
volOffLinErr = -53
permErr = -54
volOnLinErr = -55
nsDrvErr = -56
noMacDskErr = -57
extFSErr = -58
fsRnErr = -59
badMDBErr = -60
wrPermErr = -61
dirNFErr = -120
tmwdoErr = -121
badMovErr = -122
wrgVolTypErr = -123
volGoneErr = -124
fidNotFound = -1300
fidExists = -1301
notAFileErr = -1302
diffVolErr = -1303
catChangedErr = -1304
desktopDamagedErr = -1305
sameFileErr = -1306
badFidErr = -1307
envNotPresent = -5500
envBadVers = -5501
envVersTooBig = -5502
fontDecError = -64
fontNotDeclared = -65
fontSubErr = -66
fontNotOutlineErr = -32615
firstDskErr = -84
lastDskErr = -64
noDriveErr = -64
offLinErr = -65
noNybErr = -66
noAdrMkErr = -67
dataVerErr = -68
badCksmErr = -69
badBtSlpErr = -70
noDtaMkErr = -71
badDCksum = -72
badDBtSlp = -73
wrUnderrun = -74
cantStepErr = -75
tk0BadErr = -76
initIWMErr = -77
twoSideErr = -78
spdAdjErr = -79
seekErr = -80
sectNFErr = -81
fmt1Err = -82
fmt2Err = -83
verErr = -84
clkRdErr = -85
clkWrErr = -86
prWrErr = -87
prInitErr = -88
rcvrErr = -89
breakRecd = -90
pmBusyErr = -13000
pmReplyTOErr = -13001
pmSendStartErr = -13002
pmSendEndErr = -13003
pmRecvStartErr = -13004
pmRecvEndErr = -13005
noScrapErr = -100
noTypeErr = -102
memROZWarn = -99
memROZError = -99
memROZErr = -99
memFullErr = -108
nilHandleErr = -109
memWZErr = -111
memPurErr = -112
memAdrErr = -110
memAZErr = -113
memPCErr = -114
memBCErr = -115
memSCErr = -116
memLockedErr = -117
resNotFound = -192
resFNotFound = -193
addResFailed = -194
addRefFailed = -195
rmvResFailed = -196
rmvRefFailed = -197
resAttrErr = -198
mapReadErr = -199
CantDecompress = -186
badExtResource = -185
evtNotEnb = 1
noMemForPictPlaybackErr = -145
rgnTooBigError = -147
pixMapTooDeepErr = -148
nsStackErr = -149
cMatchErr = -150
cTempMemErr = -151
cNoMemErr = -152
cRangeErr = -153
cProtectErr = -154
cDevErr = -155
cResErr = -156
rgnTooBigErr = -500
updPixMemErr = -125
pictInfoVersionErr = -11000
pictInfoIDErr = -11001
pictInfoVerbErr = -11002
cantLoadPickMethodErr = -11003
colorsRequestedErr = -11004
pictureDataErr = -11005
noHardware = noHardwareErr
notEnoughHardware = notEnoughHardwareErr
queueFull = -203
resProblem = -204
badChannel = -205
badFormat = -206
notEnoughBufferSpace = -207
badFileFormat = -208
channelBusy = -209
buffersTooSmall = -210
channelNotBusy = -211
noMoreRealTime = -212
siNoSoundInHardware = -220
siBadSoundInDevice = -221
siNoBufferSpecified = -222
siInvalidCompression = -223
siHardDriveTooSlow = -224
siInvalidSampleRate = -225
siInvalidSampleSize = -226
siDeviceBusyErr = -227
siBadDeviceName = -228
siBadRefNum = -229
siInputDeviceErr = -230
siUnknownInfoType = -231
siUnknownQuality = -232
nmTypErr = -299
siInitSDTblErr = 1
siInitVBLQsErr = 2
siInitSPTblErr = 3
sdmJTInitErr = 10
sdmInitErr = 11
sdmSRTInitErr = 12
sdmPRAMInitErr = 13
sdmPriInitErr = 14
smSDMInitErr = -290
smSRTInitErr = -291
smPRAMInitErr = -292
smPriInitErr = -293
smEmptySlot = -300
smCRCFail = -301
smFormatErr = -302
smRevisionErr = -303
smNoDir = -304
smDisabledSlot = -305
smNosInfoArray = -306
smResrvErr = -307
smUnExBusErr = -308
smBLFieldBad = -309
smFHBlockRdErr = -310
smFHBlkDispErr = -311
smDisposePErr = -312
smNoBoardSRsrc = -313
smGetPRErr = -314
smNoBoardId = -315
smInitStatVErr = -316
smInitTblVErr = -317
smNoJmpTbl = -318
smBadBoardId = -319
smBusErrTO = -320
svTempDisable = -32768
svDisabled = -32640
smBadRefId = -330
smBadsList = -331
smReservedErr = -332
smCodeRevErr = -333
smCPUErr = -334
smsPointerNil = -335
smNilsBlockErr = -336
smSlotOOBErr = -337
smSelOOBErr = -338
smNewPErr = -339
smBlkMoveErr = -340
smCkStatusErr = -341
smGetDrvrNamErr = -342
smDisDrvrNamErr = -343
smNoMoresRsrcs = -344
smsGetDrvrErr = -345
smBadsPtrErr = -346
smByteLanesErr = -347
smOffsetErr = -348
smNoGoodOpens = -349
smSRTOvrFlErr = -350
smRecNotFnd = -351
editionMgrInitErr = -450
badSectionErr = -451
notRegisteredSectionErr = -452
badEditionFileErr = -453
badSubPartErr = -454
multiplePublisherWrn = -460
containerNotFoundWrn = -461
containerAlreadyOpenWrn = -462
notThePublisherWrn = -463
teScrapSizeErr = -501
hwParamErr = -502
procNotFound = -600
memFragErr = -601
appModeErr = -602
protocolErr = -603
hardwareConfigErr = -604
appMemFullErr = -605
appIsDaemon = -606
notEnoughMemoryErr = -620
notHeldErr = -621
cannotMakeContiguousErr = -622
notLockedErr = -623
interruptsMaskedErr = -624
cannotDeferErr = -625
ddpSktErr = -91
ddpLenErr = -92
noBridgeErr = -93
lapProtErr = -94
excessCollsns = -95
portInUse = -97
portNotCf = -98
nbpBuffOvr = -1024
nbpNoConfirm = -1025
nbpConfDiff = -1026
nbpDuplicate = -1027
nbpNotFound = -1028
nbpNISErr = -1029
aspBadVersNum = -1066
aspBufTooSmall = -1067
aspNoMoreSess = -1068
aspNoServers = -1069
aspParamErr = -1070
aspServerBusy = -1071
aspSessClosed = -1072
aspSizeErr = -1073
aspTooMany = -1074
aspNoAck = -1075
reqFailed = -1096
tooManyReqs = -1097
tooManySkts = -1098
badATPSkt = -1099
badBuffNum = -1100
noRelErr = -1101
cbNotFound = -1102
noSendResp = -1103
noDataArea = -1104
reqAborted = -1105
buf2SmallErr = -3101
noMPPErr = -3102
ckSumErr = -3103
extractErr = -3104
readQErr = -3105
atpLenErr = -3106
atpBadRsp = -3107
recNotFnd = -3108
sktClosedErr = -3109
afpAccessDenied = -5000
afpAuthContinue = -5001
afpBadUAM = -5002
afpBadVersNum = -5003
afpBitmapErr = -5004
afpCantMove = -5005
afpDenyConflict = -5006
afpDirNotEmpty = -5007
afpDiskFull = -5008
afpEofError = -5009
afpFileBusy = -5010
afpFlatVol = -5011
afpItemNotFound = -5012
afpLockErr = -5013
afpMiscErr = -5014
afpNoMoreLocks = -5015
afpNoServer = -5016
afpObjectExists = -5017
afpObjectNotFound = -5018
afpParmErr = -5019
afpRangeNotLocked = -5020
afpRangeOverlap = -5021
afpSessClosed = -5022
afpUserNotAuth = -5023
afpCallNotSupported = -5024
afpObjectTypeErr = -5025
afpTooManyFilesOpen = -5026
afpServerGoingDown = -5027
afpCantRename = -5028
afpDirNotFound = -5029
afpIconTypeError = -5030
afpVolLocked = -5031
afpObjectLocked = -5032
afpContainsSharedErr = -5033
afpIDNotFound = -5034
afpIDExists = -5035
afpDiffVolErr = -5036
afpCatalogChanged = -5037
afpSameObjectErr = -5038
afpBadIDErr = -5039
afpPwdSameErr = -5040
afpPwdTooShortErr = -5041
afpPwdExpiredErr = -5042
afpInsideSharedErr = -5043
afpInsideTrashErr = -5044
notInitErr = -900
nameTypeErr = -902
noPortErr = -903
noGlobalsErr = -904
localOnlyErr = -905
destPortErr = -906
sessTableErr = -907
noSessionErr = -908
badReqErr = -909
portNameExistsErr = -910
noUserNameErr = -911
userRejectErr = -912
noMachineNameErr = -913
noToolboxNameErr = -914
noResponseErr = -915
portClosedErr = -916
sessClosedErr = -917
badPortNameErr = -919
noDefaultUserErr = -922
notLoggedInErr = -923
noUserRefErr = -924
networkErr = -925
noInformErr = -926
authFailErr = -927
noUserRecErr = -928
badServiceMethodErr = -930
badLocNameErr = -931
guestNotAllowedErr = -932
swOverrunErr = 1
parityErr = 16
hwOverrunErr = 32
framingErr = 64
dsBusError = 1
dsAddressErr = 2
dsIllInstErr = 3
dsZeroDivErr = 4
dsChkErr = 5
dsOvflowErr = 6
dsPrivErr = 7
dsTraceErr = 8
dsLineAErr = 9
dsLineFErr = 10
dsMiscErr = 11
dsCoreErr = 12
dsIrqErr = 13
dsIOCoreErr = 14
dsLoadErr = 15
dsFPErr = 16
dsNoPackErr = 17
dsNoPk1 = 18
dsNoPk2 = 19
dsNoPk3 = 20
dsNoPk4 = 21
dsNoPk5 = 22
dsNoPk6 = 23
dsNoPk7 = 24
dsMemFullErr = 25
dsBadLaunch = 26
dsFSErr = 27
dsStknHeap = 28
negZcbFreeErr = 33
dsFinderErr = 41
dsBadSlotInt = 51
dsBadSANEOpcode = 81
dsBadPatchHeader = 83
menuPrgErr = 84
dsMBarNFnd = 85
dsHMenuFindErr = 86
dsWDEFNotFound = 87
dsCDEFNotFound = 88
dsMDEFNotFound = 89
dsNoFPU = 90
dsNoPatch = 98
dsBadPatch = 99
dsParityErr = 101
dsOldSystem = 102
ds32BitMode = 103
dsNeedToWriteBootBlocks = 104
dsNotEnoughRAMToBoot = 105
dsBufPtrTooLow = 106
dsReinsert = 30
shutDownAlert = 42
dsShutDownOrRestart = 20000
dsSwitchOffOrRestart = 20001
dsForcedQuit = 20002
dsMacsBugInstalled = -10
dsDisassemblerInstalled = -11
dsExtensionsDisabled = -13
dsGreeting = 40
dsSysErr = 32767
WDEFNFnd = dsWDEFNotFound
CDEFNFnd = dsCDEFNotFound
dsNotThe1 = 31
dsBadStartupDisk = 42
dsSystemFileErr = 43
dsHD20Installed = -12
mBarNFnd = -126
hMenuFindErr = -127
userBreak = -490
strUserBreak = -491
exUserBreak = -492
selectorErr = paramErr

285
verbatim/Globals.text Normal file
View File

@ -0,0 +1,285 @@
PCDeskPat = 0x20B
HiKeyLast = 0x216
KbdLast = 0x218
ExpandMem = 0x2B6
SCSIBase = 0x0C00
SCSIDMA = 0x0C04
SCSIHsk = 0x0C08
SCSIGlobals = 0x0C0C
RGBBlack = 0x0C10
RGBWhite = 0x0C16
RowBits = 0x0C20
ColLines = 0x0C22
ScreenBytes = 0x0C24
NMIFlag = 0x0C2C
VidType = 0x0C2D
VidMode = 0x0C2E
SCSIPoll = 0x0C2F
SEVarBase = 0x0C30
MMUFlags = 0x0CB0
MMUType = 0x0CB1
MMU32bit = 0x0CB2
MMUFluff = 0x0CB3
MMUTbl = 0x0CB4
MMUTblSize = 0x0CB8
SInfoPtr = 0x0CBC
ASCBase = 0x0CC0
SMGlobals = 0x0CC4
TheGDevice = 0x0CC8
CQDGlobals = 0x0CCC
ADBBase = 0x0CF8
WarmStart = 0x0CFC
TimeDBRA = 0x0D00
TimeSCCDB = 0x0D02
SlotQDT = 0x0D04
SlotPrTbl = 0x0D08
SlotVBLQ = 0x0D0C
ScrnVBLPtr = 0x0D10
SlotTICKS = 0x0D14
TableSeed = 0x0D20
SRsrcTblPtr = 0x0D24
JVBLTask = 0x0D28
WMgrCPort = 0x0D2C
VertRRate = 0x0D30
ChunkyDepth = 0x0D60
CrsrPtr = 0x0D62
PortList = 0x0D66
MickeyBytes = 0x0D6A
QDErrLM = 0x0D6E
VIA2DT = 0x0D70
SInitFlags = 0x0D90
DTQueue = 0x0D92
DTQFlags = 0x0D92
DTskQHdr = 0x0D94
DTskQTail = 0x0D98
JDTInstall = 0x0D9C
HiliteRGB = 0x0DA0
TimeSCSIDB = 0x0DA6
DSCtrAdj = 0x0DA8
IconTLAddr = 0x0DAC
VideoInfoOK = 0x0DB0
EndSRTPtr = 0x0DB4
SDMJmpTblPtr = 0x0DB8
JSwapMMU = 0x0DBC
SdmBusErr = 0x0DC0
LastTxGDevice = 0x0DC4
NewCrsrJTbl = 0x88C
JAllocCrsr = 0x88C
JSetCCrsr = 0x890
JOpcodeProc = 0x894
CrsrBase = 0x898
CrsrDevice = 0x89C
SrcDevice = 0x8A0
MainDevice = 0x8A4
DeviceList = 0x8A8
CrsrRow = 0x8AC
QDColors = 0x8B0
HiliteMode = 0x938
BusErrVct = 0x08
RestProc = 0xA8C
ROM85 = 0x28E
ROMMapHndl = 0xB06
ScrVRes = 0x102
ScrHRes = 0x104
ScrnBase = 0x824
ScreenRow = 0x106
MBTicks = 0x16E
JKybdTask = 0x21A
KeyLast = 0x184
KeyTime = 0x186
KeyRepTime = 0x18A
SPConfig = 0x1FB
SPPortA = 0x1FC
SPPortB = 0x1FE
SCCRd = 0x1D8
SCCWr = 0x1DC
DoubleTime = 0x2F0
CaretTime = 0x2F4
KeyThresh = 0x18E
KeyRepThresh = 0x190
SdVolume = 0x260
Ticks = 0x16A
TimeLM = 0x20C
MonkeyLives = 0x100
SEvtEnb = 0x15C
JournalFlag = 0x8DE
JournalRef = 0x8E8
BufPtr = 0x10C
StkLowPt = 0x110
TheZone = 0x118
ApplLimit = 0x130
SysZone = 0x2A6
ApplZone = 0x2AA
HeapEnd = 0x114
HiHeapMark = 0xBAE
MemErr = 0x220
UTableBase = 0x11C
UnitNtryCnt = 0x1D2
JFetch = 0x8F4
JStash = 0x8F8
JIODone = 0x8FC
DrvQHdr = 0x308
BootDrive = 0x210
EjectNotify = 0x338
IAZNotify = 0x33C
SFSaveDisk = 0x214
CurDirStore = 0x398
OneOne = 0xA02
MinusOne = 0xA06
Lo3Bytes = 0x31A
ROMBase = 0x2AE
RAMBase = 0x2B2
SysVersion = 0x15A
RndSeed = 0x156
Scratch20 = 0x1E4
Scratch8 = 0x9FA
ScrapSize = 0x960
ScrapHandle = 0x964
ScrapCount = 0x968
ScrapState = 0x96A
ScrapName = 0x96C
IntlSpec = 0xBA0
SwitcherTPtr = 0x286
CPUFlag = 0x12F
VIA = 0x1D4
IWM = 0x1E0
Lvl1DT = 0x192
Lvl2DT = 0x1B2
ExtStsDT = 0x2BE
SPValid = 0x1F8
SPATalkA = 0x1F9
SPATalkB = 0x1FA
SPAlarm = 0x200
SPFont = 0x204
SPKbd = 0x206
SPPrint = 0x207
SPVolCtl = 0x208
SPClikCaret = 0x209
SPMisc1 = 0x20A
SPMisc2 = 0x20B
GetParam = 0x1E4
SysParam = 0x1F8
CrsrThresh = 0x8EC
JCrsrTask = 0x8EE
MTemp = 0x828
RawMouse = 0x82C
CrsrRect = 0x83C
TheCrsr = 0x844
CrsrAddr = 0x888
CrsrSave = 0x88C
CrsrVis = 0x8CC
CrsrBusy = 0x8CD
CrsrNew = 0x8CE
CrsrState = 0x8D0
CrsrObscure = 0x8D2
KbdVars = 0x216
KbdType = 0x21E
MBState = 0x172
KeyMapLM = 0x174
KeypadMap = 0x17C
Key1Trans = 0x29E
Key2Trans = 0x2A2
JGNEFilter = 0x29A
KeyMVars = 0xB04
Mouse = 0x830
CrsrPin = 0x834
CrsrCouple = 0x8CF
CrsrScale = 0x8D3
MouseMask = 0x8D6
MouseOffset = 0x8DA
AlarmState = 0x21F
VBLQueue = 0x160
SysEvtMask = 0x144
SysEvtBuf = 0x146
EventQueue = 0x14A
EvtBufCnt = 0x154
GZRootHnd = 0x328
GZRootPtr = 0x32C
GZMoveHnd = 0x330
MemTop = 0x108
MmInOK = 0x12E
HpChk = 0x316
MaskBC = 0x31A
MaskHandle = 0x31A
MaskPtr = 0x31A
MinStack = 0x31E
DefltStack = 0x322
MMDefFlags = 0x326
DSAlertTab = 0x2BA
DSAlertRect = 0x3F8
DSDrawProc = 0x334
DSWndUpdate = 0x15D
WWExist = 0x8F2
QDExist = 0x8F3
ResumeProc = 0xA8C
DSErrCode = 0xAF0
IntFlag = 0x15F
SerialVars = 0x2D0
ABusVars = 0x2D8
ABusDCE = 0x2DC
PortAUse = 0x290
PortBUse = 0x291
SCCASts = 0x2CE
SCCBSts = 0x2CF
DskErr = 0x142
PWMBuf2 = 0x312
SoundPtr = 0x262
SoundBase = 0x266
SoundVBL = 0x26A
SoundDCE = 0x27A
SoundActive = 0x27E
SoundLevel = 0x27F
CurPitch = 0x280
DskVerify = 0x12C
TagData = 0x2FA
BufTgFNum = 0x2FC
BufTgFFlg = 0x300
BufTgFBkNum = 0x302
BufTgDate = 0x304
ScrDmpEnb = 0x2F8
ScrDmpType = 0x2F9
ScrapVars = 0x960
ScrapInfo = 0x960
ScrapEnd = 0x980
ScrapTag = 0x970
LaunchFlag = 0x902
SaveSegHandle = 0x930
CurJTOffset = 0x934
CurPageOption = 0x936
LoaderPBlock = 0x93A
CurApRefNum = 0x900
CurrentA5 = 0x904
CurStackBase = 0x908
CurApName = 0x910
LoadTrap = 0x12D
SegHiEnable = 0xBB2
WindowList = 0x9D6
PaintWhite = 0x9DC
WMgrPort = 0x9DE
GrayRgn = 0x9EE
CurActivate = 0xA64
CurDeactive = 0xA68
DragHook = 0x9F6
DeskPattern = 0xA3C
DeskHook = 0xA6C
GhostWindow = 0xA84
TEDoText = 0xA70
TERecal = 0xA74
TEScrpLength = 0xAB0
TEScrpHandle = 0xAB4
TEWdBreak = 0xAF6
WordRedraw = 0xBA5
TESysJust = 0xBAC
TopMapHndl = 0xA50
SysMapHndl = 0xA54
SysMap = 0xA58
CurMap = 0xA5A
ResReadOnly = 0xA5C
ResLoad = 0xA5E
ResErr = 0xA60
ResErrProc = 0xAF2
SysResName = 0xAD8
RomMapInsert = 0xB9E
TmpResLoad = 0xB9F
MBarHeight = 0xBAA
CommToolboxGlobals = 0x0BB4

1025
verbatim/Traps.text Normal file

File diff suppressed because it is too large Load Diff

7
verbatim/makefile.sh Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/sh
infile="$1"
cpp "$infile" | fgrep "=" | sed -e "s/^ *//g; s/, *//g;"