Macros provided by Dave Klimas

Updates for Toolbox Reference 3 and Programmer's Reference for System
6.0
This commit is contained in:
Andrew Roughan 2015-04-21 23:11:28 +10:00
parent 8881d378bc
commit 660828e3e5
30 changed files with 1839 additions and 90 deletions

View File

@ -5,7 +5,6 @@
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_ACEBootInit MAC
Tool $11D
<<<
@ -53,3 +52,13 @@ _ACECompBegin MAC
_ACEExpBegin MAC
Tool $C1D
<<<
~GetACEExpState MAC
PHL ]1
_GetACEExpState MAC
Tool $D1D
<<<
~SetACEExpState MAC
PHL ]1
_SetACEExpState MAC
Tool $E1D
<<<

View File

@ -11,11 +11,9 @@ _CtlBootInit MAC
~CtlStartUp MAC
PxW ]1;]2
_CtlStartUp MAC
_InitCtrlMgr MAC
Tool $210
<<<
_CtlShutDown MAC
_CtrlShutDown MAC
Tool $310
<<<
~CtlVersion MAC
@ -185,3 +183,116 @@ _EraseControl MAC
_DrawOneCtl MAC
Tool $2510
<<<
~FindTargetCtl MAC
PHS 2
_FindTargetCtl MAC
Tool $2610
<<<
~MakeNextCtlTarget MAC
PHS 2
_MakeNextCtlTarget MAC
Tool $2710
<<<
~MakeThisCtlTarget MAC
PHL ]1
_MakeThisCtlTarget MAC
Tool $2810
<<<
~SendEventToCtl MAC
P1SW ]1
PxL ]2;]3
_SendEventToCtl MAC
Tool $2910
<<<
~GetCtlID MAC
P2SL ]1
_GetCtlID MAC
Tool $2A10
<<<
~SetCtlID MAC
PxL ]1;]2
_SetCtlID MAC
Tool $2B10
<<<
~CallCtlDefProc MAC
PHLW ]1;]2
PHL ]3
_CallCtlDefProc MAC
Tool $2C10
<<<
~NotifyCtls MAC
PxW ]1;]2
PxL ]3;]4
_NotifyCtls MAC
Tool $2D10
<<<
~GetCtlMoreFlags MAC
P1SL ]1
_GetCtlMoreFlags MAC
Tool $2E10
<<<
~SetCtlMoreFlags MAC
PHWL ]1;]2
_SetCtlMoreFlags MAC
Tool $2F10
<<<
~GetCtlHandleFromID MAC
PHS 2
PxL ]1;]2
_GetCtlHandleFromID MAC
Tool $3010
<<<
~NewControl2 MAC
P2SL ]1
PHWL ]2;]3
_NewControl2 MAC
Tool $3110
<<<
~CMLoadResource MAC
P2SW ]1
PHL ]2
_CMLoadResource MAC
Tool $3210
<<<
~CMReleaseResource MAC
PHWL ]1;]2
_CMReleaseResource MAC
Tool $3310
<<<
~SetCtlParamPtr MAC
PHL ]1
_SetCtlParamPtr MAC
Tool $3410
<<<
~GetCtlParamPtr MAC
PHS 2
_GetCtlParamPtr MAC
Tool $3510
<<<
~InvalCtls MAC
PHL ]1
_InvalCtls MAC
Tool $3710
<<<
~FindRadioButton MAC
P1SL ]1
PHW ]2
_FindRadioButton MAC
Tool $3910
<<<
~SetLETextByID MAC
PxL ]1;]2;]3
_SetLETextByID MAC
Tool $3A10
<<<
~GetLETextByID MAC
PxL ]1;]2;]3
_GetLETextByID MAC
Tool $3B10
<<<
~qCtlStartUp MAC
PHW ]1
NextDP ]2;$100
Tool $210
<<<

View File

