Macros as supplied with Merlin 16+

This commit is contained in:
Andrew Roughan 2015-04-18 22:14:16 +10:00
parent 291f4a8b09
commit 8881d378bc
28 changed files with 5305 additions and 0 deletions

55
Ace.Macs.S Normal file
View File

@ -0,0 +1,55 @@
* ACE tool macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_ACEBootInit MAC
Tool $11D
<<<
~ACEStartUp MAC
PHW ]1
_ACEStartUp MAC
Tool $21D
<<<
_ACEShutDown MAC
Tool $31D
<<<
~ACEVersion MAC
PHA
_ACEVersion MAC
Tool $41D
<<<
_ACEReset MAC
Tool $51D
<<<
~ACEStatus MAC
PHA
_ACEStatus MAC
Tool $61D
<<<
~ACEInfo MAC
P2SW ]1
_ACEInfo MAC
Tool $71D
<<<
~ACECompress MAC
PxL ]1;]2;]3;]4
PxW ]5;]6
_ACECompress MAC
Tool $91D
<<<
~ACEExpand MAC
PxL ]1;]2;]3;]4
PxW ]5;]6
_ACEExpand MAC
Tool $A1D
<<<
_ACECompBegin MAC
Tool $B1D
<<<
_ACEExpBegin MAC
Tool $C1D
<<<

90
Adb.Macs.S Normal file
View File

@ -0,0 +1,90 @@
* Desktop Bus tool macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_ADBBootInit MAC
Tool $109
<<<
_ADBStartUp MAC
Tool $209
<<<
_ADBShutDown MAC
Tool $309
<<<
_ADBVersion MAC
Tool $409
<<<
_ADBReset MAC
Tool $509
<<<
~ADBStatus MAC
PHA
_ADBStatus MAC
Tool $609
<<<
~SendInfo MAC
PHW ]1
PHLW ]2;]3
_SendInfo MAC
Tool $909
<<<
~ReadKeyMicroData MAC
PHW ]1
PHLW ]2;]3
_ReadKeyMicroData MAC
Tool $A09
<<<
~ReadKeyMicroMem MAC
PxL ]1;]2
PHW ]3
_ReadKeyMicroMem MAC
Tool $B09
<<<
~AsyncADBReceive MAC
PHLW ]1;]2
_AsyncADBReceive MAC
Tool $D09
<<<
~SyncADBReceive MAC
PHW ]1
PHLW ]2;]3
_SyncADBReceive MAC
Tool $E09
<<<
_AbsOn MAC
Tool $F09
<<<
_AbsOff MAC
Tool $1009
<<<
~ReadAbs MAC
PHA
_ReadAbs MAC
Tool $1109
<<<
~GetAbsScale MAC
PHL ]1
_GetAbsScale MAC
Tool $1209
<<<
~SetAbsScale MAC
PHL ]1
_SetAbsScale MAC
Tool $1309
<<<
~SRQPoll MAC
PHLW ]1;]2
_SRQPoll MAC
Tool $1409
<<<
~SRQRemove MAC
PHW ]1
_SRQRemove MAC
Tool $1509
<<<
_ClearSRQTable MAC
Tool $1609
<<<

187
Ctl.Macs.S Normal file
View File

