1511
|
1 ********************************************************************
|
|
2 * H0 - MMC device descriptor
|
|
3 *
|
|
4 * $Id$
|
|
5 *
|
|
6 * MMC Defined Offsets
|
|
7 *
|
|
8 * Ed. Comments Who YY/MM/DD
|
|
9 * ------------------------------------------------------------------
|
|
10
|
|
11 nam H0
|
|
12 ttl MMC device descriptor
|
|
13
|
|
14 * IT.STP (offset $14)
|
|
15 * Bit Meaning
|
|
16 * --- ---------------------------------------------------------------
|
|
17 *
|
|
18 * IT.TYP (offset $15)
|
|
19 * Bit Meaning
|
|
20 * --- ---------------------------------------------------------------
|
|
21 * 7 Hard Disk: 1 = hard disk, 0 = floppy disk
|
|
22 * 6 Fudge LSN0: 0 = OS-9 disk, 1 = non-OS-9 disk
|
|
23 *
|
|
24 * IT.DNS (offset $16)
|
|
25 * Bit Meaning
|
|
26 * --- ---------------------------------------------------------------
|
|
27 * 1 Force CHS: 1 = Use CHS, 0 = Use LBA if drive supports it
|
|
28 * 0 Master/Slave: 0 = master, 1 = slave
|
|
29 *
|
|
30
|
|
31 * Interface Address
|
|
32 ADDR set $FF7A
|
|
33
|
|
34 Master set %00000000
|
|
35 Slave set %00000001
|
|
36 ForceCHS set %00000010
|
|
37
|
|
38 DriveSel set Master
|
|
39
|
|
40
|
|
41 * Driver specific fields
|
|
42 ITDRV set $00
|
|
43 ITSTP set $00
|
|
44 ITTYP set $80
|
|
45 ITDNS set ITDRV
|
|
46
|
|
47 ITSOFS1 set $00
|
|
48 ITSOFS2 set $00
|
|
49 ITSOFS3 set $00
|
|
50
|
|
51 * Default Geometry
|
|
52 * For speed sectors per track set to 16 JMH
|
|
53 Sides set $20
|
|
54 Cyls set $80
|
|
55 SectTrk set $0010
|
|
56 SectTrk0 set $0010
|
|
57 Interlv set $01
|
|
58 SASiz set $08
|
|
59
|
|
60 ifp1
|
|
61 use defsfile
|
|
62 endc
|
|
63
|
|
64 tylg set Devic+Objct
|
|
65 atrv set ReEnt+rev
|
|
66 rev set $0
|
|
67
|
|
68 mod eom,name,tylg,atrv,mgrnam,drvnam
|
|
69
|
|
70 fcb $FF mode byte
|
|
71 fcb HW.Page extended controller address
|
|
72 fdb ADDR physical controller address
|
|
73 fcb initsize-*-1 initilization table size
|
|
74 fcb DT.RBF device type:0=scf,1=rbf,2=pipe,3=scf
|
|
75 fcb ITDRV drive number
|
|
76 fcb ITSTP step rate
|
|
77 fcb ITTYP drive device type
|
|
78 fcb ITDNS media density
|
|
79 fdb Cyls number of cylinders (tracks)
|
|
80 fcb Sides number of sides
|
|
81 fcb $01 verify disk writes:0=on
|
|
82 fdb SectTrk # of sectors per track
|
|
83 fdb SectTrk0 # of sectors per track (track 0)
|
|
84 fcb Interlv sector interleave factor
|
|
85 fcb SASiz minimum size of sector allocation
|
|
86 initsize equ *
|
|
87 *IDE Driver specific additions to the device descriptor go here
|
|
88 * NOTE: These do NOT get copied into the path descriptor; they
|
|
89 * cannot due to the fact that there is simply NO ROOM in
|
|
90 * the path descriptor to do so. The driver must access
|
|
91 * these values directly from the descriptor.
|
|
92 fcb 0,0,0,0,0,0,0,0,0
|
|
93
|
|
94 ifne DD
|
|
95 name fcs /DD/
|
|
96 else
|
|
97 name fcc /H/
|
|
98 fcb ITDRV+$B0
|
|
99 endc
|
|
100 mgrnam fcs /RBF/
|
|
101 drvnam fcs /MMCDRV/
|
|
102
|
|
103 emod
|
|
104 eom equ *
|
|
105 end
|