@ -108,3 +108,41 @@ _CloseAllNDAs MAC
_FixAppleMenu MAC
Tool $1E05
<<<
~AddToRunQ MAC
PHL ]1
_AddToRunQ MAC
Tool $1F05
<<<
~RemoveFromRunQ MAC
PHL ]1
_RemoveFromRunQ MAC
Tool $2005
<<<
~RemoveCDA MAC
PHL ]1
_RemoveCDA MAC
Tool $2105
<<<
~RemoveNDA MAC
PHL ]1
_RemoveNDA MAC
Tool $2205
<<<
~GetDeskAccInfo MAC
PHWL ]1;]2
PHWL ]3;]4
_GetDeskAccInfo MAC
Tool $2305
<<<
~CallDeskAcc MAC
PHA
PHWL ]1;]2
PHWL ]3;]4
_CallDeskAcc MAC
Tool $2405
<<<
~GetDeskGlobal MAC
P2SW ]1
_GetDeskGlobal MAC
Tool $2505
<<<

View File

@ -120,3 +120,24 @@ _SetEventMask MAC
_FakeMouse MAC
Tool $1906
<<<
~SetAutoKeyLimit MAC
PHW ]1
_SetAutoKeyLimit MAC
Tool $1A06
<<<
~GetKeyTranslation MAC
P1SW ]1
_GetKeyTranslation MAC
Tool $1B06
<<<
~SetKeyTranslation MAC
PHW ]1
_SetKeyTranslation MAC
Tool $1C06
<<<
~qEMStartUp MAC
NextDP ]1;$100
PxW ]2;]3;]4;]5
PxW ]6;]7
Tool $206
<<<

View File

@ -134,3 +134,8 @@ _FamNum2ItemID MAC
_InstallWithStats MAC
Tool $1C1B
<<<
~qFMStartUp MAC
PHW ]1
NextDP ]2;$100
Tool $21B
<<<

View File

@ -9,11 +9,9 @@ _IMBootInit MAC
Tool $10B
<<<
_IMStartUp MAC
_IntStartUp MAC
Tool $20B
<<<
_IMShutDown MAC
_IntShutDown MAC
Tool $30B
<<<
~IMVersion MAC
@ -179,13 +177,13 @@ _Long2Hex MAC
<<<
~Hex2Int MAC
PHA
PHLW ]2;]3
PHLW ]1;]2
_Hex2Int MAC
Tool $240B
<<<
~Hex2Long MAC
PHS 2
PHLW ]2;]3
PHLW ]1;]2
_Hex2Long MAC
Tool $250B
<<<

View File

@ -167,3 +167,13 @@ _LEGetTextHand MAC
_LEGetTextLen MAC
Tool $2314
<<<
~GetLEDefProc MAC
PHS 2
_GetLEDefProc MAC
Tool $2414
<<<
~qLEStartUp MAC
PHW ]1
NextDP ]2;$100
Tool $214
<<<

View File

@ -69,3 +69,48 @@ _ResetMember MAC
_NewList MAC
Tool $101C
<<<
~DrawMember2 MAC
PHWL ]1;]2
_DrawMember2 MAC
Tool $111C
<<<
~NextMember2 MAC
PHA
PHWL ]1;]2
_NextMember2 MAC
Tool $121C
<<<
~ResetMember2 MAC
P1SL ]1
_ResetMember2 MAC
Tool $131C
<<<
~SelectMember2 MAC
PHWL ]1;]2
_SelectMember2 MAC
Tool $141C
<<<
~SortList2 MAC
PxL ]1;]2
_SortList2 MAC
Tool $151C
<<<
~NewList2 MAC
PHL ]1
PxW ]2;]3;]4;]5
PHL ]6
_NewList2 MAC
Tool $161C
<<<
~ListKey MAC
PHWL ]1;]2
PHL ]3
_ListKey MAC
Tool $171C
<<<
~CompareStrings MAC
P1SW ]1
PxL ]2;]3
_CompareStrings MAC
Tool $181C
<<<

View File