@ -0,0 +1,187 @@
* Control Manager macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_CtlBootInit MAC
Tool $110
<<<
~CtlStartUp MAC
PxW ]1;]2
_CtlStartUp MAC
_InitCtrlMgr MAC
Tool $210
<<<
_CtlShutDown MAC
_CtrlShutDown MAC
Tool $310
<<<
~CtlVersion MAC
PHA
_CtlVersion MAC
Tool $410
<<<
_CtlReset MAC
Tool $510
<<<
~CtlStatus MAC
PHA
_CtlStatus MAC
Tool $610
<<<
_NewControl MAC
Tool $910
<<<
~DisposeControl MAC
PHL ]1
_DisposeControl MAC
Tool $A10
<<<
~KillControls MAC
PHL ]1
_KillControls MAC
Tool $B10
<<<
~SetCtlTitle MAC
PxL ]1;]2
_SetCtlTitle MAC
Tool $C10
<<<
~GetCtlTitle MAC
P2SL ]1
_GetCtlTitle MAC
Tool $D10
<<<
~HideControl MAC
PHL ]1
_HideControl MAC
Tool $E10
<<<
~ShowControl MAC
PHL ]1
_ShowControl MAC
Tool $F10
<<<
~DrawControls MAC
PHL ]1
_DrawControls MAC
Tool $1010
<<<
~HiliteControl MAC
PHWL ]1;]2
_HiliteControl MAC
Tool $1110
<<<
_CtlNewRes MAC
Tool $1210
<<<
~FindControl MAC
PHA
PHLW ]1;]2
PHWL ]3;]4
_FindControl MAC
Tool $1310
<<<
~TestControl MAC
P1SW ]1
PHWL ]2;]3
_TestControl MAC
Tool $1410
<<<
~TrackControl MAC
PHA
PxW ]1;]2
PxL ]3;]4
_TrackControl MAC
Tool $1510
<<<
~MoveControl MAC
PxW ]1;]2
PHL ]3
_MoveControl MAC
Tool $1610
<<<
~DragControl MAC
PxW ]1;]2
PxL ]3;]4
PHWL ]5;]6
_DragControl MAC
Tool $1710
<<<
~SetCtlIcons MAC
P2SL ]1
_SetCtlIcons MAC
Tool $1810
<<<
~SetCtlValue MAC
PHWL ]1;]2
_SetCtlValue MAC
Tool $1910
<<<
~GetCtlValue MAC
P1SL ]1
_GetCtlValue MAC
Tool $1A10
<<<
~SetCtlParams MAC
PxW ]1;]2
PHL ]3
_SetCtlParams MAC
Tool $1B10
<<<
~GetCtlParams MAC
P2SL ]1
_GetCtlParams MAC
Tool $1C10
<<<
~DragRect MAC
P2SL ]1
PHLW ]2;]3
PHWL ]4;]5
PxL ]6;]7
PHW ]8
_DragRect MAC
Tool $1D10
<<<
~GrowSize MAC
PHS 2
_GrowSize MAC
Tool $1E10
<<<
~GetCtlDpage MAC
PHA
_GetCtlDpage MAC
Tool $1F10
<<<
~SetCtlAction MAC
PxL ]1;]2
_SetCtlAction MAC
Tool $2010
<<<
~GetCtlAction MAC
P2SL ]1
_GetCtlAction MAC
Tool $2110
<<<
~SetCtlRefCon MAC
PxL ]1;]2
_SetCtlRefCon MAC
Tool $2210
<<<
~GetCtlRefCon MAC
P2SL ]1
_GetCtlRefCon MAC
Tool $2310
<<<
~EraseControl MAC
PHL ]1
_EraseControl MAC
Tool $2410
<<<
~DrawOneCtl MAC
PHL ]1
_DrawOneCtl MAC
Tool $2510
<<<

110
Desk.Macs.S Normal file
View File

