first commit for github

This commit is contained in:
Christopher Shepherd 2015-05-09 15:40:04 -04:00
commit 143d8cbdd5
180 changed files with 24770 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/.AppleDouble/Anim.s Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

62
Library/Ace.Macs.s Normal file
View File

@ -0,0 +1,62 @@
* 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
<<<
_GetACEExpState MAC
Tool $D1D
<<<
_SetACEExpState MAC
Tool $E1D
<<<

91
Library/Adb.Macs.s Normal file
View File

@ -0,0 +1,91 @@
* 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
<<<

83
Library/Anim.s Normal file
View File

@ -0,0 +1,83 @@
*
* Anim Tool Set
*
_AnimBootInit MAC
Tool $0125
<<<
_AnimStartUp MAC
Tool $0225
<<<
_AnimShutDown MAC
Tool $0325
<<<
_AnimVersion MAC
Tool $0425
<<<
_AnimReset MAC
Tool $0525
<<<
_AnimStatus MAC
Tool $0623
<<<
_AnimIdleDebug MAC
Tool $0825
<<<
_StartScene MAC
Tool $0925
<<<
_StopScene MAC
Tool $0A25
<<<
_StartFrameTimer MAC
Tool $0B25
<<<
_StopFrameTimer MAC
Tool $0C25
<<<
_SetBackGndPort MAC
Tool $0D25
<<<
_RefreshBack MAC
Tool $0E25
<<<
_StartChar MAC
Tool $0F25
<<<
_MoveChar MAC
Tool $1025
<<<
_GetCharRecPtr MAC
Tool $1125
<<<
_KillChar MAC
Tool $1225
<<<
_LoadActor MAC
Tool $1325
<<<
_SetCharScript MAC
Tool $1425
<<<
_RunAnimScripts MAC
Tool $1525
<<<
_FillAddrTable MAC
Tool $1625
<<<
_CompileRect MAC
Tool $1725
<<<
_StartTockTask MAC
Tool $1825
<<<
_FireTockTask MAC
Tool $1925
<<<
_SetForeGndPort MAC
Tool $1A25
<<<
_SetAnimWindow MAC
Tool $1B25
<<<

46
Library/Crypto.Macs.s Normal file
View File

@ -0,0 +1,46 @@
*
* Crypto Tool Set Macros
* by Andrew Roughan
*
* 2002-04-05 AJR - Initial Coding
* 2002-07-03 AJR - desAddParity
* 2002-08-10 AJR - Tool number assigned
*
]cryptotoolnum = $81
_cryptoBootInit MAC
Tool $0100+]cryptotoolnum
<<<
~cryptoStartUp MAC
PHW ]1
_cryptoStartUp MAC
Tool $0200+]cryptotoolnum
<<<
_cryptoShutDown MAC
Tool $0300+]cryptotoolnum
<<<
~cryptoVersion MAC
PHA
_cryptoVersion MAC
Tool $0400+]cryptotoolnum
<<<
_cryptoReset MAC
Tool $0500+]cryptotoolnum
<<<
~cryptoStatus MAC
PHA
_cryptoStatus MAC
Tool $0600+]cryptotoolnum
<<<
~desCipher MAC
PxL ]1,]2,]3
PHW ]4
_desCipher MAC
Tool $0900+]cryptotoolnum
<<<
~desAddParity MAC
PxL ]1,]2
_desAddParity MAC
Tool $0A00+]cryptotoolnum
<<<

305
Library/Ctl.Macs.s Normal file
View File

@ -0,0 +1,305 @@
* 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
<<<
~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
<<<
~qCtlStartUp MAC
PHW ]1
NextDP ]2;$100
Tool $210
<<<
_FindRadioButton MAC
Tool $3910
<<<
_SetLETextByID MAC
Tool $3A10
<<<
_GetLETextByID MAC
Tool $3B10
<<<
_SetCtlValueByID MAC
Tool $3C10
<<<
_GetCtlValueByID MAC
Tool $3D10
<<<
_InvalOneCtlByID MAC
Tool $3E10
<<<
_HiliteCtlByID MAC
Tool $3F10
<<<