@ -1,4 +1,4 @@
* Load Manager macros
* System Loader macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
@ -29,11 +29,18 @@ _LoaderStatus MAC
<<<
~InitialLoad MAC
PHS 5
PHW ]1
PHLW ]2;]3
PHWL ]1;]2
PHW ]3
_InitialLoad MAC
Tool $911
<<<
~InitialLoad2 MAC
PHS 5
PHWL ]1;]2
PxW ]3;]4
_InitialLoad2 MAC
Tool $2011
<<<
~Restart MAC
PHS 5
PHW ]1
@ -75,15 +82,31 @@ _GetLoadSegInfo MAC
_GetUserID MAC
Tool $1011
<<<
~GetUserID2 MAC
P1SL ]1
_GetUserID2 MAC
Tool $2111
<<<
~LGetPathname MAC
PHS 2
PxW ]1;]2
_LGetPathname MAC
Tool $1111
<<<
~UserShutdown MAC
~LGetPathname2 MAC
PHS 2
PxW ]1;]2
_LGetPathname2 MAC
Tool $2211
<<<
~UserShutDown MAC
PHA
PxW ]1;]2
_UserShutdown MAC
_UserShutDown MAC
Tool $1211
<<<
~RenamePathname MAC
PxL ]1;]2
_RenamePathname MAC
Tool $1311
<<<

View File

@ -104,3 +104,40 @@ _MessageCenter MAC
_SetDefaultTPT MAC
Tool $1601
<<<
~MessageByName MAC
PHS 2
PHWL ]1;]2
PxW ]3;]4
_MessageByName MAC
Tool $1701
<<<
~StartupTools MAC
PHS 2
PxW ]1;]2
PHL ]3
_StartupTools MAC
Tool $1801
<<<
~ShutdownTools MAC
PHWL ]1;]2
_ShutdownTools MAC
Tool $1901
<<<
~GetMsgHandle MAC
PHS 2
PHWL ]1;]2
_GetMsgHandle MAC
Tool $1A01
<<<
~AcceptRequests MAC
PHL ]1
PHWL ]2;]3
_AcceptRequests MAC
Tool $1B01
<<<
~SendRequest MAC
PxW ]1;]2
PxL ]3;]4;]5
_SendRequest MAC
Tool $1C01
<<<

226
Media.Macs.S Normal file
View File

@ -0,0 +1,226 @@
* Media Controller Macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_MCBootInit MAC
Tool $126
<<<
~MCStartUp MAC
PHW ]1
_MCStartUp MAC
Tool $226
<<<
_MCShutDown MAC
Tool $326
<<<
~MCVersion MAC
PHA
_MCVersion MAC
Tool $426
<<<
_MCReset MAC
Tool $526
<<<
~MCStatus MAC
PHA
_MCStatus MAC
Tool $626
<<<
~MCGetErrorMsg MAC
PHWL ]1;]2
_MCGetErrorMsg MAC
Tool $926
<<<
~MCLoadDriver MAC
PHW ]1
_MCLoadDriver MAC
Tool $A26
<<<
~MCUnLoadDriver MAC
PHW ]1
_MCUnLoadDriver MAC
Tool $B26
<<<
~MCTimeToBin MAC
P2SL ]1
_MCTimeToBin MAC
Tool $C26
~MCBinToTime MAC
P2SL ]1
_MCBinToTime MAC
Tool $D26
<<<
~MCGetTrackTitle MAC
PHLW ]1;]2
PHL ]3
_MCGetTrackTitle MAC
Tool $E26
<<<
~MCSetTrackTitle MAC
PHLW ]1;]2
PHL ]3
_MCSetTrackTitle MAC
Tool $F26
<<<
~MCGetProgram MAC
PxL ]1;]2
_MCGetProgram MAC
Tool $1026
<<<
~MCSetProgram MAC
PxL ]1;]2
_MCSetProgram MAC
Tool $1126
<<<
~MCGetDiscTitle MAC
PxL ]1;]2
_MCGetDiscTitle MAC
Tool $1226
<<<
~MCSetDiscTitle MAC
PxL ]1;]2
_MCSetDiscTitle MAC
Tool $1326
<<<
~MCDStartUp MAC
PHWL ]1;]2
_MCDStartUp MAC
Tool $1426
<<<
~MCDShutDown MAC
PHW ]1
_MCDShutDown MAC
Tool $1526
<<<
~MCGetFeatures MAC
P2SW ]1
PHW ]2
_MCGetFeatures MAC
Tool $1626
<<<
~MCPlay MAC
PHW ]1
_MCPlay MAC
Tool $1726
<<<
~MCPause MAC
PHW ]1
_MCPause MAC
Tool $1826
<<<
~MCSendRawData MAC
PHWL ]1;]2
_MCSendRawData MAC
Tool $1926
<<<
~MCGetStatus MAC
P1SW ]1
PHW ]2
_MCGetStatus MAC
Tool $1A26
<<<
~MCControl MAC
PxW ]1;]2
_MCControl MAC
Tool $1B26
<<<
~MCScan MAC
PxW ]1;]2
_MCScan MAC
Tool $1C26
<<<
~MCGetSpeeds MAC
PHWL ]1;]2
_MCGetSpeeds MAC
Tool $1D26
<<<
~MCSpeed MAC
PxW ]1;]2
_MCSpeed MAC
Tool $1E26
<<<
~MCStopAt MAC
PxW ]1;]2
PHL ]3
_MCStopAt MAC
Tool $1F26
<<<
~MCJog MAC
PxW ]1;]2
PHLW ]3;]4
_MCJog MAC
Tool $2026
<<<
~MCSearchTo MAC
PxW ]1;]2
PHL ]3
_MCSearchTo MAC
Tool $2126
<<<
~MCSearchDone MAC
P1SW ]1
_MCSearchDone MAC
Tool $2226
<<<
~MCSearchWait MAC
PHW ]1
_MCSearchWait MAC
Tool $2326
<<<
~MCGetPosition MAC
P2SW ]1
PHW ]2
_MCGetPosition MAC
Tool $2426
<<<
~MCSetAudio MAC
PxW ]1;]2
_MCSetAudio MAC
Tool $2526
<<<
~MCGetTimes MAC
P2SW ]1
PHW ]2
_MCGetTimes MAC
Tool $2626
<<<
~MCGetDiscTOC MAC
P2SW ]1
PHW ]2
_MCGetDiscTOC MAC
Tool $2726
<<<
~MCControl MAC
P2SW ]1
_MCControl MAC
Tool $2826
<<<
~MCGetNoTracks MAC
P1SW ]1
_MCGetNoTracks MAC
Tool $2926
<<<
~MCRecord MAC
PHW ]1
_MCRecord MAC
Tool $2A26
<<<
~MCStop MAC
PHW ]1
_MCStop MAC
Tool $2B26
<<<
~MCWaitRawData MAC
PHWL ]1;]2
PHW ]3
_MCWaitRawData MAC
Tool $2C26
<<<
~MCGetName MAC
PHWL ]1;]2
_MCGetName MAC
Tool $2D26
<<<

