Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/dmode.refentry @ 2524:50b13fe0ceac
Fixed up comments... still needs better commenting though
author | boisy |
---|---|
date | Fri, 09 Apr 2010 14:56:40 +0000 |
parents | bc28c3bc3769 |
children |
rev | line source |
---|---|
971 | 1 <refentry id="dmode"> |
2 <refnamediv> | |
3 <refname>DMODE</refname> | |
4 <refpurpose>Disk descriptor Editor</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
1093 | 9 <command>dmode</command> |
971 | 10 <group> |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
971
diff
changeset
|
11 <arg choice="plain"><replaceable>devicename</replaceable></arg> |
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
971
diff
changeset
|
12 <arg choice="plain">-<replaceable>filename</replaceable></arg> |
971 | 13 </group> |
14 <arg choice="opt">options</arg> | |
15 </cmdsynopsis> | |
16 </refsynopsisdiv> | |
17 | |
18 <refsect1><title>Description</title> | |
19 <para> | |
20 This new version allows any combination of upper or lower | |
21 case options to be specified. | |
22 </para><para> | |
23 Also, current parameters are displayed with a "$" preceding | |
1148 | 24 to remind the user that the values are <emphasis>hexadecimal</emphasis>. |
971 | 25 </para><para> |
26 Options may be prefixed with a "$". It is simply ignored. | |
27 </para> | |
28 </refsect1> | |
29 <refsect1><title>Examples</title> | |
30 <para> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
31 Typical <command>dmode</command> output: |
971 | 32 <screen> |
33 OS9: dmode /dd {enter} | |
34 | |
35 drv=$00 stp=$00 typ=$80 dns=$01 cyl=$0334 sid=$06 | |
36 vfy=$00 sct=$0021 tos=$0021 ilv=$00 sas=$20 | |
37 </screen> | |
38 | |
39 Now, let's say we want to change the number of cylinders | |
40 this descripter shows. The following command lines would | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
41 all be valid and accepted by the new <command>dmode</command>: |
971 | 42 |
43 <screen> | |
44 OS9: dmode /dd CYL=276 | |
45 -or- dmode /dd Cyl=$276 | |
46 -or- dmode /dd cYL=276 | |
47 </screen> | |
48 | |
49 Lastly, you may now specify either "TOS" or "T0S" to setup | |
50 the number of sectors per track in track zero. Example: | |
51 | |
52 <screen> | |
53 OS9: dmode /dd tos=21 | |
54 -or- dmode /dd t0s=21 | |
55 </screen> | |
56 </para> | |
57 </refsect1> | |
58 </refentry> |