@ -0,0 +1,110 @@
* Desk Manager macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_DeskBootInit MAC
Tool $105
<<<
_DeskStartUp MAC
Tool $205
<<<
_DeskShutDown MAC
Tool $305
<<<
~DeskVersion MAC
PHA
_DeskVersion MAC
Tool $405
<<<
~DeskStatus MAC
PHA
_DeskStatus MAC
Tool $605
<<<
_SaveScrn MAC
Tool $905
<<<
_RestScrn MAC
Tool $A05
<<<
_SaveAll MAC
Tool $B05
<<<
_RestAll MAC
Tool $C05
<<<
~InstallNDA MAC
PHL ]1
_InstallNDA MAC
Tool $E05
<<<
~InstallCDA MAC
PHL ]1
_InstallCDA MAC
Tool $F05
<<<
_ChooseCDA MAC
Tool $1105
<<<
~SetDAStrPtr MAC
PxL ]1;]2
_SetDAStrPtr MAC
Tool $1305
<<<
~GetDAStrPtr MAC
PHS 2
_GetDAStrPtr MAC
Tool $1405
<<<
~OpenNDA MAC
P1SW ]1
_OpenNDA MAC
Tool $1505
<<<
~CloseNDA MAC
PHW ]1
_CloseNDA MAC
Tool $1605
<<<
~SystemClick MAC
PxL ]1;]2
PHW ]3
_SystemClick MAC
Tool $1705
<<<
~SystemEdit MAC
P1SW ]1
_SystemEdit MAC
Tool $1805
<<<
_SystemTask MAC
Tool $1905
<<<
~SystemEvent MAC
P1SW ]1
PxL ]2;]3;]4
PHW ]5
_SystemEvent MAC
Tool $1A05
<<<
~GetNumNDAs MAC
PHA
_GetNumNDAs MAC
Tool $1B05
<<<
~CloseNDAByWinPtr MAC
PHL ]1
_CloseNDAByWinPtr MAC
Tool $1C05
<<<
_CloseAllNDAs MAC
Tool $1D05
<<<
~FixAppleMenu MAC
PHW ]1
_FixAppleMenu MAC
Tool $1E05
<<<

284
Dialog.Macs.S Normal file
View File