View File

@ -50,6 +50,16 @@ _ReallocHandle MAC
_RestoreHandle MAC
Tool $B02
<<<
~AddToOOMQueue MAC
PHL ]1
_AddToOOMQueue MAC
Tool $C02
<<<
~DeleteFromOOMQueue MAC
PHL ]1
_DeleteFromOOMQueue MAC
Tool $D02
<<<
~DisposeHandle MAC
PHL ]1
_DisposeHandle MAC
@ -163,3 +173,9 @@ _BlockMove MAC
_RealFreeMem MAC
Tool $2F02
<<<
~SetHandleID MAC
P1SW ]1
PHL ]2
_SetHandleID MAC
Tool $3002
<<<

View File

@ -272,3 +272,123 @@ _SetMenuBar MAC
_SetMItemName MAC
Tool $3A0F
<<<
~GetPopUpDefProc MAC
PHS 2
_GetPopUpDefProc MAC
Tool $3B0F
<<<
~PopUpMenuSelect MAC
PHA
PxW ]1;]2;]3;]4
PHL ]5
_PopUpMenuSelect MAC
Tool $3C0F
<<<
~DrawPopUp MAC
PxW ]1;]2;]3;]4
PxW ]5;]6;]7
_DrawPopUp MAC
Tool $3D0F
<<<
~NewMenu2 MAC
P2SW ]1
PHL ]2
_NewMenu2 MAC
Tool $3E0F
<<<
~InsertMItem2 MAC
PHWL ]1;]2
PxW ]3;]4
_InsertMItem2 MAC
Tool $3F0F
<<<
~SetMenuTitle2 MAC
PHWL ]1;]2
PHW ]3
_SetMenuTitle2 MAC
Tool $400F
<<<
~SetMItem2 MAC
PHWL ]1;]2
PHW ]3
_SetMItem2 MAC
Tool $410F
<<<
~SetMItemName2 MAC
PHWL ]1;]2
PHW ]3
_SetMItemName2 MAC
Tool $420F
<<<
~NewMenuBar2 MAC
P2SW ]1
PxL ]2;]3
_NewMenuBar2 MAC
Tool $430F
<<<
_HideMenuBar MAC
Tool $450F
<<<
_ShowMenuBar MAC
Tool $460F
<<<
~SetMItemIcon MAC
PHWL ]1;]2
PHW ]3
_SetMItemIcon MAC
Tool $470F
<<<
~GetMItemIcon MAC
P2SW ]1
_GetMItemIcon MAC
Tool $480F
<<<
~SetMItemStruct MAC
PHWL ]1;]2
PHW ]3
_SetMItemStruct MAC
Tool $490F
<<<
~GetMItemStruct MAC
P2SW ]1
_GetMItemStruct MAC
Tool $4A0F
<<<
~RemoveMItemStruct MAC
PHW ]1
_RemoveMItemStruct MAC
Tool $4B0F
<<<
~GetMItemFlag2 MAC
P1SW ]1
_GetMItemFlag2 MAC
Tool $4C0F
<<<
~SetMItemFlag2 MAC
PxW ]1;]2
_SetMItemFlag2 MAC
Tool $4D0F
<<<
~GetMItemBlink MAC
PHA
_GetMItemBlink MAC
Tool $4F0F
<<<
~InsertPathMItems MAC
PHWL ]1;]2
PxW ]3;]4;]5;]6
PHL ]7
_InsertPathMItems MAC
Tool $500F
<<<
~qMenuStartUp MAC
PHW ]1
NextDP ]2;$100
Tool $20F
<<<
~qNewMenu MAC
~NewMenu ]1
PHW #0
_InsertMenu
<<<

