mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-12-11 08:50:50 +00:00
91 lines
1.6 KiB
Plaintext
91 lines
1.6 KiB
Plaintext
;
|
|
; TerminalTools.a
|
|
; Assembler Interface to the Terminal Manager Tools.
|
|
;
|
|
; Copyright © Apple Computer, Inc. 1988-90
|
|
; All rights reserved
|
|
;
|
|
|
|
IF (&TYPE('TERMINALTOOLS') = 'UNDEFINED') THEN
|
|
TERMINALTOOLS EQU 1
|
|
|
|
tdefType EQU 'tdef'
|
|
tvalType EQU 'tval'
|
|
tsetType EQU 'tset'
|
|
tlocType EQU 'tloc'
|
|
tscrType EQU 'tscr'
|
|
tbndType EQU 'tbnd'
|
|
tverType EQU 'tver'
|
|
|
|
; messages
|
|
tmInitMsg EQU 0
|
|
tmDisposeMsg EQU 1
|
|
tmSuspendMsg EQU 2
|
|
tmResumeMsg EQU 3
|
|
tmMenuMsg EQU 4
|
|
tmEventMsg EQU 5
|
|
tmActivateMsg EQU 6
|
|
tmDeactivateMsg EQU 7
|
|
tmGetErrorStringMsg EQU 8
|
|
|
|
tmIdleMsg EQU 50
|
|
tmResetMsg EQU 51
|
|
|
|
tmKeyMsg EQU 100
|
|
tmStreamMsg EQU 101
|
|
tmResizeMsg EQU 102
|
|
tmUpdateMsg EQU 103
|
|
tmClickMsg EQU 104
|
|
tmGetSelectionMsg EQU 105
|
|
tmSetSelectionMsg EQU 106
|
|
tmScrollMsg EQU 107
|
|
tmClearMsg EQU 108
|
|
tmGetLineMsg EQU 109
|
|
tmPaintMsg EQU 110
|
|
tmCursorMsg EQU 111
|
|
tmGetEnvironsMsg EQU 112
|
|
tmDoTermKeyMsg EQU 113
|
|
tmCountTermKeysMsg EQU 114
|
|
tmGetIndTermKeyMsg EQU 115
|
|
|
|
; messages for validate DefProc
|
|
|
|
tmValidateMsg EQU 0
|
|
tmDefaultMsg EQU 1
|
|
|
|
; messages for Setup DefProc
|
|
|
|
tmSpreflightMsg EQU 0
|
|
tmSsetupMsg EQU 1
|
|
tmSitemMsg EQU 2
|
|
tmSfilterMsg EQU 3
|
|
tmScleanupMsg EQU 4
|
|
|
|
; messages for scripting defProc
|
|
tmMGetMsg EQU 0
|
|
tmMSetMsg EQU 1
|
|
|
|
; messages for localization defProc
|
|
|
|
tmL2English EQU 0
|
|
tmL2Intl EQU 1
|
|
|
|
|
|
TMSearchBlock Record 0
|
|
theString ds.l 1
|
|
where ds.l 2
|
|
searchType ds.w 1
|
|
callBack ds.l 1
|
|
refnum ds.w 1
|
|
next ds.l 1
|
|
EndR
|
|
|
|
TMSetupStruct Record 0
|
|
theDialog ds.l 1
|
|
count ds.w 1
|
|
theConfig ds.l 1
|
|
procID ds.w 1
|
|
TMSetupStructSize EQU *
|
|
EndR
|
|
|
|
ENDIF |