@ -0,0 +1,284 @@
* Dialog Manager macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_DialogBootInit MAC
Tool $115
<<<
~DialogStartUp MAC
PHW ]1
_DialogStartUp MAC
Tool $215
<<<
_DialogShutDown MAC
Tool $315
<<<
~DialogVersion MAC
PHA
_DialogVersion MAC
Tool $415
<<<
_DialogReset MAC
Tool $515
<<<
~DialogStatus MAC
PHA
_DialogStatus MAC
Tool $615
<<<
~ErrorSound MAC
PHL ]1
_ErrorSound MAC
Tool $915
<<<
~NewModalDialog MAC
P2SL ]1
PHWL ]2;]3
_NewModalDialog MAC
Tool $A15
<<<
~NewModelessDialog MAC
P2SL ]1
PxL ]2;]3
PHWL ]4;]5
PHL ]6
_NewModelessDialog MAC
Tool $B15
<<<
~CloseDialog MAC
PHL ]1
_CloseDialog MAC
Tool $C15
<<<
~NewDItem MAC
PHLW ]1;]2
PHLW ]3;]4
PHLW ]5;]6
PHWL ]7;]8
_NewDItem MAC
Tool $D15
<<<
~RemoveDItem MAC
PHLW ]1;]2
_RemoveDItem MAC
Tool $E15
<<<
~ModalDialog MAC
P1SL ]1
_ModalDialog MAC
Tool $F15
<<<
~IsDialogEvent MAC
P1SL ]1
_IsDialogEvent MAC
Tool $1015
<<<
~DialogSelect MAC
P1SL ]1
PxL ]2;]3
_DialogSelect MAC
Tool $1115
<<<
~DlgCut MAC
PHL ]1
_DlgCut MAC
Tool $1215
<<<
~DlgCopy MAC
PHL ]1
_DlgCopy MAC
Tool $1315
<<<
~DlgPaste MAC
PHL ]1
_DlgPaste MAC
Tool $1415
<<<
~DlgDelete MAC
PHL ]1
_DlgDelete MAC
Tool $1515
<<<
~DrawDialog MAC
PHL ]1
_DrawDialog MAC
Tool $1615
<<<
~Alert MAC
PHA
PxL ]1;]2
_Alert MAC
Tool $1715
<<<
~StopAlert MAC
PHA
PxL ]1;]2
_StopAlert MAC
Tool $1815
<<<
~NoteAlert MAC
PHA
PxL ]1;]2
_NoteAlert MAC
Tool $1915
<<<
~CautionAlert MAC
PHA
PxL ]1;]2
_CautionAlert MAC
Tool $1A15
<<<
~ParamText MAC
PxL ]1;]2;]3;]4
_ParamText MAC
Tool $1B15
<<<
~SetDAFont MAC
PHL ]1
_SetDAFont MAC
Tool $1C15
<<<
~GetControlDItem MAC
PHS 2
PHLW ]1;]2
_GetControlDItem MAC
Tool $1E15
<<<
~GetIText MAC
PHL ]1
PHWL ]2;]3
_GetIText MAC
Tool $1F15
<<<
~SetIText MAC
PHL ]1
PHWL ]2;]3
_SetIText MAC
Tool $2015
<<<
~SelectIText MAC
PHL ]1
PxW ]2;]3;]4
_SelectIText MAC
Tool $2115
<<<
~HideDItem MAC
PHLW ]1;]2
_HideDItem MAC
Tool $2215
<<<
~ShowDItem MAC
PHLW ]1;]2
_ShowDItem MAC
Tool $2315
<<<
~FindDItem MAC
PHA
PxL ]1;]2
_FindDItem MAC
Tool $2415
<<<
~UpdateDialog MAC
PxL ]1;]2
_UpdateDialog MAC
Tool $2515
<<<
~GetDItemType MAC
PHA
PHLW ]1;]2
_GetDItemType MAC
Tool $2615
<<<
~SetDItemType MAC
PHW ]1
PHLW ]2;]3
_SetDItemType MAC
Tool $2715
<<<
~GetDItemBox MAC
PHL ]1
PHWL ]2;]3
_GetDItemBox MAC
Tool $2815
<<<
~SetDItemBox MAC
PHL ]1
PHWL ]2;]3
_SetDItemBox MAC
Tool $2915
<<<
~GetFirstDItem MAC
P1SL ]1
_GetFirstDItem MAC
Tool $2A15
<<<
~GetNextDItem MAC
PHA
PHLW ]1;]2
_GetNextDItem MAC
Tool $2B15
<<<
~ModalDialog2 MAC
P2SL ]1
_ModalDialog2 MAC
Tool $2C15
<<<
~GetDItemValue MAC
PHA
PHLW ]1;]2
_GetDItemValue MAC
Tool $2E15
<<<
~SetDItemValue MAC
PHW ]1
PHLW ]2;]3
_SetDItemValue MAC
Tool $2F15
<<<
~GetNewModalDialog MAC
P2SL ]1
_GetNewModalDialog MAC
Tool $3215
<<<
~GetNewDItem MAC
PxL ]1;]2
_GetNewDItem MAC
Tool $3315
<<<
~GetAlertStage MAC
PHA
_GetAlertStage MAC
Tool $3415
<<<
_ResetAlertStage MAC
Tool $3515
<<<
~DefaultFilter MAC
PHA
PxL ]1;]2;]3
_DefaultFilter MAC
Tool $3615
<<<
~GetDefButton MAC
P1SL ]1
_GetDefButton MAC
Tool $3715
<<<
~SetDefButton MAC
PHWL ]1;]2
_SetDefButton MAC
Tool $3815
<<<
~DisableDItem MAC
PHLW ]1;]2
_DisableDItem MAC
Tool $3915
<<<
~EnableDItem MAC
PHLW ]1;]2
_EnableDItem MAC
Tool $3A15
<<<

122
Event.Macs.S Normal file
View File

