mac-rom/Interfaces/AIncludes/SCSIStandard.a
Elliot Nunn 5b0f0cc134 Bring in CubeE sources
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included.

The Tools directory, containing mostly junk, is also excluded.
2017-12-26 10:02:57 +08:00

78 lines
1.8 KiB
Plaintext

;
; File: SCSIStandard.a
;
; Contains: xxx put contents here xxx
;
; Written by: xxx put writers here xxx
;
; Copyright: © 1993 by Apple Computer, Inc., all rights reserved.
;
; Change History (most recent first):
;
; <1> 10/14/93 pdw first checked in
;
;
;********************************************************************
; General SCSI stuff
;********************************************************************
; SCSI status
scsiStatGood equ $00 ; Good Status
scsiStatCheckCondition equ $02 ; Check Condition
scsiStatConditionMet equ $04 ; Condition Met
scsiStatBusy equ $08 ; Busy
scsiStatIntermediate equ $10 ; Intermediate
scsiStatIntermedMet equ $14 ; Intermediate - Condition Met
scsiStatResvConflict equ $18 ; Reservation conflict
scsiStatTerminated equ $20 ; Command terminated
scsiStatQFull equ $28 ; Queue full
; SCSI messages
kCmdCompleteMsg equ $00
kExtendedMsg equ $01
kSaveDataPointerMsg equ $02
kRestorePointersMsg equ $03
kDisconnectMsg equ $04
kInitiatorDetectedErrorMsg equ $05
kAbortMsg equ $06
kMsgRejectMsg equ $07
kNoOperationMsg equ $08
kMsgParityErrorMsg equ $09
kLinkedCmdCompleteMsg equ $0a
kLinkedCmdCompleteWithFlagMsg equ $0b
kBusDeviceResetMsg equ $0c
kAbortTagMsg equ $0d
kClearQueueMsg equ $0e
kInitiateRecoveryMsg equ $0f
kReleaseRecoveryMsg equ $10
kTerminateIOProcessMsg equ $11
kSimpleQueueTag equ $20
kHeadOfQueueTagMsg equ $21
kOrderedQueueTagMsg equ $22
kIgnoreWideResidueMsg equ $23
; SCSI Phases - 1st 8 phases (thru MessageInPhase) are straight off the chip's phase bits
kDataOutPhase equ 0
kDataInPhase equ 1
kCommandPhase equ 2
kStatusPhase equ 3
kMessageOutPhase equ 6
kMessageInPhase equ 7
kBusFreePhase equ 8
kArbitratePhase equ 9
kSelectPhase equ $A
kMessageInPhaseNACK equ $B