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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
11 * 2005-06-20, P.Harvey-Smith.
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
12 * Added DragonAlpha define to correctly define the I/O port on the
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
15 *
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
16 nam ddiskdesc
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
25 tylg set Devic+Objct
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
26 atrv set ReEnt+rev
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
32 IFNE D35
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
33 Type set TYP.CCF+TYP.3
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
34 ELSE
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
35 Type set TYP.CCF+TYP.5
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
65 fcb DIR.!SHARE.!PEXEC.!PWRIT.!PREAD.!EXEC.!UPDAT. mode byte
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
68 IFEQ DragonAlpha-1
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
69 fdb $FF2C physical controller address
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
70 ELSE
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
71 fdb $FF40 physical controller address
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
72 ENDC
2797
be0c9c15f08a Updated ddiskdesc.asm and rb1773desc.asm so would work with lwtools.
drencor-xeen
parents: 1845
diff changeset
73
1845
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
74 fcb initsize-*-1 initalization table size
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
75 fcb DT.RBF device type:0=scf,1=rbf,2=pipe,3=scf
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
76 fcb DNum drive number
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
77 fcb Step step rate
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
78 fcb Type drive device type
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
79 fcb Density media density:0=single,1=double
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
80 fdb Cyls number of cylinders (tracks)
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
81 fcb Sides number of sides
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
82 fcb Verify verify disk writes:0=on
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
83 fdb SectTrk # of sectors per track
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
84 fdb SectTrk0 # of sectors per track (track 0)
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
85 fcb Interlv sector interleave factor
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
86 fcb SAS minimum size of sector allocation
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
87 initsize equ *
1727
78ce0a5ffc8e Incorporated changes and additions made by Phill Harvey-Smith for the
boisy
parents:
diff changeset
88
1845
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
89 IFNE DD
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
90 name fcs /DD/
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
91 ELSE
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
92 name fcb 'D,'0+DNum+$80
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
93 ENDC
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
94 mgrnam fcs /RBF/
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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
d20130550ce5 Added ifdef to correctly define IO address on alpha
afra
parents: 1734
diff changeset
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