@ -0,0 +1,122 @@
* Event Manager macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_EMBootInit MAC
Tool $106
<<<
~EMStartUp MAC
PxW ]1;]2;]3;]4
PxW ]5;]6;]7
_EMStartUp MAC
Tool $206
<<<
_EMShutDown MAC
Tool $306
<<<
~EMVersion MAC
PHA
_EMVersion MAC
Tool $406
<<<
_EMReset MAC
Tool $506
<<<
~EMStatus MAC
PHA
_EMStatus MAC
Tool $606
<<<
~DoWindows MAC
PHA
_DoWindows MAC
Tool $906
<<<
~GetNextEvent MAC
PHA
PHWL ]1;]2
_GetNextEvent MAC
Tool $A06
<<<
~EventAvail MAC
PHA
PHWL ]1;]2
_EventAvail MAC
Tool $B06
<<<
~GetMouse MAC
PHL ]1
_GetMouse MAC
Tool $C06
<<<
~Button MAC
P1SW ]1
_Button MAC
Tool $D06
<<<
~StillDown MAC
P1SW ]1
_StillDown MAC
Tool $E06
<<<
~WaitMouseUp MAC
P1SW ]1
_WaitMouseUp MAC
Tool $F06
<<<
~TickCount MAC
PHS 2
_TickCount MAC
Tool $1006
<<<
~GetDblTime MAC
PHS 2
_GetDblTime MAC
Tool $1106
<<<
~GetCaretTime MAC
PHS 2
_GetCaretTime MAC
Tool $1206
<<<
_SetSwitch MAC
Tool $1306
<<<
~PostEvent MAC
PHA
PHWL ]1;]2
_PostEvent MAC
Tool $1406
<<<
~FlushEvents MAC
PHA
PxW ]1;]2
_FlushEvents MAC
Tool $1506
<<<
~GetOSEvent MAC
PHA
PHWL ]1;]2
_GetOSEvent MAC
Tool $1606
<<<
~OSEventAvail MAC
PHA
PHWL ]1;]2
_OSEventAvail MAC
Tool $1706
<<<
~SetEventMask MAC
PHW ]1
_SetEventMask MAC
Tool $1806
<<<
~FakeMouse MAC
PxW ]1;]2;]3;]4
PHW ]5
_FakeMouse MAC
Tool $1906
<<<

136
Font.Macs.S Normal file
View File

@ -0,0 +1,136 @@
* Font Manager macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_FMBootInit MAC
Tool $11B
<<<
~FMStartUp MAC
PxW ]1;]2
_FMStartUp MAC
Tool $21B
<<<
_FMShutDown MAC
Tool $31B
<<<
~FMVersion MAC
PHA
_FMVersion MAC
Tool $41B
<<<
_FMReset MAC
Tool $51B
<<<
~FMStatus MAC
PHA
_FMStatus MAC
Tool $61B
<<<
~CountFamilies MAC
P1SW ]1
_CountFamilies MAC
Tool $91B
<<<
~FindFamily MAC
P1SW ]1
PHWL ]2;]3
_FindFamily MAC
Tool $A1B
<<<
~GetFamInfo MAC
PHA
PHWL ]1;]2
_GetFamInfo MAC
Tool $B1B
<<<
~GetFamNum MAC
P1SL ]1
_GetFamNum MAC
Tool $C1B
<<<
~AddFamily MAC
PHWL ]1;]2
_AddFamily MAC
Tool $D1B
<<<
~InstallFont MAC
PHLW ]1;]2
_InstallFont MAC
Tool $E1B
<<<
~SetPurgeStat MAC
PHLW ]1;]2
_SetPurgeStat MAC
Tool $F1B
<<<
~CountFonts MAC
P1SL ]1
PHW ]2
_CountFonts MAC
Tool $101B
<<<
~FindFontStats MAC
PHLW ]1;]2
PHWL ]3;]4
_FindFontStats MAC
Tool $111B
<<<
~LoadFont MAC
PHLW ]1;]2
PHWL ]3;]4
_LoadFont MAC
Tool $121B
<<<
_LoadSysFont MAC
Tool $131B
<<<
~AddFontVar MAC
PHLW ]1;]2
_AddFontVar MAC
Tool $141B
<<<
~FixFontMenu MAC
PxW ]1;]2;]3
_FixFontMenu MAC
Tool $151B
<<<
~ChooseFont MAC
P2SL ]1
PHW ]2
_ChooseFont MAC
Tool $161B
<<<
~ItemID2FamNum MAC
P1SW ]1
_ItemID2FamNum MAC
Tool $171B
<<<
~FMSetSysFont MAC
PHL ]1
_FMSetSysFont MAC
Tool $181B
<<<
~FMGetSysFID MAC
PHS 2
_FMGetSysFID MAC
Tool $191B
<<<
~FMGetCurFID MAC
PHS 2
_FMGetCurFID MAC
Tool $1A1B
<<<
~FamNum2ItemID MAC
P1SW ]1
_FamNum2ItemID MAC
Tool $1B1B
<<<
~InstallWithStats MAC
PHLW ]1;]2
PHL ]3
_InstallWithStats MAC
Tool $1C1B
<<<

