mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-09-13 15:55:29 +00:00
89 lines
1.5 KiB
Plaintext
89 lines
1.5 KiB
Plaintext
;
|
|
; ConnectionTools.a
|
|
; Assembler Interface to the Connection Manager Tools.
|
|
;
|
|
; Copyright © Apple Computer, Inc. 1988-90
|
|
; All rights reserved;
|
|
IF (&TYPE('CONNECTIONTOOLS') = 'UNDEFINED') THEN
|
|
CONNECTIONTOOLS EQU 1
|
|
|
|
cmInitMsg EQU 0
|
|
cmDisposeMsg EQU 1
|
|
cmSuspendMsg EQU 2
|
|
cmResumeMsg EQU 3
|
|
cmMenuMsg EQU 4
|
|
cmEventMsg EQU 5
|
|
cmActivateMsg EQU 6
|
|
cmDeactivateMsg EQU 7
|
|
|
|
cmIdleMsg EQU 50
|
|
cmResetMsg EQU 51
|
|
cmAbortMsg EQU 52
|
|
|
|
cmReadMsg EQU 100
|
|
cmWriteMsg EQU 101
|
|
cmStatusMsg EQU 102
|
|
cmListenMsg EQU 103
|
|
cmAcceptMsg EQU 104
|
|
cmCloseMsg EQU 105
|
|
cmOpenMsg EQU 106
|
|
cmBreakMsg EQU 107
|
|
cmIOKillMsg EQU 108
|
|
cmEnvironsMsg EQU 109
|
|
; messages for validate DefProc
|
|
cmValidateMsg EQU 0
|
|
cmDefaultMsg EQU 1
|
|
|
|
|
|
; messages for Setup DefProc
|
|
cmSpreflightMsg EQU 0
|
|
cmSsetupMsg EQU 1
|
|
cmSitemMsg EQU 2
|
|
cmSfilterMsg EQU 3
|
|
cmScleanupMsg EQU 4
|
|
|
|
; messages for scripting defProc
|
|
cmMgetMsg EQU 0
|
|
cmMsetMsg EQU 1
|
|
|
|
|
|
; messages for localization defProc
|
|
cmL2English EQU 0
|
|
cmL2Intl EQU 1
|
|
|
|
|
|
cdefType EQU 'cdef'
|
|
cvalType EQU 'cval'
|
|
csetType EQU 'cset'
|
|
clocType EQU 'cloc'
|
|
cscrType EQU 'cscr'
|
|
|
|
cbndType EQU 'cbnd'
|
|
cverType EQU 'vers'
|
|
|
|
|
|
|
|
CMDataBuffer Record 0
|
|
thePtr ds.l 1
|
|
count ds.l 1
|
|
channel ds.w 1
|
|
flags ds.w 1
|
|
CMDataBufferSize EQU *
|
|
EndR
|
|
|
|
CMCompletorRecord Record 0
|
|
async ds.b 1
|
|
filler ds.b 1
|
|
completionRoutine ds.l 1
|
|
CMCompleteorRecordSize EQU *
|
|
EndR
|
|
|
|
CMSetupStruct Record 0
|
|
theDialog ds.l 1
|
|
count ds.w 1
|
|
theConfig ds.l 1
|
|
procID ds.w 1
|
|
CMSetupStructSize EQU *
|
|
EndR
|
|
|
|
ENDIF |