82
|
1 * TCCCHD descriptor: Hard disk driver descriptor for OS9
|
|
2 * Copyright (C) 1990,1991,1992,1993,1994,1995,1996 Robert E. Brose II
|
|
3 *
|
|
4 * This program is free software; you can redistribute it and/or modify
|
|
5 * it under the terms of the GNU General Public License as published by
|
|
6 * the Free Software Foundation; either version 2 of the License, or
|
|
7 * (at your option) any later version.
|
|
8 *
|
|
9 * This program is distributed in the hope that it will be useful,
|
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12 * GNU General Public License for more details.
|
|
13 *
|
|
14 * You should have received a copy of the GNU General Public License
|
|
15 * along with this program; if not, write to the Free Software
|
|
16 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
17
|
|
18 * DISTO version 124/125/126 descriptor h4 170 meg seagate drive
|
|
19
|
|
20 nam disto.descriptor (h4)
|
|
21 ttl device descriptor for seagate st2209n
|
|
22
|
|
23 ifp1
|
|
24 use defsfile
|
|
25 endc
|
|
26
|
|
27 verson equ $02
|
|
28 mod endmod,hdnam,devic+objct,reent+verson,hdmgr,hddrv
|
|
29
|
|
30 fcb $ff mode
|
|
31 fcb $07 port msb l2
|
|
32 fdb $ff70 port lsb's
|
|
33 fcb hdnam-*-1 init table size
|
|
34 fcb $01 dev type 1=rbf
|
|
35 fcb $00 logical drive number (0-3)
|
|
36 fcb $00 step rate and retry options
|
|
37 fcb $80 device type 80=hd
|
|
38 fcb $11 media density
|
|
39 * bit 7 = Enable PHYSICAL format = 1 (logical format always enabled).
|
|
40 * bit 6 = Drive init = 1 (ONLY for st506 drives & wd1002/adaptec/xebec cont).
|
|
41 * bit 5 = LUN (2nd drive = 1) (only on st506 drives with external controller)
|
|
42 * bit 4 = Recal on first access = 1 (Needed for normal embeded scsi drives)
|
|
43 * bits 0 - 3 = SCSI ID IN BINARY. ID0=1, ID1=2, ID2=4 (may change some day!)
|
|
44
|
|
45 fdb $0ae5 tracks per drive, see below
|
|
46 fcb $08 number of sides
|
|
47 fcb $01 verify writes 1=no verify
|
|
48 fdb $20 default sectors/track (32 sectors per physical track)
|
|
49 fdb $20 track 0 sectors
|
|
50 fcb $1 interleave
|
|
51 fcb $20 default allocation in sectors
|
|
52
|
|
53 * added definitions
|
|
54 * actual drive charcteristics for init routine
|
|
55 * NOT USED FOR EMBEDED DRIVES
|
|
56 * First Physical Drive (lun 0)
|
|
57
|
|
58 fdb $0 cylinders
|
|
59 fcb $0 number of heads
|
|
60 fdb $0 reduced write current starting cylinder
|
|
61 fdb $0 write precomp starting cylinder
|
|
62 fcb $0 max eec error burst length to be corrected
|
|
63
|
|
64 * Second physical drive (lun 1)
|
|
65
|
|
66 fdb $0
|
|
67 fcb $0
|
|
68 fdb $0
|
|
69 fdb $0
|
|
70 fcb $0
|
|
71
|
|
72 * drive offsets (this is in GROUPS OF 256 SECTORS!)
|
|
73 * can be used to logically partition 1 physical drive into up to
|
|
74 * 4 logical drives.
|
|
75 * I always use a least an offset of 1 to allow for possible os9 boot
|
|
76 * track on the drive, also if it's a used PC drive, the first few
|
|
77 * cyls are where all the errors are :-)
|
|
78
|
|
79 fdb 1 drive 0
|
|
80 fdb 1 drive 1
|
|
81 fdb 1 drive 2
|
|
82 fdb 1 drive 3
|
|
83
|
|
84 * Multipak slot select (Only used for DISTO Host adapter)
|
|
85
|
|
86 fcb 1 slot for mpak scs 0=slot 1 1=slot 2 2=slot 3 3=slot4 $ff=no mapk
|
|
87
|
|
88 * note that the drive name is unrelated to the physical or logical drive
|
|
89 * number.
|
|
90
|
|
91 HDNAM fcs "H4"
|
|
92 HDMGR fcs "RBF"
|
|
93
|
|
94 * note the name here. DI1024, DIS512 and DI256 are DISTO DRIVERS of various
|
|
95 * sector sizes. TC1024, TCC512 and TCCCHD are the equivalents for the TC3 host
|
|
96 * adapter. DBHSHD for 256 byte/sector st506 style external controllers which
|
|
97 * require handshaking on each byte of a data transfer (i.e. adaptec). DIDBHS
|
|
98 * for the same thing with a DISTO host adapter.
|
|
99
|
|
100 HDDRV fcs "DIS512"
|
|
101 fdb $0 room for patching
|
|
102 emod
|
|
103 endmod equ *
|
|
104 end
|