220
Int.Macs.S Normal file
View File

@ -0,0 +1,220 @@
* Integer Math macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_IMBootInit MAC
Tool $10B
<<<
_IMStartUp MAC
_IntStartUp MAC
Tool $20B
<<<
_IMShutDown MAC
_IntShutDown MAC
Tool $30B
<<<
~IMVersion MAC
PHA
_IMVersion MAC
Tool $40B
<<<
_IMReset MAC
Tool $50B
<<<
~IMStatus MAC
PHA
_IMStatus MAC
Tool $60B
<<<
~Multiply MAC
PHS 2
PxW ]1;]2
_Multiply MAC
Tool $90B
<<<
~SDivide MAC
PHS 2
PxW ]1;]2
_SDivide MAC
Tool $A0B
<<<
~UDivide MAC
PHS 2
PxW ]1;]2
_UDivide MAC
Tool $B0B
<<<
~LongMul MAC
PHS 4
PxL ]1;]2
_LongMul MAC
Tool $C0B
<<<
~LongDivide MAC
PHS 4
PxL ]1;]2
_LongDivide MAC
Tool $D0B
<<<
~FixRatio MAC
PHS 2
PxW ]1;]2
_FixRatio MAC
Tool $E0B
<<<
~FixMul MAC
PHS 2
PxL ]1;]2
_FixMul MAC
Tool $F0B
<<<
~FracMul MAC
PHS 2
PxL ]1;]2
_FracMul MAC
Tool $100B
<<<
~FixDiv MAC
PHS 2
PxL ]1;]2
_FixDiv MAC
Tool $110B
<<<
~FracDiv MAC
PHS 2
PxL ]1;]2
_FracDiv MAC
Tool $120B
<<<
~FixRound MAC
P1SL ]1
_FixRound MAC
Tool $130B
<<<
~FracSqrt MAC
P2SL ]1
_FracSqrt MAC
Tool $140B
<<<
~FracCos MAC
P2SL ]1
_FracCos MAC
Tool $150B
<<<
~FracSin MAC
P2SL ]1
_FracSin MAC
Tool $160B
<<<
~FixATan2 MAC
PHS 2
PxL ]1;]2
_FixATan2 MAC
Tool $170B
<<<
~HiWord MAC
P1SL ]1
_HiWord MAC
Tool $180B
<<<
~LoWord MAC
P1SL ]1
_LoWord MAC
Tool $190B
<<<
~Long2Fix MAC
P2SL ]1
_Long2Fix MAC
Tool $1A0B
<<<
~Fix2Long MAC
P2SL ]1
_Fix2Long MAC
Tool $1B0B
<<<
~Fix2Frac MAC
P2SL ]1
_Fix2Frac MAC
Tool $1C0B
<<<
~Frac2Fix MAC
P2SL ]1
_Frac2Fix MAC
Tool $1D0B
<<<
~Fix2X MAC
PxL ]1;]2
_Fix2X MAC
Tool $1E0B
<<<
~Frac2X MAC
PxL ]1;]2
_Frac2X MAC
Tool $1F0B
<<<
~X2Fix MAC
P2SL ]1
_X2Fix MAC
Tool $200B
<<<
~X2Frac MAC
P2SL ]1
_X2Frac MAC
Tool $210B
<<<
~Int2Hex MAC
PHW ]1
PHLW ]2;]3
_Int2Hex MAC
Tool $220B
<<<
~Long2Hex MAC
PxL ]1;]2
PHW ]3
_Long2Hex MAC
Tool $230B
<<<
~Hex2Int MAC
PHA
PHLW ]2;]3
_Hex2Int MAC
Tool $240B
<<<
~Hex2Long MAC
PHS 2
PHLW ]2;]3
_Hex2Long MAC
Tool $250B
<<<
~Int2Dec MAC
PHWL ]1;]2
PxW ]3;]4
_Int2Dec MAC
Tool $260B
<<<
~Long2Dec MAC
PxL ]1;]2
PxW ]3;]4
_Long2Dec MAC
Tool $270B
<<<
~Dec2Int MAC
P1SL ]1
PxW ]2;]3
_Dec2Int MAC
Tool $280B
<<<
~Dec2Long MAC
P2SL ]1
PxW ]2;]3
_Dec2Long MAC
Tool $290B
<<<
~HexIt MAC
P2SW ]1
_HexIt MAC
Tool $2A0B
<<<