View File

@ -5,7 +5,6 @@
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_MidiBootInit MAC
Tool $120
<<<

189
MidiSyn.Macs.S Normal file
View File

@ -0,0 +1,189 @@
* MidiSynth tool macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_MSBoot MAC
Tool $123
<<<
_MSStartUp MAC
Tool $223
<<<
_MSShutDown MAC
Tool $323
<<<
~MSVersion MAC
PHA
_MSVersion MAC
Tool $423
<<<
_MSReset MAC
Tool $523
<<<
~MSStatus MAC
PHA
_MSStatus MAC
Tool $623
<<<
~SetBasicChan MAC
PHW ]1
_SetBasicChan MAC
Tool $923
<<<
~SetMIDIMode MAC
PHW ]1
_SetMIDIMode MAC
Tool $A23
<<<
~PlayNote MAC
PxW ]1;]2;]3
_PlayNote MAC
Tool $B23
<<<
~StopNote MAC
PxW ]1;]2
_StopNote MAC
Tool $C23
<<<
_KillAllNotes MAC
Tool $D23
<<<
~SetRecTrack MAC
PHW ]1
_SetRecTrack MAC
Tool $E23
<<<
~SetPlayTrack MAC
PxW ]1;]2
_SetPlayTrack MAC
Tool $F23
<<<
~TrackToChan MAC
PxW ]1;]2
_TrackToChan MAC
Tool $1023
<<<
~Locate MAC
PHS 2
PxL ]1;]2
_Locate MAC
Tool $1123
<<<
~SetVelComp MAC
PHW ]1
_SetVelComp MAC
Tool $1223
<<<
~SetMIDIPort MAC
PxW ]1;]2
_SetMIDIPort MAC
Tool $1323
<<<
~SetInstrument MAC
PHLW ]1;]2
_SetInstrument MAC
Tool $1423
<<<
~SeqPlayer MAC
PHL ]1
_SeqPlayer MAC
Tool $1523
<<<
~SetTempo MAC
PHW ]1
_SetTempo MAC
Tool $1623
<<<
~SetCallBack MAC
PHL ]1
_SetCallBack MAC
Tool $1723
<<<
~SysExOut MAC
PHLW ]1;]2
PHL ]3
_SysExOut MAC
Tool $1823
<<<
~SetBeat MAC
PHW ]1
_SetBeat MAC
Tool $1923
<<<
~MIDIMessage MAC
PxW ]1;]2;]3;]4
PHW ]5
_MIDIMessage MAC
Tool $1A23
<<<
~LocateEnd MAC
P2SL ]1
_LocateEnd MAC
Tool $1B23
<<<
~Merge MAC
PxL ]1;]2
_Merge MAC
Tool $1C23
<<<
~DeleteTrack MAC
PHWL ]1;]2
_DeleteTrack MAC
Tool $1D23
<<<
~SetMetro MAC
PxW ]1;]2
PHL ]3
_SetMetro MAC
Tool $1E23
<<<
~GetMSData MAC
PHS 4
_GetMSData MAC
Tool $1F23
<<<
~ConvertToTime MAC
PHS 2
PxW ]1;]2;]3;]4
_ConvertToTime MAC
Tool $2023
<<<
~ConvertToMeasure MAC
PHS 3
PxW ]1;]2
PHL ]3
_ConvertToMeasure MAC
Tool $2123
<<<
_MSSuspend MAC
Tool $2223
<<<
_MSResume MAC
Tool $2323
<<<
~SetTuningTable MAC
PHL ]1
_SetTuningTable MAC
Tool $2423
<<<
~GetTuningTable MAC
PHL ]1
_GetTuningTable MAC
Tool $2523
<<<
~SetTrackOut MAC
PxW ]1;]2
_SetTrackOut MAC
Tool $2623
<<<
~InitMIDIDriver MAC
PxW ]1;]2;]3
PHL ]4
_InitMIDIDriver MAC
Tool $2723
<<<
_RemoveMIDIDriver MAC
Tool $2823
<<<

