boot3/OS/NetBoot/ATIncludes/LMEquates.a

116 lines
4.1 KiB
Plaintext
Raw Permalink Normal View History

;
; File: LMEquates.a
;
; Contains: xxx put contents here (or delete the whole line) xxx
;
; Written by: xxx put name of writer here (or delete the whole line) xxx
;
; Copyright: <09> 1989-1991 by Apple Computer, Inc., all rights reserved.
;
; Change History (most recent first):
;
; <1> 10/14/91 JSM first checked in
; <1.0> 11/16/89 CCH Adding from <20>LM Equates.a<>
; <1.0> 11/16/89 WTO Initial checkin.
;
;
;EASE$$$ READ ONLY COPY of file <20>LMEquates.a<>
; 1.0 CCH 11/16/1989 Adding from <20>LM Equates.a<>
; END EASE MODIFICATION HISTORY
; 1.0 WTO 11/16/1989 Initial checkin.
; END EASE MODIFICATION HISTORY
;___________________________________________________________________________
; Lap Manager Public Equates
; <09> Apple Computer 1989
;
; LAP Manager call codes passed in D0 (call at [ATalkHk2] + 2)
;
LRdDispatch EQU 1 ; Dispatch to protocol handler
LWrtInsert EQU 2 ; Insert in LAPWrite hook
LWrtRemove EQU 3 ; Remove from LAPWrite hook
LWrtGet EQU 4 ; Get who's in LAPWrite hook
LSetInUse EQU 5 ; Set address in use flag
LGetSelfSend EQU 6 ; Get value of self send flag
LAARPAttach EQU 7 ; Attach an AARP listener
LAARPDetach EQU 8 ; Detach an AARP listener
LGetATalkInfo EQU 9 ; Get AppleTalk info
LGetPortInfo EQU 10 ; Get port info
LOpenADEV EQU 11 ; Open ADEV file
LNSetInUse EQU 12 ; Port-based set-in-use call
LGetBridgeInfo EQU 13 ; Get bridge info
LSetATalkInfo EQU 14 ; Set AppleTalk info
LShutdownBridge EQU 15 ; Shut down bridge
LInit EQU 16 ; init run time LAP manager
LUsePortB EQU 17 ; request use of printer port
LFreePortB EQU 18 ; grant use of printer port
LStatPortB EQU 19 ; obtain current printer port status
LNetAlert EQU 20 ; notify user of network alert condition
L802Attach EQU 21 ; attach an 802.2 protocol handler
L802Detach EQU 22 ; detach an 802.2 protocol handler
LAddAEQ EQU 23 ; add AppleTalk event queue entry
LRmvAEQ EQU 24 ; remove AppleTalk event queue entry
LGetAEQ EQU 25 ; get pointer to AppleTalk event queue
LLastCall EQU LGetAEQ ; Last valid call
;
; Flag bits passed in D1 on LWrtInsert
;
LWSelfSend EQU 7 ; ADEV handles self send
LWSrvrWks EQU 5 ; Honor server/wks bit
LWVMdefer EQU 4 ; buffer and defer incoming packets
LWReserved EQU 0 ; Reserved for internal use
;
; atlk call codes passed in D0 (call at atlk start plus 2)
;
AInstall EQU 1 ; Installation
AShutdown EQU 2 ; Shutdown
AGetInfo EQU 3 ; Get link information
AGetMCast EQU 4 ; Get multicast addr
ASetMCast EQU 5 ; Set multicast addr
ADelMCast EQU 6 ; Delete multicast addr
;
; ADEV call code passed in D0 (call at ADEV start)
;
GetADEV EQU 101 ; Get next ADEV
SelectADEV EQU 102 ; Select ADEV
ReSelADEV EQU 103 ; Re-selected ADEV
LAPMgrPtr EQU $B18 ; This points to our start (???ATalkHk2?)
LAPMgrCall EQU 2 ; Offset to make LAP manager calls
atlkCall EQU 2 ; Offset to make atlk calls at
;
; Resource IDs
;
adevBaseID EQU -4032 ; Base resource ID for ADEVs
;
; atlk AGetInfo call
;
AInfoVers EQU 2 ; version number describes reply buffer below
AInfoSz EQU 20 ; size in bytes of reply buffer
; (big enough to handle 6 byte link addr)
ATlkInfo RECORD 0 ; link information
Version DS.W 1 ; version number
InfoLength DS.W 1 ; length of this rec
LinkSpeed DS.L 1 ; speed of link in bits/second
BandWidth DS.B 1 ; bandwidth factor
Reserved DS.B 3
Flags DS.B 1 ; informative flags (see below)
LinkAdrLen DS.B 1 ; link address length in bytes
LinkAddress DS.B 6 ; start of link address (reserve 6 bytes)
ENDR
;
; atlk AGetInfo flags
;
AtlkExtended EQU 7 ; bit in on if link has extended addressing
AtlkROnly EQU 6 ; true if link is for router only ports