143
Library/Desk.Macs.s Normal file
View File

@ -0,0 +1,143 @@
* 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
<<<
_DeskReset MAC
Tool $505
<<<
~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
<<<
~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
Tool $2305
<<<
_CallDeskAcc MAC
Tool $2405
<<<
_GetDeskGlobal MAC
Tool $2505
<<<

285
Library/Dialog.Macs.s Normal file
View File

@ -0,0 +1,285 @@
* 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
<<<

177
Library/Dos.16.Macs.s Normal file
View File

@ -0,0 +1,177 @@
*===============================
* ProDOS-16 macro and equates
*
* Use with syntax:
*
* _CMDNAME PARMADR
*
* where "CMDNAME" is one of the
* following labels and "PARMADR"
* is the label of the parameters
* table to use.
*
*-------------------------------
;
; Copyright Apple Computer, Inc. 1986, 1987
; All Rights Reserved
;
open = $10
read = $12
write = $13
close = $14
_CREATE MAC
DOS16 $01;]1
<<<
_DESTROY MAC
DOS16 $02;]1
<<<
_CHANGE_PATH MAC
DOS16 $04;]1
<<<
_SET_FILE_INFO MAC
DOS16 $05;]1
<<<
_GET_FILE_INFO MAC
DOS16 $06;]1
<<<
_VOLUME MAC
DOS16 $08;]1
<<<
_SET_PREFIX MAC
DOS16 $09;]1
<<<
_SETPREFIX MAC ; alternate name
DOS16 $09;]1
<<<
_GET_PREFIX MAC
DOS16 $0A;]1
<<<
_GETPREFIX MAC ; alternate name
DOS16 $0A;]1
<<<
_CLEAR_BACKUP_BIT MAC
DOS16 $0B;]1
<<<
_OPEN MAC
DOS16 $10;]1
<<<
_NEWLINE MAC
DOS16 $11;]1
<<<
_READ MAC
DOS16 $12;]1
<<<
_WRITE MAC
DOS16 $13;]1
<<<
_CLOSE MAC
DOS16 $14;]1
<<<
_FLUSH MAC
DOS16 $15;]1
<<<
_SET_MARK MAC
DOS16 $16;]1
<<<
_GET_MARK MAC
DOS16 $17;]1
<<<
_SET_EOF MAC
DOS16 $18;]1
<<<
_GET_EOF MAC
DOS16 $19;]1
<<<
_SET_LEVEL MAC
DOS16 $1A;]1
<<<
_GET_LEVEL MAC
DOS16 $1B;]1
<<<
_GET_DIR_ENTRY MAC
DOS16 $1C;]1
<<<
_GET_DEV_NUM MAC
DOS16 $20;]1
<<<
_GET_LAST_DEV MAC
DOS16 $21;]1
<<<
_READ_BLOCK MAC
DOS16 $22;]1
<<<
_WRITE_BLOCK MAC
DOS16 $23;]1
<<<
_FORMAT MAC
DOS16 $24;]1
<<<
_ERASE_DISK MAC
DOS16 $25;]1
<<<
_GET_NAME MAC
DOS16 $27;]1
<<<
_GET_BOOT_VOL MAC
DOS16 $28;]1
<<<
_QUIT MAC
DOS16 $29;]1
<<<
_GET_VERSION MAC
DOS16 $2A;]1
<<<
_D_INFO MAC
DOS16 $2C;]1
<<<
_ALLOC_INTERRUPT MAC
DOS16 $31;]1
<<<
_DEALLOC_INTERRUPT MAC
DOS16 $32;]1
<<<
DOS16 MAC
JSL $E100A8
DA ]1 ; Change to ]1.$2000 for Class 1 P16 calls.
ADRL ]2
<<<

142
Library/Dos.8.Macs.s Normal file
View File

@ -0,0 +1,142 @@
*===============================
* ProDOS-8 macro and equates
*
* Use with syntax:
*
* command PARMADR
*
* where "command" is one of the
* following labels and "PARMADR"
* is the label of the parameters
* table to use.
*
*-----------------------<