annotate 3rdparty/drivers/ide/idedesc.asm @ 749:ec1909ff0764

Updated Makefile
author boisy
date Wed, 08 Jan 2003 05:09:53 +0000
parents 16dc49e3a104
children d26a93134e57
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
613
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
1 nam H0
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
2 ttl IDE device descriptor
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
3
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
4 * IDE Defined Offsets
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
5 *
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
6 * IT.STP (offset $14)
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
7 * Bit Meaning
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
8 * --- ---------------------------------------------------------------
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
9 *
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
10 * IT.TYP (offset $15)
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
11 * Bit Meaning
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
12 * --- ---------------------------------------------------------------
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
13 * 7 Hard Disk: 1 = hard disk, 0 = floppy disk
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
14 * 6 Fudge LSN0: 0 = OS-9 disk, 1 = non-OS-9 disk
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
15 *
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
16 * IT.DNS (offset $16)
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
17 * Bit Meaning
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
18 * --- ---------------------------------------------------------------
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
19
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
20
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
21 * Interface Address
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
22 ifne SuperSCSI
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
23 ADDR equ $FF50
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
24 else
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
25 ADDR equ $FF74
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
26 endc
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
27
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
28 * Driver specific fields
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
29 ITDRV set $00
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
30 ITSTP set $00
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
31 ITTYP set $80
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
32 ITDNS set $00
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
33
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
34 ITSOFS1 set $00
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
35 ITSOFS2 set $00
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
36 ITSOFS3 set $00
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
37
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
38 * Default Geometry
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
39 Sides set $20
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
40 Cyls set $100
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
41 SectTrk set $0020
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
42 SectTrk0 set $0020
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
43 Interlv set $01
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
44 SASiz set $08
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
45
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
46 ifp1
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
47 use defsfile
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
48 endc
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
49
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
50 tylg set Devic+Objct
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
51 atrv set ReEnt+rev
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
52 rev set $0
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
53
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
54 mod eom,name,tylg,atrv,mgrnam,drvnam
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
55
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
56 fcb $FF mode byte
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
57 fcb HW.Page extended controller address
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
58 fdb ADDR physical controller address
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
59 fcb initsize-*-1 initilization table size
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
60 fcb DT.RBF device type:0=scf,1=rbf,2=pipe,3=scf
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
61 fcb ITDRV drive number
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
62 fcb ITSTP step rate
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
63 fcb ITTYP drive device type
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
64 fcb ITDNS media density
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
65 fdb Cyls number of cylinders (tracks)
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
66 fcb Sides number of sides
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
67 fcb $01 verify disk writes:0=on
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
68 fdb SectTrk # of sectors per track
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
69 fdb SectTrk0 # of sectors per track (track 0)
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
70 fcb Interlv sector interleave factor
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
71 fcb SASiz minimum size of sector allocation
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
72 initsize equ *
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
73 *IDE Driver specific additions to the device descriptor go here
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
74 * NOTE: These do NOT get copied into the path descriptor; they
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
75 * cannot due to the fact that there is simply NO ROOM in
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
76 * the path descriptor to do so. The driver must access
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
77 * these values directly from the descriptor.
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
78 fcb 0,0,0,0,0,0,0,0,0
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
79
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
80 ifne DD
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
81 name fcs /DD/
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
82 else
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
83 name fcc /H/
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
84 fcb ITDRV+$B0
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
85 endc
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
86 mgrnam fcs /RBF/
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
87 ifne SuperIDE
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
88 drvnam fcs /SuperIDE/
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
89 else
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
90 drvnam fcs /CCIDE/
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
91 endc
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
92
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
93 emod
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
94 eom equ *
16dc49e3a104 SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
diff changeset
95 end