View File

@ -207,3 +207,84 @@ _GetAbsClamp MAC
_SysBeep MAC
Tool $2C03
<<<
~AddToQueue MAC
PxL ]1;]2
_AddToQueue MAC
Tool $2E03
<<<
~DeleteFromQueue MAC
PxL ]1;]2
_DeleteFromQueue MAC
Tool $2F03
<<<
~SetInterruptState MAC
PHLW ]1;]2
_SetInterruptState MAC
Tool $3003
<<<
~GetInterruptState MAC
PHLW ]1;]2
_GetInterruptState MAC
Tool $3103
<<<
~GetIntStateRecSize MAC
PHA
_GetIntStateRecSize MAC
Tool $3203
<<<
~ReadMouse2 MAC
PHS 3
_ReadMouse2 MAC
Tool $3303
<<<
~GetCodeResConverter MAC
PHS 2
_GetCodeResConverter MAC
Tool $3403
<<<
_GetROMResource MAC ;private
Tool $3503
<<<
_ReleaseROMResource MAC ;private
Tool $3603
<<<
~ConvSeconds MAC
P2SW ]1
PxL ]2;]3
_ConvSeconds MAC
Tool $3703
<<<
~SysBeep MAC
PHW ]1
_SysBeep MAC
Tool $3803
<<<
~VersionString MAC
PHW ]1
PxL ]2;]3
_VersionString MAC
Tool $3903
<<<
~WaitUntil MAC
P1SW ]1
PHW ]2
_WaitUntil MAC
Tool $3A03
<<<
~StringToText MAC
PHS 2
PHWL ]1;]2
PHWL ]3;]4
_StringToText MAC
Tool $3B03
<<<
~ShowBootInfo MAC
PxL ]1;]2
_ShowBootInfo MAC
Tool $3C03
<<<
~ScanDevices MAC
PHA
_ScanDevices MAC
Tool $3D03
<<<

View File

@ -81,3 +81,8 @@ _StartInts MAC
_StopInts MAC
Tool $141A
<<<
~StartSeqRel MAC
PxL ]1;]2;]3
_StartSeqRel MAC
Tool $151A
<<<

View File

