Mercurial > hg > Members > kono > nitros9-code
annotate defs/scsi.d @ 3158:927ba5ebc06e
mc09 l2: move MMU bit-field defines to defs file.
author | Neal Crook <foofoobedoo@gmail.com> |
---|---|
date | Thu, 06 Apr 2017 21:43:58 +0100 |
parents | 28ed72477814 |
children |
rev | line source |
---|---|
2624 | 1 IFNE SCSI.D-1 |
2 SCSI.D SET 1 | |
3 | |
2590 | 4 ******************************************************************** |
5 * scsi.d - SCSI definitions | |
6 * | |
7 * $Id$ | |
8 * | |
9 * (C) 2004 Boisy G. Pitre - Licensed to Cloud-9 | |
10 * | |
11 * Edt/Rev YYYY/MM/DD Modified by | |
12 * Comment | |
13 * ------------------------------------------------------------------ | |
14 * 2005/12/11 Boisy G. Pitre | |
15 * Moved SCSI base addresses and I/O offsets to here. | |
16 | |
17 | |
18 * | |
19 * SCSI Packet Command Bytes | |
20 * | |
21 S$REZERO EQU $01 | |
22 S$REQSEN EQU $03 | |
23 S$FORMAT EQU $04 | |
24 S$READ EQU $08 | |
25 S$WRITE EQU $0A | |
26 S$SEEK EQU $0B | |
27 S$MODSEL EQU $15 | |
28 S$UNIT EQU $1B | |
29 S$RCAP EQU $25 | |
30 S$READEX EQU $28 | |
31 S$WRITEX EQU $2A | |
32 | |
33 * | |
34 * SCSI Status Codes | |
35 * | |
36 X$ERROR EQU $02 | |
37 X$BUSY EQU $08 | |
38 | |
39 **** Cloud-9 TC^3 Controller Definitions | |
40 IFNE TC3+SB | |
2883
4f589f343203
defs/scsi.d: Use SET not EQU on SDMPI so that it can be redefined
Tormod Volden <debian.tormod@gmail.com>
parents:
2730
diff
changeset
|
41 SDMPI SET $02 Added 2012\11\05 GH |
2590 | 42 SCSIDATA EQU 0 |
43 SCSISTAT EQU 1 | |
44 SCSISEL EQU 1 | |
45 SCSIRST EQU 1 INVALID, but not used | |
46 | |
47 REQ EQU $01 | |
48 BUSY EQU $02 | |
49 MSG EQU $04 | |
50 CMD EQU $08 | |
51 INOUT EQU $10 | |
52 | |
53 IFNE SB | |
54 SDAddr SET $FF1E | |
55 ELSE | |
56 SDAddr SET $FF74 | |
57 ENDC | |
58 | |
59 ENDC | |
60 | |
61 **** Ken-Ton/LR-Tech Controller Definitions | |
62 IFNE KTLR | |
63 SCSIDATA EQU 0 | |
64 SCSISTAT EQU 1 | |
65 SCSISEL EQU 2 | |
66 SCSIRST EQU 3 | |
67 | |
68 REQ EQU $01 | |
69 BUSY EQU $02 | |
70 MSG EQU $04 | |
71 CMD EQU $08 | |
72 INOUT EQU $10 | |
73 ACK EQU $20 | |
74 SEL EQU $40 | |
75 RST EQU $80 | |
76 | |
77 SDAddr SET $FF74 | |
78 ENDC | |
79 | |
80 **** Disto 4-N-1/HD-II Controller Definitions | |
81 IFNE D4N1+HDII | |
82 SDMPI SET $02 | |
83 | |
84 * Disto SCSI Controller Definitions | |
85 SCSIDATA EQU 0 | |
86 SCSISTAT EQU -2 | |
87 SCSISEL EQU -1 | |
88 SCSIRST EQU -2 | |
89 | |
90 SEL EQU $00 | |
91 BUSY EQU $01 | |
92 ACK EQU $02 | |
93 MSG EQU $04 | |
94 INOUT EQU $20 | |
95 CMD EQU $40 | |
96 REQ EQU $80 | |
97 | |
98 IFNE D4N1 | |
99 SDAddr SET $FF5B | |
100 ELSE | |
101 SDAddr SET $FF53 | |
102 ENDC | |
103 ENDC | |
2624 | 104 |
105 ENDC |