169
Line.Macs.S Normal file
View File

@ -0,0 +1,169 @@
* LineEdit macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_LEBootInit MAC
Tool $114
<<<
~LEStartUp MAC
PxW ]1;]2
_LEStartUp MAC
Tool $214
<<<
_LEShutDown MAC
Tool $314
<<<
~LEVersion MAC
PHA
_LEVersion MAC
Tool $414
<<<
_LEReset MAC
Tool $514
<<<
~LEStatus MAC
PHA
_LEStatus MAC
Tool $614
<<<
~LENew MAC
P2SL ]1
PHLW ]2;]3
_LENew MAC
Tool $914
<<<
~LEDispose MAC
PHL ]1
_LEDispose MAC
Tool $A14
<<<
~LESetText MAC
PHL ]1
PHWL ]2;]3
_LESetText MAC
Tool $B14
<<<
~LEIdle MAC
PHL ]1
_LEIdle MAC
Tool $C14
<<<
~LEClick MAC
PxL ]1;]2
_LEClick MAC
Tool $D14
<<<
~LESetSelect MAC
PxW ]1;]2
PHL ]3
_LESetSelect MAC
Tool $E14
<<<
~LEActivate MAC
PHL ]1
_LEActivate MAC
Tool $F14
<<<
~LEDeactivate MAC
PHL ]1
_LEDeactivate MAC
Tool $1014
<<<
~LEKey MAC
PxW ]1;]2
PHL ]3
_LEKey MAC
Tool $1114
<<<
~LECut MAC
PHL ]1
_LECut MAC
Tool $1214
<<<
~LECopy MAC
PHL ]1
_LECopy MAC
Tool $1314
<<<
~LEPaste MAC
PHL ]1
_LEPaste MAC
Tool $1414
<<<
~LEDelete MAC
PHL ]1
_LEDelete MAC
Tool $1514
<<<
~LEInsert MAC
PHL ]1
PHWL ]2;]3
_LEInsert MAC
Tool $1614
<<<
~LEUpdate MAC
PHL ]1
_LEUpdate MAC
Tool $1714
<<<
~LETextBox MAC
PHLW ]1;]2
PHLW ]3;]4
_LETextBox MAC
Tool $1814
<<<
_LEFromScrap MAC
Tool $1914
<<<
_LEToScrap MAC
Tool $1A14
<<<
~LEScrapHandle MAC
PHS 2
_LEScrapHandle MAC
Tool $1B14
<<<
~LEGetScrapLen MAC
PHA
_LEGetScrapLen MAC
Tool $1C14
<<<
~LESetScrapLen MAC
PHW ]1
_LESetScrapLen MAC
Tool $1D14
<<<
~LESetHilite MAC
PxL ]1;]2
_LESetHilite MAC
Tool $1E14
<<<
~LESetCaret MAC
PxL ]1;]2
_LESetCaret MAC
Tool $1F14
<<<
~LETextBox2 MAC
PHLW ]1;]2
PHLW ]3;]4
_LETextBox2 MAC
Tool $2014
<<<
~LESetJust MAC
PHWL ]1;]2
_LESetJust MAC
Tool $2114
<<<
~LEGetTextHand MAC
P2SL ]1
_LEGetTextHand MAC
Tool $2214
<<<
~LEGetTextLen MAC
P1SL ]1
_LEGetTextLen MAC
Tool $2314
<<<

71
List.Macs.S Normal file
View File