@ -6,50 +6,60 @@
; All Rights Reserved
;
_NSBootInit MAC
Tool $0119
Tool $119
<<<
~NSStartUp MAC
PHWL ]1;]2
_NSStartUp MAC
Tool $0219
Tool $219
<<<
_NSShutDown MAC
Tool $0319
Tool $319
<<<
~NSVersion MAC
PHA
_NSVersion MAC
Tool $0419
Tool $419
<<<
_NSReset MAC
Tool $0519
Tool $519
<<<
~NSStatus MAC
PHA
_NSStatus MAC
Tool $0619
Tool $619
<<<
~AllocGen MAC
P1SW ]1
_AllocGen MAC
Tool $0919
Tool $919
<<<
~DeallocGen MAC
PHW ]1
_DeallocGen MAC
Tool $0A19
Tool $A19
<<<
~NoteOn MAC
PxW ]1;]2;]3
PHL ]4
_NoteOn MAC
Tool $0B19
Tool $B19
<<<
~NoteOff MAC
PxW ]1;]2
_NoteOff MAC
Tool $0C19
Tool $C19
<<<
_AllNotesOff MAC
Tool $0D19
Tool $D19
<<<
~NSSetUpdateRate MAC
P1SW ]1
_NSSetUpdateRate MAC
Tool $E19
<<<
~NSSetUserUpdateRtn MAC
P2SL ]1
_NSSetUserUpdateRtn MAC
Tool $F19
<<<

View File

@ -94,13 +94,16 @@ _PrError MAC
_PrSetError MAC
Tool $1513
<<<
~PrChooser MAC ; alias
~PrChoosePrinter MAC
PHA
_PrChooser MAC ; alias
_PrChoosePrinter MAC
Tool $1613
<<<
~PrGetPrinterSpecs MAC
PHS 2
_PrGetPrinterSpecs MAC
Tool $1813
<<<
_LLDStartUp MAC
Tool $1913
<<<
@ -126,6 +129,31 @@ _PrDriverVer MAC
_PrPortVer MAC
Tool $2413
<<<
~PrGetZoneName MAC
PHS 2
_PrGetZoneName MAC
Tool $2513
<<<
~PrGetPrinterDvrName MAC
PHS 2
_PrGetPrinterDvrName MAC
Tool $2813
<<<
~PrGetPortDvrName MAC
PHS 2
_PrGetPortDvrName MAC
Tool $2913
<<<
~PrGetUserName MAC
PHS 2
_PrGetUserName MAC
Tool $2A13
<<<
~PrGetNetworkName MAC
PHS 2
~PrGetNetworkName MAC
Tool $2B13
<<<
~PMUnloadDriver MAC
PHW ]1
_PMUnloadDriver MAC
@ -136,3 +164,27 @@ _PMUnloadDriver MAC
_PMLoadDriver MAC
Tool $3513
<<<
~PrGetDocName MAC
PHS 2
_PrGetDocName MAC
Tool $3613
<<<
~PrSetDocName MAC
PHL ]1
_PrSetDocName MAC
Tool $3713
<<<
~PrGetPgOrientation MAC
P1SL ]1
_PrGetPgOrientation MAC
Tool $3813
<<<
~qPMStartUp MAC
PHW ]1
CLC
LDA ]2
ADC ]NextDP
PHA
Tool $0213
<<<

View File

@ -266,8 +266,6 @@ _SolidPattern MAC
Tool $3904
<<<
~MoveTo MAC
GotoXY MAC
QDGotoXY MAC
PxW ]1;]2
_MoveTo MAC
Tool $3A04
@ -1085,3 +1083,19 @@ _GetRomFont MAC
_GetFontLore MAC
Tool $D904
<<<
~Get640Colors MAC
PHA
_Get640Colors MAC
Tool $DA04
<<<
~Set640Color MAC
PHW ]1
_Set640Color MAC
Tool $DB04
<<<
~qQDStartUp MAC
NextDP ]1;$300
PxW ]2;]3;]4
Tool $204
<<<

View File

@ -48,3 +48,37 @@ _DrawIcon MAC
_SpecialRect MAC
Tool $C12
<<<
~SeedFill MAC
PxL ]1;]2;]3;]4
PxW ]5;]6;]7
PxL ]8;]9
_SeedFill MAC
Tool $D12
<<<
~CalcMask MAC
PxL ]1;]2;]3;]4
PHW ]5
PxL ]6;]7
_CalcMask MAC
Tool $E12
<<<
~GetSysIcon MAC
P2SW ]1
PHWL ]2;]3
_GetSysIcon MAC
Tool $F12
<<<
~PixelMap2Rgn MAC
P2SL ]1
PxW ]2;]3
_PixelMap2Rgn MAC
Tool $1012
<<<
_IBeamCursor MAC
Tool $1312
<<<
~WooshRect MAC
PxL ]1;]2;]3
_WooshRect MAC
Tool $1412
<<<

