mirror of
https://github.com/cshepherd/gscifs.git
synced 2024-06-06 11:29:30 +00:00
first commit for github
This commit is contained in:
commit
143d8cbdd5
BIN
Library/.AppleDouble/.Parent
Normal file
BIN
Library/.AppleDouble/.Parent
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Ace.Macs.s
Normal file
BIN
Library/.AppleDouble/Ace.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Adb.Macs.s
Normal file
BIN
Library/.AppleDouble/Adb.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Anim.s
Normal file
BIN
Library/.AppleDouble/Anim.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Crypto.Macs.s
Normal file
BIN
Library/.AppleDouble/Crypto.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Ctl.Macs.s
Normal file
BIN
Library/.AppleDouble/Ctl.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Desk.Macs.s
Normal file
BIN
Library/.AppleDouble/Desk.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Dialog.Macs.s
Normal file
BIN
Library/.AppleDouble/Dialog.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Dos.16.Macs.s
Normal file
BIN
Library/.AppleDouble/Dos.16.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Dos.8.Macs.s
Normal file
BIN
Library/.AppleDouble/Dos.8.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.ACE.S
Normal file
BIN
Library/.AppleDouble/E16.ACE.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.ADB.S
Normal file
BIN
Library/.AppleDouble/E16.ADB.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.CONTROL.S
Normal file
BIN
Library/.AppleDouble/E16.CONTROL.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.DESK.S
Normal file
BIN
Library/.AppleDouble/E16.DESK.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.DIALOG.S
Normal file
BIN
Library/.AppleDouble/E16.DIALOG.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.EVENT.S
Normal file
BIN
Library/.AppleDouble/E16.EVENT.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.FONT.S
Normal file
BIN
Library/.AppleDouble/E16.FONT.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.GSOS.S
Normal file
BIN
Library/.AppleDouble/E16.GSOS.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.INTMATH.S
Normal file
BIN
Library/.AppleDouble/E16.INTMATH.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.LINEEDIT.S
Normal file
BIN
Library/.AppleDouble/E16.LINEEDIT.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.LIST.S
Normal file
BIN
Library/.AppleDouble/E16.LIST.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.LOADER.S
Normal file
BIN
Library/.AppleDouble/E16.LOADER.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.LOCATOR.S
Normal file
BIN
Library/.AppleDouble/E16.LOCATOR.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.MEMORY.S
Normal file
BIN
Library/.AppleDouble/E16.MEMORY.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.MENU.S
Normal file
BIN
Library/.AppleDouble/E16.MENU.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.MISCTOOL.S
Normal file
BIN
Library/.AppleDouble/E16.MISCTOOL.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.NOTESYN.S
Normal file
BIN
Library/.AppleDouble/E16.NOTESYN.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.PRINT.S
Normal file
BIN
Library/.AppleDouble/E16.PRINT.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.PRODOS.S
Normal file
BIN
Library/.AppleDouble/E16.PRODOS.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.QUICKDRAW.S
Normal file
BIN
Library/.AppleDouble/E16.QUICKDRAW.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.SANE.S
Normal file
BIN
Library/.AppleDouble/E16.SANE.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.SCRAP.S
Normal file
BIN
Library/.AppleDouble/E16.SCRAP.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.SHELL.S
Normal file
BIN
Library/.AppleDouble/E16.SHELL.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.SOUND.S
Normal file
BIN
Library/.AppleDouble/E16.SOUND.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.STDFILE.S
Normal file
BIN
Library/.AppleDouble/E16.STDFILE.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.TEXTTOOL.S
Normal file
BIN
Library/.AppleDouble/E16.TEXTTOOL.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/E16.WINDOW.S
Normal file
BIN
Library/.AppleDouble/E16.WINDOW.S
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Event.Macs.s
Normal file
BIN
Library/.AppleDouble/Event.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Female.Macs.s
Normal file
BIN
Library/.AppleDouble/Female.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Font.Macs.s
Normal file
BIN
Library/.AppleDouble/Font.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/GsOs.Macs.s
Normal file
BIN
Library/.AppleDouble/GsOs.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Hashtool.Macs.s
Normal file
BIN
Library/.AppleDouble/Hashtool.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Int.Macs.s
Normal file
BIN
Library/.AppleDouble/Int.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Line.Macs.s
Normal file
BIN
Library/.AppleDouble/Line.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/List.Macs.s
Normal file
BIN
Library/.AppleDouble/List.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Load.Macs.s
Normal file
BIN
Library/.AppleDouble/Load.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Locator.Macs.s
Normal file
BIN
Library/.AppleDouble/Locator.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Logo.Macs.s
Normal file
BIN
Library/.AppleDouble/Logo.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Macros.s
Normal file
BIN
Library/.AppleDouble/Macros.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Male.Macs.s
Normal file
BIN
Library/.AppleDouble/Male.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Media.Macs.s
Normal file
BIN
Library/.AppleDouble/Media.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Mem.Macs.s
Normal file
BIN
Library/.AppleDouble/Mem.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Menu.Macs.s
Normal file
BIN
Library/.AppleDouble/Menu.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Midi.Macs.s
Normal file
BIN
Library/.AppleDouble/Midi.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/MidiSyn.Macs.s
Normal file
BIN
Library/.AppleDouble/MidiSyn.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Misc.Macs.s
Normal file
BIN
Library/.AppleDouble/Misc.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/NoteSeq.Macs.s
Normal file
BIN
Library/.AppleDouble/NoteSeq.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/NoteSyn.Macs.s
Normal file
BIN
Library/.AppleDouble/NoteSyn.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Print.Macs.s
Normal file
BIN
Library/.AppleDouble/Print.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Qd.Macs.s
Normal file
BIN
Library/.AppleDouble/Qd.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/QdAux.Macs.s
Normal file
BIN
Library/.AppleDouble/QdAux.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Resource.Macs.s
Normal file
BIN
Library/.AppleDouble/Resource.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Sane.Macs.s
Normal file
BIN
Library/.AppleDouble/Sane.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Sch.Macs.s
Normal file
BIN
Library/.AppleDouble/Sch.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Scrap.Macs.s
Normal file
BIN
Library/.AppleDouble/Scrap.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Sound.Macs.s
Normal file
BIN
Library/.AppleDouble/Sound.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Speech.Macs.s
Normal file
BIN
Library/.AppleDouble/Speech.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Std.Macs.s
Normal file
BIN
Library/.AppleDouble/Std.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/TCPIP.Macs.s
Normal file
BIN
Library/.AppleDouble/TCPIP.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/TCPIPX.Macs.s
Normal file
BIN
Library/.AppleDouble/TCPIPX.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Text.Macs.s
Normal file
BIN
Library/.AppleDouble/Text.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/TextEdit.Macs.s
Normal file
BIN
Library/.AppleDouble/TextEdit.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Tool219.Macs.s
Normal file
BIN
Library/.AppleDouble/Tool219.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Tool220.Macs.s
Normal file
BIN
Library/.AppleDouble/Tool220.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Util.Macs.s
Normal file
BIN
Library/.AppleDouble/Util.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/VGA.Macs.s
Normal file
BIN
Library/.AppleDouble/VGA.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Video.Macs.s
Normal file
BIN
Library/.AppleDouble/Video.Macs.s
Normal file
Binary file not shown.
BIN
Library/.AppleDouble/Window.Macs.s
Normal file
BIN
Library/.AppleDouble/Window.Macs.s
Normal file
Binary file not shown.
62
Library/Ace.Macs.s
Normal file
62
Library/Ace.Macs.s
Normal 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
91
Library/Adb.Macs.s
Normal 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
83
Library/Anim.s
Normal 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
46
Library/Crypto.Macs.s
Normal 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
305
Library/Ctl.Macs.s
Normal 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
143
Library/Desk.Macs.s
Normal 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
285
Library/Dialog.Macs.s
Normal 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
177
Library/Dos.16.Macs.s
Normal 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
142
Library/Dos.8.Macs.s
Normal 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.
|
||||||
|
*
|
||||||
|
*-------------------------------
|
||||||
|
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
* MLI call codes:
|
||||||
|
|
||||||
|
ALLOC_INTERRUPT MAC
|
||||||
|
DOS8 $40;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
DEALLOC_INTERRUPT MAC
|
||||||
|
DOS8 $41;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
APPLE_TALK MAC
|
||||||
|
DOS8 $42;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
SPECIAL_OPEN_FORK MAC
|
||||||
|
DOS8 $43;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
BYTE_RANGE_LOCK MAC
|
||||||
|
DOS8 $44;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
QUIT MAC
|
||||||
|
DOS8 $65;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
READ_BLOCK MAC
|
||||||
|
DOS8 $80;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
WRITE_BLOCK MAC
|
||||||
|
DOS8 $81;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
GET_TIME MAC
|
||||||
|
DOS8 $82;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
CREATE MAC
|
||||||
|
DOS8 $C0;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
DESTROY MAC
|
||||||
|
DOS8 $C1;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
RENAME MAC
|
||||||
|
DOS8 $C2;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
SET_FILE_INFO MAC
|
||||||
|
DOS8 $C3;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
GET_FILE_INFO MAC
|
||||||
|
DOS8 $C4;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
ON_LINE MAC
|
||||||
|
DOS8 $C5;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
SET_PREFIX MAC
|
||||||
|
DOS8 $C6;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
GET_PREFIX MAC
|
||||||
|
DOS8 $C7;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
OPEN MAC
|
||||||
|
DOS8 $C8;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
NEWLINE MAC
|
||||||
|
DOS8 $C9;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
READ MAC
|
||||||
|
DOS8 $CA;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
WRITE MAC
|
||||||
|
DOS8 $CB;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
CLOSE MAC
|
||||||
|
DOS8 $CC;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
FLUSH MAC
|
||||||
|
DOS8 $CD;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
SET_MARK MAC
|
||||||
|
DOS8 $CE;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
GET_MARK MAC
|
||||||
|
DOS8 $CF;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
SET_EOF MAC
|
||||||
|
DOS8 $D0;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
GET_EOF MAC
|
||||||
|
DOS8 $D1;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
SET_BUF MAC
|
||||||
|
DOS8 $D2;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
GET_BUF MAC
|
||||||
|
DOS8 $D3;]1
|
||||||
|
<<<
|
||||||
|
|
||||||
|
DOS8 MAC
|
||||||
|
JSR $BF00
|
||||||
|
DFB ]1
|
||||||
|
DA ]2
|
||||||
|
<<<
|
||||||
|
|
18
Library/E16.ACE.Macs.s
Normal file
18
Library/E16.ACE.Macs.s
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
; File: E16.ACE
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple computer, Inc. 1988
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
;
|
||||||
|
|
||||||
|
aceNoError equ $0 ; Error -
|
||||||
|
aceIsActive equ $1D01 ; Error -
|
||||||
|
aceBadDP equ $1D02 ; Error -
|
||||||
|
aceNotActive equ $1D03 ; Error -
|
||||||
|
aceNoSuchParam equ $1D04 ; Error -
|
||||||
|
aceBadMethod equ $1D05 ; Error -
|
||||||
|
aceBadSrc equ $1D06 ; Error -
|
||||||
|
aceBadDest equ $1D07 ; Error -
|
||||||
|
aceDatatOverlap equ $1D08 ; Error -
|
||||||
|
aceNotImplemented equ $1DFF ; Error -
|
65
Library/E16.ADB.Macs.s
Normal file
65
Library/E16.ADB.Macs.s
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
|
||||||
|
; File: E16.ADB
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
cmndIncomplete equ $0910 ; ADB error - Command not completed.
|
||||||
|
cantSync equ $0911 ; ADB error - Can't synchronize
|
||||||
|
adbBusy equ $0982 ; ADB error - Busy (command pending)
|
||||||
|
devNotAtAddr equ $0983 ; ADB error - Device not present at address
|
||||||
|
|
||||||
|
srqListFull equ $0984 ; ADB error - List full
|
||||||
|
|
||||||
|
orcRepeatDelay equ $0000 ; Byte - ReadConfigRec - Output byte:
|
||||||
|
;Repeat Delay/Rate
|
||||||
|
orcLayoutOrLang equ $0001 ; Byte - ReadConfigRec - Output byte:
|
||||||
|
;Layout/Lang
|
||||||
|
orcADBAddr equ $0002 ; Byte - ReadConfigRec - Output byte: ADB
|
||||||
|
;address - keyboard and mouse.
|
||||||
|
|
||||||
|
oxDivide equ $0000 ; Word - ScaleRec -
|
||||||
|
oyDivide equ $0002 ; Word - ScaleRec -
|
||||||
|
oxOffset equ $0004 ; Word - ScaleRec -
|
||||||
|
oyOffset equ $0006 ; Word - ScaleRec -
|
||||||
|
oxMultiply equ $0008 ; Word - ScaleRec -
|
||||||
|
oyMultiply equ $000A ; Word - ScaleRec -
|
||||||
|
|
||||||
|
oscADBAddr equ $0000 ; Byte - SetConfigRec - keyboard and mouse
|
||||||
|
oscLayoutOrLang equ $0001 ; Byte - SetConfigRec -
|
||||||
|
oscRepeatDelay equ $0002 ; Byte - SetConfigRec -
|
||||||
|
|
||||||
|
osynchMode equ $0000 ; Byte - SynchRec -
|
||||||
|
osynchKybdMouseAddr equ $0001 ; Byte - SynchRec -
|
||||||
|
osynchLayoutOrLang equ $0002 ; Byte - SynchRec -
|
||||||
|
osynchRepeatDelay equ $0003 ; Byte - SynchRec -
|
||||||
|
|
||||||
|
readModes equ $000A ; ReadKeyMicroData -
|
||||||
|
readConfig equ $000B ; ReadKeyMicroData -
|
||||||
|
readADBError equ $000C ; ReadKeyMicroData -
|
||||||
|
readVersionNum equ $000D ; ReadKeyMicroData -
|
||||||
|
|
||||||
|
readMicroMem equ $0009 ; ReadKeyMicroMem -
|
||||||
|
|
||||||
|
abort equ $0001 ; SendInfo - command
|
||||||
|
resetKbd equ $0002 ; SendInfo - command
|
||||||
|
flushKbd equ $0003 ; SendInfo - command
|
||||||
|
setModes equ $0004 ; SendInfo - 2nd param is pointer to mode byte
|
||||||
|
clearModes equ $0005 ; SendInfo - 2nd param is pointer to mode Byte
|
||||||
|
setConfig equ $0006 ; SendInfo - 2nd param is pointer to SetConfigRec
|
||||||
|
synch equ $0007 ; SendInfo - 2nd param is pointer to SynchRec
|
||||||
|
writeMicroMem equ $0008 ; SendInfo - 2nd param is pointer to MicroControlMemRec
|
||||||
|
resetSys equ $0010 ; SendInfo - command
|
||||||
|
keyCode equ $0011 ; SendInfo - 2nd param is pointer to key code byte.
|
||||||
|
resetADB equ $0040 ; SendInfo - command
|
||||||
|
transmitADBBytes equ $0047 ; SendInfo - add number of bytes to this
|
||||||
|
enableSRQ equ $0050 ; SendInfo - command - ADB address in low nibble
|
||||||
|
flushADBDevBuf equ $0060 ; SendInfo - command - ADB address in low nibble
|
||||||
|
disableSRQ equ $0070 ; SendInfo - command - ADB address in low nibble
|
||||||
|
transmit2ADBBytes equ $0080 ; SendInfo - add ADB address to this
|
||||||
|
listen equ $0080 ; SendInfo - adbCommand = listen + ( 16 * reg) +
|
||||||
|
; (adb address)
|
||||||
|
talk equ $00C0 ; SendInfo - adbCommand = talk + ( 16 * reg) +
|
||||||
|
; (adb address)
|
128
Library/E16.Control.Macs.s
Normal file
128
Library/E16.Control.Macs.s
Normal file
|
@ -0,0 +1,128 @@
|
||||||
|
|
||||||
|
; File: E16.Control
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
obarOutline equ $00 ; Word - BarColors - color for outlining bar
|
||||||
|
;, arrows, and thumb
|
||||||
|
obarNorArrow equ $02 ; Word - BarColors - color of arrows when n
|
||||||
|
;ot highlighted
|
||||||
|
obarSelArrow equ $04 ; Word - BarColors - color of arrows when h
|
||||||
|
;ighlighted
|
||||||
|
obarArrowBack equ $06 ; Word - BarColors - color of arrow box's
|
||||||
|
;background
|
||||||
|
obarNorThumb equ $08 ; Word - BarColors - color of thumb's backg
|
||||||
|
;round when not highlighted
|
||||||
|
obarSelThumb equ $0A ; Word - BarColors - color of thumb's backg
|
||||||
|
;round when highlighted
|
||||||
|
obarPageRgn equ $0C ; Word - BarColors - color and pattern page
|
||||||
|
;region: high byte - 1= dither, 0 = solid
|
||||||
|
obarInactive equ $0E ; Word - BarColors - color of scroll bar's
|
||||||
|
;interior when inactive
|
||||||
|
|
||||||
|
oboxReserved equ $00 ; Word - BoxColors - reserved
|
||||||
|
oboxNor equ $02 ; Word - BoxColors - color of box when not check
|
||||||
|
;ed
|
||||||
|
oboxSel equ $04 ; Word - BoxColors - color of box when checked
|
||||||
|
oboxTitle equ $06 ; Word - BoxColors - color of check box's titl
|
||||||
|
;e
|
||||||
|
|
||||||
|
obttnOutline equ $00 ; Word - BttnColors - color of outline
|
||||||
|
obttnNorBack equ $02 ; Word - BttnColors - color of background w
|
||||||
|
;hen not selected
|
||||||
|
obttnSelBack equ $04 ; Word - BttnColors - color of background w
|
||||||
|
;hen selected
|
||||||
|
obttnNorText equ $06 ; Word - BttnColors - color of title's text
|
||||||
|
; when not selected
|
||||||
|
obttnSelText equ $08 ; Word - BttnColors - color of title's text
|
||||||
|
; when selected
|
||||||
|
|
||||||
|
oradReserved equ $00 ; Word - RadioColors - reserved
|
||||||
|
oradNor equ $02 ; Word - RadioColors - color of radio button whe
|
||||||
|
;n off
|
||||||
|
oradSel equ $04 ; Word - RadioColors - color of radio button whe
|
||||||
|
;n on
|
||||||
|
oradTitle equ $06 ; Word - RadioColors - color of radio button's
|
||||||
|
; title text
|
||||||
|
|
||||||
|
octlNext equ $00 ; CtlRecHndl - CtlRec - Handle of next control.
|
||||||
|
octlOwner equ $04 ; GrafPortPtr - CtlRec - Pointer to control's
|
||||||
|
;window.
|
||||||
|
octlRect equ $08 ; Rect - CtlRec - Enclosing rectangle.
|
||||||
|
octlFlag equ $10 ; Byte - CtlRec - Bit flags.
|
||||||
|
octlHilite equ $11 ; Byte - CtlRec - Highlighted part.
|
||||||
|
octlValue equ $12 ; Integer - CtlRec - Control's value.
|
||||||
|
octlProc equ $14 ; Pointer - CtlRec - Control's definition proce
|
||||||
|
;dure.
|
||||||
|
octlAction equ $18 ; Pointer - CtlRec - Control's action procedu
|
||||||
|
;re.
|
||||||
|
octlData equ $1C ; Longint - CtlRec - Reserved for CtrlProc's us
|
||||||
|
;e.
|
||||||
|
octlRefCon equ $20 ; Longint - CtlRec - Reserved for application
|
||||||
|
;'s use.
|
||||||
|
octlColor equ $24 ; Pointer - CtlRec - Pointer to appropriate co
|
||||||
|
;lor table.
|
||||||
|
|
||||||
|
oboundRect equ $00 ; Rect - LimitBlk - Drag bounds.
|
||||||
|
oslopRect equ $08 ; Rect - LimitBlk - Cursor bounds.
|
||||||
|
oaxisParam equ $10 ; Word - LimitBlk - Movement constrains.
|
||||||
|
odragPatt equ $12 ; Pointer - LimitBlk - Pointer to 32 byte Patt
|
||||||
|
;ern for drag outline.
|
||||||
|
|
||||||
|
noConstraint equ $0000 ; Axis Parameter - No constraint on movem
|
||||||
|
;ent.
|
||||||
|
hAxisOnly equ $0001 ; Axis Parameter - Horizontal axis only.
|
||||||
|
vAxisOnly equ $0002 ; Axis Parameter - Vertical axis only.
|
||||||
|
|
||||||
|
simpRound equ $0000 ; CtlFlag - Simple button flag
|
||||||
|
upFlag equ $0001 ; CtlFlag - Scroll bar flag.
|
||||||
|
boldButton equ $0001 ; CtlFlag - Bold round cornered outlined bu
|
||||||
|
;tton.
|
||||||
|
simpBRound equ $0001 ; CtlFlag - Simple button flag
|
||||||
|
downFlag equ $0002 ; CtlFlag - Scroll bar flag.
|
||||||
|
simpSquare equ $0002 ; CtlFlag - Simple button flag
|
||||||
|
simpDropSquare equ $0003 ; CtlFlag - Simple button flag
|
||||||
|
leftFlag equ $0004 ; CtlFlag - Scroll bar flag.
|
||||||
|
rightFlag equ $0008 ; CtlFlag - Scroll bar flag.
|
||||||
|
dirScroll equ $0010 ; CtlFlag - Scroll bar flag.
|
||||||
|
horScroll equ $0010 ; CtlFlag - Scroll bar flag.
|
||||||
|
family equ $007F ; CtlFlag - Mask for radio button family number
|
||||||
|
ctlInVis equ $0080 ; CtlFlag - invisible mask for any type of co
|
||||||
|
;ntrol
|
||||||
|
|
||||||
|
simpleProc equ $00000000 ; CtlProc -
|
||||||
|
checkProc equ $02000000 ; CtlProc -
|
||||||
|
radioProc equ $04000000 ; CtlProc -
|
||||||
|
scrollProc equ $06000000 ; CtlProc -
|
||||||
|
growProc equ $08000000 ; CtlProc -
|
||||||
|
|
||||||
|
drawCtl equ $0000 ; DefProc - Draw control command.
|
||||||
|
calcCRect equ $0001 ; DefProc - Compute drag RECT command.
|
||||||
|
testCtl equ $0002 ; DefProc - Hit test command.
|
||||||
|
initCtl equ $0003 ; DefProc - Initialize command.
|
||||||
|
dispCtl equ $0004 ; DefProc - Dispose command.
|
||||||
|
posCtl equ $0005 ; DefProc - Move indicator command.
|
||||||
|
thumbCtl equ $0006 ; DefProc - Compute drag parameters command.
|
||||||
|
dragCtl equ $0007 ; DefProc - Drag command.
|
||||||
|
autoTrack equ $0008 ; DefProc - Action command.
|
||||||
|
newValue equ $0009 ; DefProc - Set new value command.
|
||||||
|
setParams equ $000A ; DefProc - Set new parameters command.
|
||||||
|
moveCtl equ $000B ; DefProc - Move command.
|
||||||
|
recSize equ $000C ; DefProc - Return record size command.
|
||||||
|
|
||||||
|
noHilite equ $0000 ; hiliteState - Param to HiliteControl
|
||||||
|
inactiveHilite equ $00FF ; hiliteState - Param to HiliteControl
|
||||||
|
|
||||||
|
noPart equ $0000 ; PartCode -
|
||||||
|
simpleButton equ $0002 ; PartCode -
|
||||||
|
checkBox equ $0003 ; PartCode -
|
||||||
|
radioButton equ $0004 ; PartCode -
|
||||||
|
upArrow equ $0005 ; PartCode -
|
||||||
|
downArrow equ $0006 ; PartCode -
|
||||||
|
pageUp equ $0007 ; PartCode -
|
||||||
|
pageDown equ $0008 ; PartCode -
|
||||||
|
growBox equ $000A ; PartCode -
|
||||||
|
thumb equ $0081 ; PartCode -
|
25
Library/E16.Desk.Macs.s
Normal file
25
Library/E16.Desk.Macs.s
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
; File: E16.Desk
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
daNotFound equ $0510 ; Desk error - desk accessory not found
|
||||||
|
notSysWindow equ $0511 ; Desk error - not the system window
|
||||||
|
|
||||||
|
eventAction equ $0001 ; NDA action code -
|
||||||
|
runAction equ $0002 ; NDA action code -
|
||||||
|
undoAction equ $0005 ; NDA action code -
|
||||||
|
cutAction equ $0006 ; NDA action code -
|
||||||
|
copyAction equ $0007 ; NDA action code -
|
||||||
|
pasteAction equ $0008 ; NDA action code -
|
||||||
|
clearAction equ $0009 ; NDA action code -
|
||||||
|
cursorAction equ $0003 ; NDAaction code -
|
||||||
|
|
||||||
|
undo equ $0001 ; System Edit - edit type
|
||||||
|
cut equ $0002 ; System Edit - edit type
|
||||||
|
copy equ $0003 ; System Edit - edit type
|
||||||
|
paste equ $0004 ; System Edit - edit type
|
||||||
|
clear equ $0005 ; System Edit - edit type
|
93
Library/E16.Dialog.Macs.s
Normal file
93
Library/E16.Dialog.Macs.s
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
|
||||||
|
; File: E16.Dialog
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
badItemType equ $150A ; Dialog error -
|
||||||
|
newItemFailed equ $150B ; Dialog error -
|
||||||
|
itemNotFound equ $150C ; Dialog error -
|
||||||
|
notModalDialog equ $150D ; Dialog error -
|
||||||
|
|
||||||
|
oatBoundsRect equ $00 ; Rect - AlertTemplate -
|
||||||
|
oatAlertID equ $08 ; Word - AlertTemplate -
|
||||||
|
oatStage1 equ $0A ; Byte - AlertTemplate -
|
||||||
|
oatStage2 equ $0B ; Byte - AlertTemplate -
|
||||||
|
oatStage3 equ $0C ; Byte - AlertTemplate -
|
||||||
|
oatStage4 equ $0D ; Byte - AlertTemplate -
|
||||||
|
oatItemList equ $0E ; ItemTempPtr - AlertTemplate - Null termina
|
||||||
|
;ted array
|
||||||
|
|
||||||
|
odtBoundsRect equ $00 ; Rect - DialogTemplate -
|
||||||
|
odtVisible equ $08 ; Boolean - DialogTemplate -
|
||||||
|
odtRefCon equ $0A ; Long - DialogTemplate -
|
||||||
|
odtItemList equ $0E ; ItemTempPtr - DialogTemplate - Null termin
|
||||||
|
;ated array
|
||||||
|
|
||||||
|
oiconRect equ $00 ; Rect - IconRecord -
|
||||||
|
oiconImage equ $08 ; Byte - IconRecord -
|
||||||
|
|
||||||
|
oitemID equ $00 ; Word - ItemTemplate -
|
||||||
|
oitemRect equ $02 ; Rect - ItemTemplate -
|
||||||
|
oitemType equ $0A ; Word - ItemTemplate -
|
||||||
|
oitemDescr equ $0C ; Pointer - ItemTemplate -
|
||||||
|
oitemValue equ $10 ; Word - ItemTemplate -
|
||||||
|
oitemFlag equ $12 ; Word - ItemTemplate -
|
||||||
|
oitemColor equ $14 ; CtlColorTablePtr - ItemTemplate -
|
||||||
|
|
||||||
|
odefProcParm equ $00 ; Longint - UserCtlItemPB -
|
||||||
|
otitleParm equ $04 ; Pointer - UserCtlItemPB -
|
||||||
|
oparam2 equ $08 ; Word - UserCtlItemPB -
|
||||||
|
oparam1 equ $0A ; Word - UserCtlItemPB -
|
||||||
|
|
||||||
|
getInitView equ $0001 ; Command -
|
||||||
|
getInitTotal equ $0002 ; Command -
|
||||||
|
getInitValue equ $0003 ; Command -
|
||||||
|
scrollLineUp equ $0004 ; Command -
|
||||||
|
scrollLineDown equ $0005 ; Command -
|
||||||
|
scrollPageUp equ $0006 ; Command -
|
||||||
|
scrollPageDown equ $0007 ; Command -
|
||||||
|
scrollThumb equ $0008 ; Command -
|
||||||
|
|
||||||
|
buttonItem equ $000A ; Item Type -
|
||||||
|
checkItem equ $000B ; Item Type -
|
||||||
|
radioItem equ $000C ; Item Type -
|
||||||
|
scrollBarItem equ $000D ; Item Type -
|
||||||
|
userCtlItem equ $000E ; Item Type -
|
||||||
|
statText equ $000F ; Item Type -
|
||||||
|
longStatText equ $0010 ; Item Type -
|
||||||
|
editLine equ $0011 ; Item Type -
|
||||||
|
iconItem equ $0012 ; Item Type -
|
||||||
|
picItem equ $0013 ; Item Type -
|
||||||
|
userItem equ $0014 ; Item Type -
|
||||||
|
userCtlItem2 equ $0015 ; Item Type -
|
||||||
|
longStatText2 equ $0016 ; Item Type -
|
||||||
|
itemDisable equ $8000 ; Item Type -
|
||||||
|
|
||||||
|
minItemType equ $000A ; Item Type Range -
|
||||||
|
maxItemType equ $0016 ; Item Type Range -
|
||||||
|
|
||||||
|
ok equ $0001 ; ItemID -
|
||||||
|
cancel equ $0002 ; ItemID -
|
||||||
|
|
||||||
|
inButton equ $0002 ; ModalDialog2 - Part code
|
||||||
|
inCheckBox equ $0003 ; ModalDialog2 - Part code
|
||||||
|
inRadioButton equ $0004 ; ModalDialog2 - Part code
|
||||||
|
inUpArrow equ $0005 ; ModalDialog2 - Part code
|
||||||
|
inDownArrow equ $0006 ; ModalDialog2 - Part code
|
||||||
|
inPageUp equ $0007 ; ModalDialog2 - Part code
|
||||||
|
inPageDown equ $0008 ; ModalDialog2 - Part code
|
||||||
|
inStatText equ $0009 ; ModalDialog2 - Part code
|
||||||
|
inGrow equ $000A ; ModalDialog2 - Part code
|
||||||
|
inEditLine equ $000B ; ModalDialog2 - Part code
|
||||||
|
inUserItem equ $000C ; ModalDialog2 - Part code
|
||||||
|
inLongStatText equ $000D ; ModalDialog2 - Part code
|
||||||
|
inIconItem equ $000E ; ModalDialog2 - Part code
|
||||||
|
inLongStatText2 equ $000F ; ModalDialog2 -
|
||||||
|
inThumb equ $0081 ; ModalDialog2 - Part code
|
||||||
|
|
||||||
|
okDefault equ $0000 ; Stage Bit Vector -
|
||||||
|
cancelDefault equ $0040 ; Stage Bit Vector -
|
||||||
|
alertDrawn equ $0080 ; Stage Bit Vector -
|
75
Library/E16.Event.Macs.s
Normal file
75
Library/E16.Event.Macs.s
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
|
||||||
|
; File: E16.Event
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
emDupStrtUpErr equ $0601 ; error - duplicate EMStartup Call
|
||||||
|
emResetErr equ $0602 ; error - can't reset error the Event Manag
|
||||||
|
;er
|
||||||
|
emNotActErr equ $0603 ; error - event manager not active
|
||||||
|
emBadEvtCodeErr equ $0604 ; error - illegal event code
|
||||||
|
emBadBttnNoErr equ $0605 ; error - illegal button number
|
||||||
|
emQSiz2LrgErr equ $0606 ; error - queue size too large
|
||||||
|
emNoMemQueueErr equ $0607 ; error - not enough memory for queue
|
||||||
|
emBadEvtQErr equ $0681 ; error - fatal sys error - event queue d
|
||||||
|
;amaged
|
||||||
|
emBadQHndlErr equ $0682 ; error - fatal sys error - queue handle
|
||||||
|
; damaged
|
||||||
|
|
||||||
|
owhat equ $00 ; Word - EventRecord - event code
|
||||||
|
omessage equ $02 ; Long - EventRecord - event message
|
||||||
|
owhen equ $06 ; Long - EventRecord - ticks since startup
|
||||||
|
owhere equ $0A ; Point - EventRecord - mouse location
|
||||||
|
omodifiers equ $0E ; Word - EventRecord - modifier flags
|
||||||
|
|
||||||
|
nullEvt equ $0000 ; Event Code -
|
||||||
|
mouseDownEvt equ $0001 ; Event Code -
|
||||||
|
mouseUpEvt equ $0002 ; Event Code -
|
||||||
|
keyDownEvt equ $0003 ; Event Code -
|
||||||
|
autoKeyEvt equ $0005 ; Event Code -
|
||||||
|
updateEvt equ $0006 ; Event Code -
|
||||||
|
activateEvt equ $0008 ; Event Code -
|
||||||
|
switchEvt equ $0009 ; Event Code -
|
||||||
|
deskAccEvt equ $000A ; Event Code -
|
||||||
|
driverEvt equ $000B ; Event Code -
|
||||||
|
app1Evt equ $000C ; Event Code -
|
||||||
|
app2Evt equ $000D ; Event Code -
|
||||||
|
app3Evt equ $000E ; Event Code -
|
||||||
|
app4Evt equ $000F ; Event Code -
|
||||||
|
|
||||||
|
mDownMask equ $0002 ; Event Masks -
|
||||||
|
mUpMask equ $0004 ; Event Masks -
|
||||||
|
keyDownMask equ $0008 ; Event Masks -
|
||||||
|
autoKeyMask equ $0020 ; Event Masks -
|
||||||
|
updateMask equ $0040 ; Event Masks -
|
||||||
|
activeMask equ $0100 ; Event Masks -
|
||||||
|
switchMask equ $0200 ; Event Masks -
|
||||||
|
deskAccMask equ $0400 ; Event Masks -
|
||||||
|
driverMask equ $0800 ; Event Masks -
|
||||||
|
app1Mask equ $1000 ; Event Masks -
|
||||||
|
app2Mask equ $2000 ; Event Masks -
|
||||||
|
app3Mask equ $4000 ; Event Masks -
|
||||||
|
app4Mask equ $8000 ; Event Masks -
|
||||||
|
everyEvent equ $FFFF ; Event Masks -
|
||||||
|
|
||||||
|
jcTickCount equ $00 ; Journal Code - TickCount call
|
||||||
|
jcGetMouse equ $01 ; Journal Code - GetMouse call
|
||||||
|
jcButton equ $02 ; Journal Code - Button call
|
||||||
|
jcEvent equ $04 ; Journal Code - GetNextEvent and EventAvail cal
|
||||||
|
;ls
|
||||||
|
|
||||||
|
activeFlag equ $0001 ; Modifier Flags - set if window being acti
|
||||||
|
;vated
|
||||||
|
changeFlag equ $0002 ; Modifier Flags - set if active wind. chan
|
||||||
|
;ged state
|
||||||
|
btn1State equ $0040 ; Modifier Flags - set if button 1 up
|
||||||
|
btn0State equ $0080 ; Modifier Flags - set if button 0 up
|
||||||
|
appleKey equ $0100 ; Modifier Flags - set if Apple key down
|
||||||
|
shiftKey equ $0200 ; Modifier Flags - set if shift key down
|
||||||
|
capsLock equ $0400 ; Modifier Flags - set if caps lock key down
|
||||||
|
optionKey equ $0800 ; Modifier Flags - set if option key down
|
||||||
|
controlKey equ $1000 ; Modifier Flags - set if Control key down
|
||||||
|
keyPad equ $2000 ; Modifier Flags - set if keypress from key pad
|
64
Library/E16.Font.Macs.s
Normal file
64
Library/E16.Font.Macs.s
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
|
||||||
|
; File: E16.Font
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
;
|
||||||
|
|
||||||
|
fmDupStartUpErr equ $1B01 ; Font error - duplicate FMStartUp cal
|
||||||
|
;l
|
||||||
|
fmResetErr equ $1B02 ; Font error - can't reset the Font Manager
|
||||||
|
fmNotActiveErr equ $1B03 ; Font error - Font Manager not active
|
||||||
|
fmFamNotFndErr equ $1B04 ; Font error - family not found
|
||||||
|
fmFontNtFndErr equ $1B05 ; Font error - font not found
|
||||||
|
fmFontMemErr equ $1B06 ; Font error - font not in memory
|
||||||
|
fmSysFontErr equ $1B07 ; Font error - system font cannot be purg
|
||||||
|
;eable
|
||||||
|
fmBadFamNumErr equ $1B08 ; Font error - illegal family number
|
||||||
|
fmBadSizeErr equ $1B09 ; Font error - illegal size
|
||||||
|
fmBadNameErr equ $1B0A ; Font error - illegal name length
|
||||||
|
fmMenuErr equ $1B0B ; Font error - fix font menu never called
|
||||||
|
fmScaleSizeErr equ $1B0C ; Font error - scaled size of font exee
|
||||||
|
;ds limits
|
||||||
|
|
||||||
|
ofamNum equ $00 ; Word - FontID -
|
||||||
|
ofontStyle equ $02 ; Byte - FontID -
|
||||||
|
ofontSize equ $03 ; Byte - FontID -
|
||||||
|
|
||||||
|
oresultID equ $00 ; FontID - FontStatRec -
|
||||||
|
oresultStats equ $04 ; Word - FontStatRec -
|
||||||
|
|
||||||
|
newYork equ $0002 ; Family Number -
|
||||||
|
geneva equ $0003 ; Family Number -
|
||||||
|
monaco equ $0004 ; Family Number -
|
||||||
|
venice equ $0005 ; Family Number -
|
||||||
|
london equ $0006 ; Family Number -
|
||||||
|
athens equ $0007 ; Family Number -
|
||||||
|
sanFran equ $0008 ; Family Number -
|
||||||
|
toronto equ $0009 ; Family Number -
|
||||||
|
cairo equ $000B ; Family Number -
|
||||||
|
losAngeles equ $000C ; Family Number -
|
||||||
|
times equ $0014 ; Family Number -
|
||||||
|
helvetica equ $0015 ; Family Number -
|
||||||
|
courier equ $0016 ; Family Number -
|
||||||
|
symbol equ $0017 ; Family Number -
|
||||||
|
taliesin equ $0018 ; Family Number -
|
||||||
|
shaston equ $FFFE ; Family Number -
|
||||||
|
|
||||||
|
baseOnlyBit equ $0020 ; FamSpecBits -
|
||||||
|
notBaseBit equ $0020 ; FamStatBits -
|
||||||
|
memOnlyBit equ $0001 ; FontSpecBits -
|
||||||
|
realOnlyBit equ $0002 ; FontSpecBits -
|
||||||
|
anyFamBit equ $0004 ; FontSpecBits -
|
||||||
|
anyStyleBit equ $0008 ; FontSpecBits -
|
||||||
|
anySizeBit equ $0010 ; FontSpecBits -
|
||||||
|
memBit equ $0001 ; FontStatBits -
|
||||||
|
unrealBit equ $0002 ; FontStatBits -
|
||||||
|
apFamBit equ $0004 ; FontStatBits -
|
||||||
|
apVarBit equ $0008 ; FontStatBits -
|
||||||
|
purgeBit equ $0010 ; FontStatBits -
|
||||||
|
notDiskBit equ $0020 ; FontStatBits -
|
||||||
|
notFoundBit equ $8000 ; FontStatBits -
|
||||||
|
dontScaleBit equ $0001 ; Scale Word -
|
405
Library/E16.GsOs.Macs.s
Normal file
405
Library/E16.GsOs.Macs.s
Normal file
|
@ -0,0 +1,405 @@
|
||||||
|
* File: E16.GSOS
|
||||||
|
*
|
||||||
|
* These equates can be used with the GSOS.MACS in the MACRO.LIBRARY
|
||||||
|
* directory. You can also copy the data structures at the end of this
|
||||||
|
* file directly into your own source files.
|
||||||
|
*
|
||||||
|
*-----------------------------------------------
|
||||||
|
* File access - CreateRec, OpenRec access and requestAccess fields
|
||||||
|
|
||||||
|
readEnable = $0001 ;read enable bit:
|
||||||
|
writeEnable = $0002 ;write enable bit:
|
||||||
|
backupNeeded = $0020 ;backup needed bit:must be '0' in requestAccess field )
|
||||||
|
renameEnable = $0040 ;rename enable bit:
|
||||||
|
destroyEnable = $0080 ;read enable bit:
|
||||||
|
|
||||||
|
* base - > setMark = ...
|
||||||
|
|
||||||
|
startPlus = $0000 ;base - setMark = displacement
|
||||||
|
eofMinus = $0001 ;base - setMark = eof - displacement
|
||||||
|
markPlus = $0002 ;base - setMark = mark + displacement
|
||||||
|
markMinus = $0003 ;base - setMark = mark - displacement
|
||||||
|
|
||||||
|
* cachePriority
|
||||||
|
|
||||||
|
noCache = $0000 ;cachePriority - do not cache blocks invloved in this read
|
||||||
|
cache = $0001 ;cachePriority - cache blocks invloved in this read if possible
|
||||||
|
|
||||||
|
*-----------------------------------------------
|
||||||
|
* GS/OS Error codes
|
||||||
|
|
||||||
|
badSystemCall = $0001 ;bad system call number
|
||||||
|
invalidPcount = $0004 ;invalid parameter count
|
||||||
|
gsosActive = $0007 ;GS/OS already active
|
||||||
|
devNotFound = $0010 ;device not found
|
||||||
|
invalidDevNum = $0011 ;invalid device number
|
||||||
|
drvrBadReq = $0020 ;bad request or command
|
||||||
|
drvrBadCode = $0021 ;bad control or status code
|
||||||
|
drvrBadParm = $0022 ;bad call parameter
|
||||||
|
drvrNotOpen = $0023 ;character device not open
|
||||||
|
drvrPriorOpen = $0024 ;character device already open
|
||||||
|
irqTableFull = $0025 ;interrupt table full
|
||||||
|
drvrNoResrc = $0026 ;resources not available
|
||||||
|
drvrIOError = $0027 ;I/O error
|
||||||
|
drvrNoDevice = $0028 ;device not connected
|
||||||
|
drvrBusy = $0029 ;call aborted, driver is busy
|
||||||
|
drvrWrtProt = $002B ;device is write protected
|
||||||
|
drvrBadCount = $002C ;invalid byte count
|
||||||
|
drvrBadBlock = $002D ;invalid block address
|
||||||
|
drvrDiskSwitch = $002E ;disk has been switched
|
||||||
|
drvrOffLine = $002F ;device off line/ no media present
|
||||||
|
badPathSyntax = $0040 ;invalid pathname syntax
|
||||||
|
invalidRefNum = $0043 ;invalid reference number
|
||||||
|
pathNotFound = $0044 ;subdirectory does not exist
|
||||||
|
volNotFound = $0045 ;volume not found
|
||||||
|
fileNotFound = $0046 ;file not found
|
||||||
|
dupPathname = $0047 ;create or rename with existing name
|
||||||
|
volumeFull = $0048 ;volume full error
|
||||||
|
volDirFull = $0049 ;volume directory full
|
||||||
|
badFileFormat = $004A ;version error (incompatible file format)
|
||||||
|
badStoreType = $004B ;unsupported (or incorrect) storage type
|
||||||
|
eofEncountered = $004C ;end-of-file encountered
|
||||||
|
outOfRange = $004D ;position out of range
|
||||||
|
invalidAccess = $004E ;access not allowed
|
||||||
|
buffTooSmall = $004F ;buffer too small
|
||||||
|
fileBusy = $0050 ;file is already open
|
||||||
|
dirError = $0051 ;directory error
|
||||||
|
unknownVol = $0052 ;unknown volume type
|
||||||
|
paramRangeErr = $0053 ;parameter out of range
|
||||||
|
outOfMem = $0054 ;out of memory
|
||||||
|
dupVolume = $0057 ;duplicate volume name
|
||||||
|
notBlockDev = $0058 ;not a block device
|
||||||
|
invalidLevel = $0059 ;specifield level outside legal range
|
||||||
|
damagedBitMap = $005A ;block number too large
|
||||||
|
badPathNames = $005B ;invalid pathnames for ChangePath
|
||||||
|
notSystemFile = $005C ;not an executable file
|
||||||
|
osUnsupported = $005D ;Operating System not supported
|
||||||
|
stackOverflow = $005F ;too many applications on stack
|
||||||
|
dataUnavail = $0060 ;Data unavailable
|
||||||
|
endOfDir = $0061 ;end of directory has been reached
|
||||||
|
invalidClass = $0062 ;invalid FST call class
|
||||||
|
resNotFound = $0063 ;file does not contain required resource
|
||||||
|
|
||||||
|
*-----------------------------------------------
|
||||||
|
* FileSysID's
|
||||||
|
|
||||||
|
proDOS = $0001 ;ProDOS/SOS
|
||||||
|
dos33 = $0002 ;DOS 3.3
|
||||||
|
dos32 = $0003 ;DOS 3.2
|
||||||
|
dos31 = $0003 ;DOS 3.1
|
||||||
|
appleIIPascal = $0004 ;Apple II Pascal
|
||||||
|
mfs = $0005 ;Macintosh (flat file system)
|
||||||
|
hfs = $0006 ;Macintosh (hierarchical file system)
|
||||||
|
lisa = $0007 ;Lisa file system
|
||||||
|
appleCPM = $0008 ;Apple CP/M
|
||||||
|
charFST = $0009 ;Character FST
|
||||||
|
msDOS = $000A ;MS/DOS
|
||||||
|
highSierra = $000B ;High Sierra
|
||||||
|
|
||||||
|
* fileSysID (NEW FOR GSOS 5.0)
|
||||||
|
|
||||||
|
ProDOSFSID = $01 ;ProDOS/SOS
|
||||||
|
dos33FSID = $02 ;DOS 3.3
|
||||||
|
dos32FSID = $03 ;DOS 3.2
|
||||||
|
dos31FSID = $03 ;DOS 3.1
|
||||||
|
appleIIPascalFSID = $04 ;Apple II Pascal
|
||||||
|
mfsFSID = $05 ;Macintosh (flat file system)
|
||||||
|
hfsFSID = $06 ;Macintosh (hierarchical file system)
|
||||||
|
lisaFSID = $07 ;Lisa file system
|
||||||
|
appleCPMFSID = $08 ;Apple CP/M
|
||||||
|
charFSTFSID = $09 ;Character FST
|
||||||
|
msDOSFSID = $0A ;MS/DOS
|
||||||
|
highSierraFSID = $0B ;High Sierra
|
||||||
|
ISO9660FSID = $0C ;ISO 9660
|
||||||
|
AppleShare = $0D ;AppleShare
|
||||||
|
|
||||||
|
* FSTInfo.attributes
|
||||||
|
|
||||||
|
characterFST = $4000 ;character FST
|
||||||
|
ucFST = $8000 ;SCM should upper case pathnames before
|
||||||
|
; passing them to the FST
|
||||||
|
* QuitRec.flags
|
||||||
|
|
||||||
|
onStack = $8000 ;place state information about quitting
|
||||||
|
; program on the quit return stack
|
||||||
|
restartable = $4000 ;the quitting program is capable of being
|
||||||
|
; restarted from its dormant memory
|
||||||
|
* StorageType
|
||||||
|
|
||||||
|
seedling = $0001 ;standard file with seedling structure
|
||||||
|
standardFile = $01 ;standard file type (no resource fork)
|
||||||
|
sapling = $0002 ;standard file with sapling structure
|
||||||
|
tree = $0003 ;standard file with tree structure
|
||||||
|
pascalRegion = $0004 ;UCSD Pascal region on a partitioned disk
|
||||||
|
extendedFile = $0005 ;extended file type (with resource fork)
|
||||||
|
directoryFile = $000D ;volume directory or subdirectory file
|
||||||
|
|
||||||
|
* version
|
||||||
|
|
||||||
|
minorRelNum = $00FF ;version - minor release number
|
||||||
|
majorRelNum = $7F00 ;version - major release number
|
||||||
|
finalRel = $8000 ;version - final release
|
||||||
|
|
||||||
|
isFileExtended = $8000
|
||||||
|
|
||||||
|
*-----------------------------------------------
|
||||||
|
* GSOS Call ID numbers, as is for class '0'
|
||||||
|
*
|
||||||
|
* 'OR' these numbers with $2000 for class '1'
|
||||||
|
* See the macros iGSOS and sGSOS.
|
||||||
|
*
|
||||||
|
* NOTE: The v4.0 and v5.0 calls are identical with
|
||||||
|
* the exception that the APW v5.0 macros have
|
||||||
|
* 'GS' appended to the end of each call name.
|
||||||
|
|
||||||
|
_Create = $0001
|
||||||
|
_Destroy = $0002
|
||||||
|
_OSShutdown = $2003 ;class '1' only
|
||||||
|
_ChangePath = $0004
|
||||||
|
_SetFileInfo = $0005
|
||||||
|
_GetFileInfo = $0006
|
||||||
|
_Volume = $0008
|
||||||
|
_SetPrefix = $0009
|
||||||
|
_GetPrefix = $000A
|
||||||
|
_ClearBackupBit = $000B
|
||||||
|
_SetSysPrefs = $200C ;class '1' only
|
||||||
|
_Null = $200D ;class '1' only
|
||||||
|
_ExpandPath = $200E ;class '1' only
|
||||||
|
_GetSysPrefs = $200F ;class '1' only
|
||||||
|
_Open = $0010
|
||||||
|
_Newline = $0011
|
||||||
|
_Read = $0012
|
||||||
|
_Write = $0013
|
||||||
|
_Close = $0014
|
||||||
|
_Flush = $0015
|
||||||
|
_SetMark = $0016
|
||||||
|
_GetMark = $0017
|
||||||
|
_SetEOF = $0018
|
||||||
|
_GetEOF = $0019
|
||||||
|
_SetLevel = $001A
|
||||||
|
_GetLevel = $001B
|
||||||
|
_GetDirEntry = $001C
|
||||||
|
_BeginSession = $201D ;class '1' only
|
||||||
|
_EndSession = $201E ;class '1' only
|
||||||
|
_SessionStatus = $201F ;class '1' only
|
||||||
|
_GetDevNumber = $0020
|
||||||
|
_GetLastDev = $0021
|
||||||
|
_ReadBlock = $0022 ;class '0' only
|
||||||
|
_WriteBlock = $0023 ;class '0' only
|
||||||
|
_Format = $0024
|
||||||
|
_EraseDisk = $0025
|
||||||
|
_ResetCache = $2026 ;class '1' only
|
||||||
|
_GetName = $0027
|
||||||
|
_GetBootVol = $0028
|
||||||
|
_Quit = $0029
|
||||||
|
_GetVersion = $002A
|
||||||
|
_GetFSTInfo = $202B ;class '1' only
|
||||||
|
_DInfo = $002C
|
||||||
|
_DStatus = $202D ;class '1' only
|
||||||
|
_DControl = $202E ;class '1' only
|
||||||
|
_DRead = $202F ;class '1' only
|
||||||
|
_DWrite = $2030 ;class '1' only
|
||||||
|
_AllocInterrupt = $0031 ;P16 call
|
||||||
|
_BindInt = $2031 ;GS/OS call
|
||||||
|
_DeallocInterrupt = $0032 ;P16 call
|
||||||
|
_UnbindInt = $2032 ;GS/OS call
|
||||||
|
_AddNotifyProc = $2034 ;class '1' only
|
||||||
|
_DelNotifyProc = $2035 ;class '1' only
|
||||||
|
_DRename = $2036 ;class '1' only
|
||||||
|
_GetStdRefNum = $2037 ;class '1' only
|
||||||
|
_GetRefNum = $2038 ;class '1' only
|
||||||
|
_GetRefInfo = $2039 ;class '1' only
|
||||||
|
|
||||||
|
|
||||||
|
*===============================================
|
||||||
|
* Class 1 parameter tables.
|
||||||
|
* (partial listing for reference only.)
|
||||||
|
* (also refer to the class_1 help file)
|
||||||
|
|
||||||
|
DUM 0 ; Currently set so the following doesn't
|
||||||
|
; generate any code if you include this
|
||||||
|
; entire file in your source file with
|
||||||
|
; a PUT or USE.
|
||||||
|
|
||||||
|
ChangePathRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;pathname
|
||||||
|
ADRL 0 ;newPathname
|
||||||
|
|
||||||
|
CreateRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;pathname
|
||||||
|
DA 0 ;access
|
||||||
|
DA 0 ;fileType
|
||||||
|
ADRL 0 ;auxType
|
||||||
|
DA 0 ;storageType
|
||||||
|
ADRL 0 ;eof
|
||||||
|
ADRL 0 ;resourceEOF
|
||||||
|
|
||||||
|
DAccessRec DA 0 ;pCount
|
||||||
|
DA 0 ;devNum
|
||||||
|
DA 0 ;code
|
||||||
|
ADRL 0 ;list
|
||||||
|
ADRL 0 ;requestCount
|
||||||
|
ADRL 0 ;transferCount
|
||||||
|
|
||||||
|
DevNumRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;devName
|
||||||
|
DA 0 ;devNum
|
||||||
|
|
||||||
|
DInfoRec DA 0 ;pCount
|
||||||
|
DA 0 ;devNum
|
||||||
|
ADRL 0 ;devName
|
||||||
|
DA 0 ;characteristics
|
||||||
|
ADRL 0 ;totalBlocks
|
||||||
|
DA 0 ;slotNum
|
||||||
|
DA 0 ;unitNum
|
||||||
|
DA 0 ;version
|
||||||
|
DA 0 ;deviceID
|
||||||
|
DA 0 ;headLink
|
||||||
|
DA 0 ;forwardLink
|
||||||
|
|
||||||
|
DIORec DA 0 ;pCount
|
||||||
|
DA 0 ;devNum
|
||||||
|
ADRL 0 ;buffer
|
||||||
|
ADRL 0 ;requestCount
|
||||||
|
ADRL 0 ;startingBlock
|
||||||
|
DA 0 ;blockSize
|
||||||
|
ADRL 0 ;transferCount
|
||||||
|
|
||||||
|
DirEntryRec DA 0 ;pCount
|
||||||
|
DA 0 ;refNum
|
||||||
|
DA 0 ;flags
|
||||||
|
DA 0 ;base
|
||||||
|
DA 0 ;displacement
|
||||||
|
ADRL 0 ;name
|
||||||
|
DA 0 ;entryNum
|
||||||
|
DA 0 ;fileType
|
||||||
|
ADRL 0 ;eof
|
||||||
|
ADRL 0 ;blockCount
|
||||||
|
DS 8 ;createDateTime
|
||||||
|
DS 8 ;modDateTime
|
||||||
|
DA 0 ;access
|
||||||
|
ADRL 0 ;auxType
|
||||||
|
DA 0 ;fileSysID
|
||||||
|
ADRL 0 ;optionList
|
||||||
|
ADRL 0 ;resourceEof
|
||||||
|
ADRL 0 ;resourceBlocks
|
||||||
|
|
||||||
|
ExpandPathRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;inputPath
|
||||||
|
ADRL 0 ;outputPath
|
||||||
|
DA 0 ;flags
|
||||||
|
|
||||||
|
FileInfoRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;pathname
|
||||||
|
DA 0 ;access
|
||||||
|
DA 0 ;fileType
|
||||||
|
ADRL 0 ;auxType
|
||||||
|
DA 0 ;null/storageType
|
||||||
|
DS 8 ;createDateTime
|
||||||
|
DS 8 ;modDateTime
|
||||||
|
ADRL 0 ;optionList
|
||||||
|
ADRL 0 ;null/eof
|
||||||
|
ADRL 0 ;null/blocksUsed
|
||||||
|
ADRL 0 ;null/resourceEOF
|
||||||
|
ADRL 0 ;null/resourceBlocks
|
||||||
|
|
||||||
|
FormatRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;devName
|
||||||
|
ADRL 0 ;volName
|
||||||
|
DA 0 ;fileSysID
|
||||||
|
|
||||||
|
FSTInfoRec DA 0 ;pCount
|
||||||
|
DA 0 ;fstNum
|
||||||
|
DA 0 ;fileSysId
|
||||||
|
ADRL 0 ;fstName
|
||||||
|
DA 0 ;version
|
||||||
|
DA 0 ;attributes
|
||||||
|
DA 0 ;blockSize
|
||||||
|
ADRL 0 ;maxVolSize
|
||||||
|
ADRL 0 ;maxFileSize
|
||||||
|
|
||||||
|
InterruptRec DA 0 ;pCount
|
||||||
|
DA 0 ;intNum
|
||||||
|
DA 0 ;vrn
|
||||||
|
ADRL 0 ;intCode
|
||||||
|
|
||||||
|
IORec DA 0 ;pCount
|
||||||
|
DA 0 ;refNum
|
||||||
|
ADRL 0 ;dataBuffer
|
||||||
|
ADRL 0 ;requestCount
|
||||||
|
ADRL 0 ;transferCount
|
||||||
|
DA 0 ;cachePriority
|
||||||
|
|
||||||
|
LevelRec DA 0 ;pCount
|
||||||
|
DA 0 ;level
|
||||||
|
|
||||||
|
NameRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;pathname
|
||||||
|
|
||||||
|
NewlineRec DA 0 ;pCount
|
||||||
|
DA 0 ;refNum
|
||||||
|
DA 0 ;enableMask
|
||||||
|
DA 0 ;numChars
|
||||||
|
ADRL 0 ;newlineTable
|
||||||
|
|
||||||
|
OpenRec DA 0 ;pCount
|
||||||
|
DA 0 ;refNum
|
||||||
|
ADRL 0 ;pathname
|
||||||
|
DA 0 ;requestAccess
|
||||||
|
DA 0 ;resourceNumber
|
||||||
|
DA 0 ;access
|
||||||
|
DA 0 ;fileType
|
||||||
|
ADRL 0 ;auxType
|
||||||
|
DA 0 ;storageType
|
||||||
|
DS 8 ;createDateTime
|
||||||
|
DS 8 ;modDateTime
|
||||||
|
ADRL 0 ;optionList
|
||||||
|
ADRL 0 ;eof
|
||||||
|
ADRL 0 ;blocksUsed
|
||||||
|
ADRL 0 ;resourceEOF
|
||||||
|
ADRL 0 ;resourceBlocks
|
||||||
|
|
||||||
|
PositionRec DA 0 ;pCount
|
||||||
|
DA 0 ;refNum
|
||||||
|
ADRL 0 ;position
|
||||||
|
|
||||||
|
PrefixRec DA 0 ;pCount
|
||||||
|
DA 0 ;prefixNum
|
||||||
|
ADRL 0 ;prefix
|
||||||
|
|
||||||
|
QuitRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;pathname
|
||||||
|
DA 0 ;flags
|
||||||
|
|
||||||
|
RefNumRec DA 0 ;pCount
|
||||||
|
DA 0 ;refNum
|
||||||
|
|
||||||
|
SetPositionRec DA 0 ;pCount
|
||||||
|
DA 0 ;refNum
|
||||||
|
DA 0 ;base
|
||||||
|
ADRL 0 ;displacement
|
||||||
|
|
||||||
|
ShutdownRec DA 0 ;pCount
|
||||||
|
DA 0 ;flag
|
||||||
|
|
||||||
|
TimeRec DB 0 ;second
|
||||||
|
DB 0 ;minute
|
||||||
|
DB 0 ;hour
|
||||||
|
DB 0 ;year
|
||||||
|
DB 0 ;day
|
||||||
|
DB 0 ;month
|
||||||
|
DB 0 ;extra
|
||||||
|
DB 0 ;weekDay
|
||||||
|
|
||||||
|
VersionRec DA 0 ;pCount
|
||||||
|
DA 0 ;version
|
||||||
|
|
||||||
|
VolumeRec DA 0 ;pCount
|
||||||
|
ADRL 0 ;devName
|
||||||
|
ADRL 0 ;volName
|
||||||
|
ADRL 0 ;totalBlocks
|
||||||
|
ADRL 0 ;freeBlocks
|
||||||
|
DA 0 ;fileSysID
|
||||||
|
DA 0 ;blockSize
|
||||||
|
|
||||||
|
DEND ; End of dummy section...
|
34
Library/E16.Int.Macs.s
Normal file
34
Library/E16.Int.Macs.s
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
|
||||||
|
; File: E16.IntMath
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
imBadInptParam equ $0B01 ; IntMath error - bad input parameter
|
||||||
|
imIllegalChar equ $0B02 ; IntMath error - Illegal character in s
|
||||||
|
;tring
|
||||||
|
imOverflow equ $0B03 ; IntMath error - integer or long integer o
|
||||||
|
;verflow
|
||||||
|
imStrOverflow equ $0B04 ; IntMath error - string overflow
|
||||||
|
|
||||||
|
minLongint equ $80000000 ; Limit - minimum negative signed long
|
||||||
|
;integer
|
||||||
|
minFrac equ $80000000 ; Limit - pinned value for negative Frac o
|
||||||
|
;verflow
|
||||||
|
minFixed equ $80000000 ; Limit - pinned value for negative Fixed
|
||||||
|
; overflow
|
||||||
|
minInt equ $8000 ; Limit - minimum negative signed integer
|
||||||
|
maxInt equ $7FFF ; Limit - maximum positive signed integer
|
||||||
|
maxUInt equ $FFFF ; Limit - maximum unsigned integer
|
||||||
|
maxLongint equ $7FFFFFFF ; Limit - maximum positive signed Longi
|
||||||
|
;nt
|
||||||
|
maxFrac equ $7FFFFFFF ; Limit - pinned value for positive Frac o
|
||||||
|
;verflow
|
||||||
|
maxFixed equ $7FFFFFFF ; Limit - pinned value for positive Fixed
|
||||||
|
; overflow
|
||||||
|
maxULong equ $FFFFFFFF ; Limit - maximum unsigned Long
|
||||||
|
|
||||||
|
unsignedFlag equ $0000 ; SignedFlag -
|
||||||
|
signedFlag equ $0001 ; SignedFlag -
|
36
Library/E16.Line.Macs.s
Normal file
36
Library/E16.Line.Macs.s
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
|
||||||
|
; File: E16.LineEdit
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
leDupStrtUpErr equ $1401 ; LineEdit error - duplicate LEStartup
|
||||||
|
;call
|
||||||
|
leResetErr equ $1402 ; LineEdit error - can't reset Line Edit
|
||||||
|
leNotActiveErr equ $1403 ; LineEdit error - Line Edit not active
|
||||||
|
leScrapErr equ $1404 ; LineEdit error - desk scrap too big to co
|
||||||
|
;py
|
||||||
|
|
||||||
|
oleLineHandle equ $00 ; Handle - LERec -
|
||||||
|
oleLength equ $04 ; Integer - LERec -
|
||||||
|
oleMaxLength equ $06 ; Integer - LERec -
|
||||||
|
oleDestRect equ $08 ; Rect - LERec -
|
||||||
|
oleViewRect equ $10 ; Rect - LERec -
|
||||||
|
olePort equ $18 ; GrafPortPtr - LERec -
|
||||||
|
oleLineHite equ $1C ; Integer - LERec -
|
||||||
|
oleBaseHite equ $1E ; Integer - LERec -
|
||||||
|
oleSelStart equ $20 ; Integer - LERec -
|
||||||
|
oleSelEnd equ $22 ; Integer - LERec -
|
||||||
|
oleActFlg equ $24 ; Word - LERec -
|
||||||
|
oleCarAct equ $26 ; Word - LERec -
|
||||||
|
oleCarOn equ $28 ; Word - LERec -
|
||||||
|
oleCarTime equ $2A ; Longint - LERec -
|
||||||
|
oleHiliteHook equ $2E ; Pointer - LERec -
|
||||||
|
oleCaretHook equ $32 ; Pointer - LERec -
|
||||||
|
|
||||||
|
leJustLeft equ $0000 ; Justification -
|
||||||
|
leJustCenter equ $0001 ; Justification -
|
||||||
|
leJustFill equ $0002 ; Justification -
|
||||||
|
leJustRight equ $FFFF ; Justification -
|
59
Library/E16.List.Macs.s
Normal file
59
Library/E16.List.Macs.s
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
|
||||||
|
; File: E16.List
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
omemPtr equ $0 ; Pointer - MemRec - Pointer to string, or custom
|
||||||
|
omemFlag equ $4 ; Byte - MemRec - Bit Flag
|
||||||
|
|
||||||
|
olistFrameClr equ $00 ; Word - LColorTable - Frame color
|
||||||
|
olistNorTextClr equ $2 ; Word - LColorTable - Unhighlighted text
|
||||||
|
; color
|
||||||
|
olistSelTextClr equ $4 ; Word - LColorTable - Highlighted text c
|
||||||
|
;olor
|
||||||
|
olistNorBackClr equ $6 ; Word - LColorTable - Unhighlighted back
|
||||||
|
;ground color
|
||||||
|
olistSelBackClr equ $8 ; Word - LColorTable - Highlighted backgr
|
||||||
|
;aound color
|
||||||
|
|
||||||
|
; Front of ListCtlRec matches CtlRec
|
||||||
|
octlMemDraw equ $28 ; Pointer - ListCtlRec - Address of routine
|
||||||
|
;to draw mem
|
||||||
|
octlMemHeight equ $2C ; Word - ListCtlRec - Member's Height in P
|
||||||
|
;ixels
|
||||||
|
octlMemSize equ $2E ; Word - ListCtlRec - Bytes in member record
|
||||||
|
octlList equ $30 ; MemRecPtr - ListCtlRec - Adress of first memb
|
||||||
|
;er record in array
|
||||||
|
octlListBar equ $34 ; CtlRecHndl - ListCtlRec - Handle of list c
|
||||||
|
;ontrlo's scroll bar control
|
||||||
|
|
||||||
|
olistRect equ $0 ; Rect - ListRec - Enclosing Rectangle
|
||||||
|
olistSize equ $8 ; Word - ListRec - Number of List Members
|
||||||
|
olistView equ $A ; Word - ListRec - Max Viewable members
|
||||||
|
olistType equ $C ; Word - ListRec - Bit Flag
|
||||||
|
olistStart equ $E ; Word - ListRec - First member in view
|
||||||
|
olistCtl equ $10 ; CtlRecHndl - ListRec - List control's handle
|
||||||
|
olistDraw equ $14 ; Pointer - ListRec - Adress of Custum drawing
|
||||||
|
; routine
|
||||||
|
olistMemHeight equ $18 ; Word - ListRec - Height of list members
|
||||||
|
olistMemSize equ $1A ; Word - ListRec - Size of Member Records
|
||||||
|
olistPointer equ $1C ; MemRecPtr - ListRec - Pointer to first el
|
||||||
|
;ement in MemRec[]
|
||||||
|
olistRefCon equ $20 ; Long - ListRec - becomes Control's refCon
|
||||||
|
olistScrollClr equ $24 ; BarColorsPtr - ListRec - Color table fo
|
||||||
|
;r list's scroll bar
|
||||||
|
|
||||||
|
cString equ $0001 ; ListType bit mask - null terminated string t
|
||||||
|
;ype
|
||||||
|
LIST_STRG equ $0001 ; ListType bit mask - null terminated string
|
||||||
|
; type
|
||||||
|
selectOnlyOne equ $0002 ; ListType bit mask - only one selection
|
||||||
|
; allowed
|
||||||
|
LIST_SELECT equ $0002 ; ListType bit mask - single selection onl
|
||||||
|
;y
|
||||||
|
|
||||||
|
memDisabled equ $40 ; memFlag - Sets member flag to disabled
|
||||||
|
memSelected equ $80 ; memFlag - Sets member flag to selected
|
31
Library/E16.Load.Macs.s
Normal file
31
Library/E16.Load.Macs.s
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
|
||||||
|
; File: E16.Loader
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
idNotFound equ $1101 ; Loader error - segment/application/entry
|
||||||
|
;not found
|
||||||
|
idNotLoadFile equ $1104 ; Loader error - file is not a load file
|
||||||
|
idBusyErr equ $1105 ; Loader error - system loader is busy
|
||||||
|
idFilVersErr equ $1107 ; Loader error - file version error
|
||||||
|
idUserIDErr equ $1108 ; Loader error - user ID error
|
||||||
|
idSequenceErr equ $1109 ; Loader error - segnum out of sequence
|
||||||
|
idBadRecordErr equ $110A ; Loader error - illegal load record fo
|
||||||
|
;und
|
||||||
|
idForeignSegErr equ $110B ; Loader error - segment is foreign
|
||||||
|
|
||||||
|
ouserID equ $00 ; Word - InitialLoadOutputRec/RestartRec -
|
||||||
|
ostartAddr equ $02 ; Pointer - InitialLoadOutputRec/RestartRec -
|
||||||
|
odPageAddr equ $06 ; Word - InitialLoadOutputRec/RestartRec -
|
||||||
|
obuffSize equ $08 ; Word - InitialLoadOutputRec/RestartRec -
|
||||||
|
|
||||||
|
osegAddr equ $00 ; Pointer - LoadSegNameOut -
|
||||||
|
ofileNum equ $04 ; Word - LoadSegNameOut -
|
||||||
|
osegNum equ $06 ; Word - LoadSegNameOut -
|
||||||
|
|
||||||
|
ousUserID equ $00 ; Word - UnloadSegOutRec -
|
||||||
|
ousFileNum equ $02 ; Word - UnloadSegOutRec -
|
||||||
|
ousSegNum equ $04 ; Word - UnloadSegOutRec -
|
39
Library/E16.Locator.Macs.s
Normal file
39
Library/E16.Locator.Macs.s
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
* This file is converted from the original source designed for
|
||||||
|
* APW by the Merlin-converter program, written by Brian Fox.
|
||||||
|
*
|
||||||
|
* Converter version 7.11
|
||||||
|
*
|
||||||
|
* Additional editing will be necessary, in addition to running
|
||||||
|
* the Merlin 16 MACGEN utility.
|
||||||
|
*
|
||||||
|
XC
|
||||||
|
XC
|
||||||
|
MX %00 ; Full 65816 mode for Merlin
|
||||||
|
**************************************************************
|
||||||
|
|
||||||
|
; File: E16.Locator
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Copyright Apple Computer, Inc. 1986, 1987
|
||||||
|
; All Rights Reserved
|
||||||
|
;
|
||||||
|
|
||||||
|
toolNotFoundErr equ $0001 ; Locator error -
|
||||||
|
funcNotFoundErr equ $0002 ; Locator error -
|
||||||
|
toolVersionErr equ $0010 ; Locator error -
|
||||||
|
sysStrtMtErr equ $0100 ; Locator error - can't mount system star
|
||||||
|
;tup volume
|
||||||
|
messNotFoundErr equ $0111 ; Locator error -
|
||||||
|
|
||||||
|
addMessage equ $0001 ; Message Center -
|
||||||
|
getMessage equ $0002 ; Message Center -
|
||||||
|
deleteMessage equ $0003 ; Message Center -
|
||||||
|
|
||||||
|
fileInfoType equ $0001 ; MessageCenter - Message type parameter
|
||||||
|
|
||||||
|
mvReturn equ $0001 ; TLMountVolume - like ok for dialogs
|
||||||
|
mvEscape equ $0002 ; TLMountVolume - like cancel for dialogs
|
||||||
|
|
||||||
|
sysTool equ $0000 ; Tool Set Spec -
|
||||||
|
userTool equ $8000 ; Tool Set Spec -
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user