@ -0,0 +1,71 @@
* List Mgr. macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_ListBootInit MAC
Tool $011C
<<<
_ListStartup MAC
Tool $021C
<<<
_ListShutDown MAC
Tool $031C
<<<
~ListVersion MAC
PHA
_ListVersion MAC
Tool $041C
<<<
_ListReset MAC
Tool $051C
<<<
~ListStatus MAC
PHA
_ListStatus MAC
Tool $061C
<<<
~CreateList MAC
PHS 2
PxL ]1;]2
_CreateList MAC
Tool $091C
<<<
~SortList MAC
PxL ]1;]2
_SortList MAC
Tool $0A1C
<<<
~NextMember MAC
PHS 2
PxL ]1;]2
_NextMember MAC
Tool $0B1C
<<<
~DrawMember MAC
PxL ]1;]2
_DrawMember MAC
Tool $0C1C
<<<
~SelectMember MAC
PxL ]1;]2
_SelectMember MAC
Tool $0D1C
<<<
~GetListDefProc MAC
PHS 2
_GetListDefProc MAC
Tool $0E1C
<<<
~ResetMember MAC
P2SL ]1
_ResetMember MAC
Tool $0F1C
<<<
~NewList MAC
PxL ]1;]2
_NewList MAC
Tool $101C
<<<

89
Load.Macs.S Normal file
View File

@ -0,0 +1,89 @@
* Load Manager macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_LoaderInitialization MAC
Tool $111
<<<
_LoaderStartUp MAC
Tool $211
<<<
_LoaderShutDown MAC
Tool $311
<<<
~LoaderVersion MAC
PHA
_LoaderVersion MAC
Tool $411
<<<
_LoaderReset MAC
Tool $511
<<<
~LoaderStatus MAC
PHA
_LoaderStatus MAC
Tool $611
<<<
~InitialLoad MAC
PHS 5
PHW ]1
PHLW ]2;]3
_InitialLoad MAC
Tool $911
<<<
~Restart MAC
PHS 5
PHW ]1
_Restart MAC
Tool $A11
<<<
~LoadSegNum MAC
PHS 2
PxW ]1;]2;]3
_LoadSegNum MAC
Tool $B11
<<<
~UnloadSegNum MAC
PxW ]1;]2;]3
_UnloadSegNum MAC
Tool $C11
<<<
~LoadSegName MAC
PHS 4
PHW ]1
PxL ]2;]3
_LoadSegName MAC
Tool $D11
<<<
~UnloadSeg MAC
PHS 3
PHL ]1
_UnloadSeg MAC
Tool $E11
<<<
~GetLoadSegInfo MAC
PxW ]1;]2;]3
PHL ]4
_GetLoadSegInfo MAC
Tool $F11
<<<
~GetUserID MAC
P1SL ]1
_GetUserID MAC
Tool $1011
<<<
~LGetPathname MAC
PHS 2
PxW ]1;]2
_LGetPathname MAC
Tool $1111
<<<
~UserShutdown MAC
PHA
PxW ]1;]2
_UserShutdown MAC
Tool $1211
<<<

106
Locator.Macs.S Normal file
View File

@ -0,0 +1,106 @@
* Tool Locator macros
* by Dave Klimas
;
; Copyright Apple Computer, Inc. 1986, 1987
; and Roger Wagner Publishing, Inc. 1988
; All Rights Reserved
;
_TLBootInit MAC
Tool $101
<<<
_TLStartUp MAC
Tool $201
<<<
_TLShutDown MAC
Tool $301
<<<
~TLVersion MAC
PHA
_TLVersion MAC
Tool $401
<<<
_TLReset MAC
Tool $501
<<<
~TLStatus MAC
PHA
_TLStatus MAC
Tool $601
<<<
~GetTSPtr MAC
PHS 2
PxW ]1;]2
_GetTSPtr MAC
Tool $901
<<<
~SetTSPtr MAC
PxW ]1;]2
PHL ]3
_SetTSPtr MAC
Tool $A01
<<<
~GetFuncPtr MAC
PHS 2
PxW ]1;]2
_GetFuncPtr MAC
Tool $B01
<<<
~GetWAP MAC
PHS 2
PxW ]1;]2
_GetWAP MAC
Tool $C01
<<<
~SetWAP MAC
PxW ]1;]2
PHL ]3
_SetWAP MAC
Tool $D01
<<<
~LoadTools MAC