238
Resource.Macs.S Normal file
View File

@ -0,0 +1,238 @@
* Resource macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_ResourceBootInit MAC
Tool $11E
<<<
~ResourceStartUp MAC
PHW ]1
_ResourceStartUp MAC
Tool $21E
<<<
_ResourceShutDown MAC
Tool $31E
<<<
~ResourceVersion MAC
PHA
_ResourceVersion MAC
Tool $41E
<<<
_ResourceReset MAC
Tool $51E
<<<
~ResourceStatus MAC
PHA
_ResourceStatus MAC
Tool $61E
<<<
~CreateResourceFile MAC
PHLW ]1;]2
PHWL ]3;]4
_CreateResourceFile MAC
Tool $91E
<<<
~OpenResourceFile MAC
P1SW ]1
PxL ]2;]3
_OpenResourceFile MAC
Tool $A1E
<<<
~CloseResourceFile MAC
PHW ]1
_CloseResourceFile MAC
Tool $B1E
<<<
~AddResource MAC
PHLW ]1;]2
PHWL ]3;]4
_AddResource MAC
Tool $C1E
<<<
~UpdateResourceFile MAC
PHW ]1
_UpdateResourceFile MAC
Tool $D1E
<<<
~LoadResource MAC
P2SW ]1
PHL ]2
_LoadResource MAC
Tool $E1E
<<<
~RemoveResource MAC
PHWL ]1;]2
_RemoveResource MAC
Tool $F1E
<<<
~MarkResourceChange MAC
PxW ]1;]2
PHL ]3
_MarkResourceChange MAC
Tool $101E
<<<
~SetCurResourceFile MAC
PHW ]1
_SetCurResourceFile MAC
Tool $111E
<<<
~GetCurResourceFile MAC
PHA
_GetCurResourceFile MAC
Tool $121E
<<<
~SetCurResourceApp MAC
PHW ]1
_SetCurResourceApp MAC
Tool $131E
<<<
~GetCurResourceApp MAC
PHA
_GetCurResourceApp MAC
Tool $141E
<<<
~HomeResourceFile MAC
P1SW ]1
PHL ]2
_HomeResourceFile MAC
Tool $151E
<<<
~WriteResource MAC
PHWL ]1;]2
_WriteResource MAC
Tool $161E
<<<
~ReleaseResource MAC
PxW ]1;]2
PHL ]3
_ReleaseResource MAC
Tool $171E
<<<
~DetatchResource MAC
PHWL ]1;]2
_DetatchResource MAC
Tool $181E
<<<
~UniqueResourceID MAC
P2SW ]1
PHW ]2
_UniqueResourceID MAC
Tool $191E
<<<
~SetResourceID MAC
PHLW ]1;]2
PHL ]3
_SetResourceID MAC
Tool $1A1E
<<<
~GetResourceAttr MAC
P1SW ]1
PHL ]2
_GetResourceAttr MAC
Tool $1B1E
<<<
~SetResourceAttr MAC
PxW ]1;]2
PHL ]3
_SetResourceAttr MAC
Tool $1C1E
<<<
~GetResourceSize MAC
P2SW ]1
PHL ]2
_GetResourceSize MAC
Tool $1D1E
<<<
~MatchResourceHandle MAC
PxL ]1;]2
_MatchResourceHandle MAC
Tool $1E1E
<<<
~GetOpenFileRefNum MAC
P1SW ]1
_GetOpenFileRefNum MAC
Tool $1F1E
<<<
~CountTypes MAC
PHA
_CountTypes MAC
Tool $201E
<<<
~GetIndType MAC
P1SW ]1
_GetIndType MAC
Tool $211E
<<<
~CountResources MAC
P2SW ]1
_CountResources MAC
Tool $221E
<<<
~GetIndResource MAC
P2SW ]1
PHL ]2
_GetIndResource MAC
Tool $231E
<<<
~SetResourceLoad MAC
<