Mercurial > hg > Members > kono > nitros9-code
annotate level1/modules/ddiskdesc.asm @ 3117:47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
author | Neal Crook <foofoobedoo@gmail.com> |
---|---|
date | Sat, 17 Oct 2015 21:19:39 +0100 |
parents | be0c9c15f08a |
children |
rev | line source |
---|---|
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
1 ******************************************************************** |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
2 * ddiskdesc - ddisk Device Descriptor Template |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
3 * |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
4 * $Id$ |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
5 * |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
6 * Edt/Rev YYYY/MM/DD Modified by |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
7 * Comment |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
8 * Converted rb1773 to ddisk for Dragon disks. |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
9 * ------------------------------------------------------------------ |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
10 * |
1845 | 11 * 2005-06-20, P.Harvey-Smith. |
12 * Added DragonAlpha define to correctly define the I/O port on the | |
13 * Dragon ALpha/Professional | |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
14 * |
1845 | 15 * |
16 nam ddiskdesc | |
17 ttl ddisk Device Descriptor Template | |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
18 |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
19 * Disassembled 98/08/23 17:09:41 by Disasm v1.6 (C) 1988 by RML |
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
20 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
21 ifp1 |
1845 | 22 use defsfile |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
23 endc |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
24 |
1845 | 25 tylg set Devic+Objct |
26 atrv set ReEnt+rev | |
27 rev set $00 | |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
28 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
29 IFNDEF DNum |
1845 | 30 DNum set 0 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
31 ENDC |
1845 | 32 IFNE D35 |
33 Type set TYP.CCF+TYP.3 | |
34 ELSE | |
35 Type set TYP.CCF+TYP.5 | |
36 ENDC | |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
37 IFNDEF Density |
1845 | 38 Density set DNS.MFM |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
39 ENDC |
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
40 IFNDEF Step |
1845 | 41 Step set STP.6ms |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
42 ENDC |
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
43 IFNDEF Cyls |
1845 | 44 Cyls set 40 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
45 ENDC |
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
46 IFNDEF Sides |
1845 | 47 Sides set 1 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
48 ENDC |
1845 | 49 Verify set 1 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
50 IFNDEF SectTrk |
1845 | 51 SectTrk set 18 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
52 ENDC |
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
53 IFNDEF SectTrk0 |
1845 | 54 SectTrk0 set 18 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
55 ENDC |
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
56 IFNDEF Interlv |
1845 | 57 Interlv set 2 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
58 ENDC |
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
59 IFNDEF SAS |
1845 | 60 SAS set 8 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
61 ENDC |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
62 |
1845 | 63 mod eom,name,tylg,atrv,mgrnam,drvnam |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
64 |
1845 | 65 fcb DIR.!SHARE.!PEXEC.!PWRIT.!PREAD.!EXEC.!UPDAT. mode byte |
66 fcb HW.Page extended controller address | |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
67 |
1845 | 68 IFEQ DragonAlpha-1 |
69 fdb $FF2C physical controller address | |
70 ELSE | |
71 fdb $FF40 physical controller address | |
72 ENDC | |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
73 |
1845 | 74 fcb initsize-*-1 initalization table size |
75 fcb DT.RBF device type:0=scf,1=rbf,2=pipe,3=scf | |
76 fcb DNum drive number | |
77 fcb Step step rate | |
78 fcb Type drive device type | |
79 fcb Density media density:0=single,1=double | |
80 fdb Cyls number of cylinders (tracks) | |
81 fcb Sides number of sides | |
82 fcb Verify verify disk writes:0=on | |
83 fdb SectTrk # of sectors per track | |
84 fdb SectTrk0 # of sectors per track (track 0) | |
85 fcb Interlv sector interleave factor | |
86 fcb SAS minimum size of sector allocation | |
87 initsize equ * | |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
88 |
1845 | 89 IFNE DD |
90 name fcs /DD/ | |
91 ELSE | |
92 name fcb 'D,'0+DNum+$80 | |
93 ENDC | |
94 mgrnam fcs /RBF/ | |
95 drvnam fcs /DDisk/ | |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
96 |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
97 emod |
1845 | 98 eom equ * |
2797
be0c9c15f08a
Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents:
1845
diff
changeset
|
99 end |
1727
78ce0a5ffc8e
Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff
changeset
|
100 |