annotate docs/nitros9guide/chap1.chapter @ 3158:927ba5ebc06e

mc09 l2: move MMU bit-field defines to defs file.
author Neal Crook <foofoobedoo@gmail.com>
date Thu, 06 Apr 2017 21:43:58 +0100
parents b00cf13c9f61
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
1 <chapter>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
2 <title>Getting Started...</title>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
3
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
4 <section id="sec1.0">
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
5 <title>What You Need to Run NitrOS-9</title>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
6 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
7 To use NitrOS-9 Level 1, you'll need the following:
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
8 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
9 <itemizedlist mark="bullet">
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
10 <listitem><para>TRS-80/Tandy Color Computer or Color Computer 2 with 64K of RAM</para></listitem>
1092
f5d45fbe3a76 <keycap> elements
roug
parents: 1053
diff changeset
11 <listitem><para>Disk Drive With Controller Cartridge</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
12 </itemizedlist>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
13 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
14 To use NitrOS-9 Level 2, you'll need the following:
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
15 </para>
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
16 <itemizedlist mark="bullet">
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
17 <listitem><para>Tandy Color Computer 3 with 128K of RAM (512K recommended)</para></listitem>
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
18 <listitem><para>Disk Drive With Controller Cartridge</para></listitem>
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
19 </itemizedlist>
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
20 <para>
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
21 NitrOS-9 is also ready to use the following optional equipment that you
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
22 may have now or may obtain in the future:
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
23 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
24 <itemizedlist mark="bullet">
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
25 <listitem><para>Additional Floppy Disk Drives</para></listitem>
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
26 <listitem><para>SCSI or IDE Hard Drives</para></listitem>
1017
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
27 <listitem><para>Printers and Modems</para></listitem>
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
28 <listitem><para>Additional Serial Ports</para></listitem>
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
29 <listitem><para>Joysticks and Mice</para></listitem>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
30 <listitem><para>Other NitrOS-9 Compatible Languages and Software</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
31 </itemizedlist>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
32
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
33 <section id="sec1.0.1">
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
34 <title>Starting the System</title>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
35 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
36 To start up NitrOS-9 from a floppy drive, follow these steps:
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
37
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
38 <orderedlist numeration="arabic">
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
39 <listitem><para>Turn the Color Computer and disk drive(s) on. You should see
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
40 the usual BASIC greeting message on the screen.</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
41
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
42 <listitem><para>Insert the NitrOS-9 System Disk in drive zero and close the door.</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
43
1014
d9ed9d44b70c Some character entities had missing semicolons. It's &CPU;
roug
parents: 1011
diff changeset
44 <listitem><para>Type &quot;&DOSCMD;&quot;. After a few seconds of disk activity you should
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
45 see a screen with the words &quot;NITROS9 BOOT&quot;.</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
46
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
47 <listitem><para>NitrOS-9 will then begin
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
48 its &quot;bootstrap&quot; loading process, which
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
49 involves a number of seconds of disk activity. When the system
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
50 startup has finished, a message followed by the shell prompt will be
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
51 displayed.</para></listitem>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
52 </orderedlist>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
53 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
54 </section>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
55
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
56 <section id="sec1.0.2">
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
57 <title>In Case You Have Problems Starting NitrOS-9</title>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
58 <itemizedlist>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
59 <listitem><para>If BASIC gives an error message after you
1014
d9ed9d44b70c Some character entities had missing semicolons. It's &CPU;
roug
parents: 1011
diff changeset
60 type &quot;&DOSCMD;&quot;, remove the
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
61 disk, turn the computer off and on, then try again. If this
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
62 repeatedly fails your NitrOS-9 diskette may be bad.</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
63
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
64 <listitem><para>Did you remember to turn the disk drive power switch on?</para></listitem>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
65
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
66 <listitem><para>Does your Color Computer meet the minimum RAM requirements? This is a must!</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
67
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
68 <listitem><para>If your Color Computer doesn't seem to understand the &DOSCMD; command,
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
69 your controller has DOS 1.0. You will need to upgrade to
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
70 DOS 1.1.</para></listitem>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
71
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
72 <listitem><para>If the &quot;NITROS9 BOOT&quot; message is displayed but nothing else happens,
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
73 you may have a corrupted system disk. Hopefully you did make a
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
74 backup!</para></listitem>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
75 </itemizedlist>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
76 </section>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
77
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
78 <section id="sec1.0.3">
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
79 <title>A Quick Introduction to the Use of the Keyboard and Disks</title>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
80 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
81 For now, the only special keys on the keyboard of interest are
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
82 the SHIFT key which works like a typewriter shift key; the ENTER key
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
83 which you always use after typing a command or response to NitrOS-9; and
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
84 the &lt;- left arrow key which you can use to erase typing mistakes.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
85 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
86 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
87 Your main disk drive is known to to NitrOS-9 as &quot;/D0&quot; and is often
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
88 called &quot;drive zero&quot;. If you have a second disk drive (drive one),
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
89 NitrOS-9 recognizes it as &quot;/D1&quot;. Why would anybody put a &quot;/&quot; in a name?
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
90 Because all input and output devices have names like files, and
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
91 names that start with &quot;/&quot; are always device names.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
92 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
93 </section>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
94
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
95 <section id="sec1.0.4">
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
96 <title>Initial Explorations</title>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
97 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
98 When NitrOS-9 first starts up, it will display a welcoming message,
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
99 and then ask you to enter the date and time. This allows NitrOS-9 to
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
100 keep track of the date and time of creation of new files and disks.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
101 Enter the current date and time in the format requested like this:
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
102 <screen>
1017
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
103 yyyy/mm/dd hh:mm:ss
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
104 Time ? 2004 01 01 14 20
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
105 </screen>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
106 In the example above, the date entered was January 1, 2004. NitrOS-9
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
107 uses 24-hour time so the date entered was 1420 hours or 2:20 PM.
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
108 Next, NitrOS-9 will print the shell prompt to let you know it is ready
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
109 for you to type in a command.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
110 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
111 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
112 Now you're ready to try some commands. A good first command to
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
113 try is <command>dir</command> (for &quot;<emphasis>dir</emphasis>ectory&quot;).
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
114 This will display a list of the files
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
115 on the System Disk. Just type:
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
116 <screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
117 dir
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
118 </screen>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
119 followed by a &quot;return&quot;. NitrOS-9 should respond with a listing of file
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
120 names which should look something like this:
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
121 <screen>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
122 Directory of .
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
123 OS9Boot CMDS SYS DEFS sysgo
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
124 startup
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
125 </screen>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
126 The file <filename>OS9Boot</filename> contains the NitrOS-9 program in &CPU; machine
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
127 language, which was loaded into memory during the bootstrap
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
128 operation.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
129 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
130 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
131 The file <filename>sysgo</filename> is only located on the NitrOS-9 Level 2 System Disk. It is the first program run on the system, and kick-starts the initial application (usually, the shell).
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
132 </para>
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
133 <para>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
134 The file <filename>startup</filename> is a &quot;command file&quot; which is automatically run
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
135 when the system starts up, and has the commands that printed the
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
136 welcoming message and asked for the time. Later, You may want to
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
137 replace this startup file with your own customized version after you
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
138 are more familiar with NitrOS-9. Do you want to see the contents of
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
139 this file? If so, just type
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
140 <screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
141 list startup
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
142 </screen>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
143 As you can see, the <command>list</command> command displays the contents of files
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
144 that contain text (alphabetic characters). Some files like the
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
145 <filename>OS9Boot</filename> file contain binary data such as machine language
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
146 programs. These files are called &quot;binary files&quot;, and attempts to
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
147 list them will result in a jumbled, meaningless display. On the
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
148 other hand, NitrOS-9 will complain mightily if you try to run a text
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
149 file as a program!
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
150 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
151 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
152 As you may have surmised by now, the way you ask NitrOS-9 to run a
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
153 program or command (they're really the same thing) is to simply type
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
154 its name. Some commands like <command>list</command> require one or more names of
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
155 files or options. If so, they are typed on the same line using
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
156 spaces to separate each item.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
157 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
158 <para>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
159 But where did the <command>list</command> and <command>dir</command> programs come from? There are
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
160 really more files on the disk than you suspect. The <command>dir</command> command
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
161 showed you what is the disk's
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
162 <emphasis>root directory</emphasis> - so named because the
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
163 NitrOS-9 file system resembles a tree. Growing out of the root
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
164 directory are three &quot;branches&quot; - files which are additional
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
165 directories of file names instead of programs or data. They in turn
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
166 can have even more &quot;branches&quot; - ad infinitum. If you draw a map on
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
167 paper of how this works it does look like a tree.
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
168 The directory files on your system disk are called <filename class="directory">CMDS</filename>,
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
169 <filename class="directory">SYS</filename>, and <filename class="directory">DEFS</filename>.
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
170 The file <filename class="directory">CMDS</filename> is a directory that consists of
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
171 all the system commands such as <command>dir</command>, <command>list</command>,
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
172 <command>format</command>, etc. To see the files contained in this directory, enter:
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
173 <screen>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
174 dir cmds
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
175 </screen>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
176 which tells <command>dir</command> to show files on the directory file
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
177 <filename class="directory">CMDS</filename> instead
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
178 of the root directory. After you type this you should see a long
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
179 list of file names. These are the complete set of command programs
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
180 that come with NitrOS-9 and perform a myriad of functions. Chapter
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
181 Seven explains each one in detail. The <command>dir</command> command also has a handy
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
182 option to display the
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
183 <filename class="directory">CMDS</filename> directory with less typing:
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
184 <screen>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
185 dir -x
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
186 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
187 Whenever you want a list of available commands you can use this so
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
188 you don't have to look it up in the book. The <command>dir</command> command has
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
189 options which can give you more detailed information about each file.
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
190 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
191 </section>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
192 </section>
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
193 <section id="sec1.1">
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
194 <title>Making a Backup of the System Disk</title>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
195 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
196 Before getting too much more involved in further experimentation,
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
197 NOW is the time to make one or more exact copies of your System Disk
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
198 in case some misfortune befalls your one and only master System
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
199 Disk. Making a backup involves two steps: formatting a blank disk
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
200 and running a backup program.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
201 </para>
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
202 <section id="sec1.1.1">
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
203 <title>Formatting Blank Disks</title>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
204 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
205 Before the actual backup procedure can be done (or any fresh
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
206 diskette is used for any purpose), the blank disk which is to become
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
207 the backup disk must be initialized by NitrOS-9's <command>format</command> command.
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
208 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
209 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
210 IF YOU HAVE ONLY ONE DISK DRIVE you have to be extra careful not to
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
211 accidentally FORMAT your system disk. Type:
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
212
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
213 <screen>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
214 format /d0
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
215 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
216
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
217 and when you see the message
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
218
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
219 <screen>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
220 COLOR COMPUTER FORMATTER
1017
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
221 Formatting drive /d0
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
222 y (yes) or n (no)
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
223 Ready?
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
224 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
225
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
226 immediately remove your system disk and insert a blank disk
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
227 <emphasis>before</emphasis> you type &quot;Y&quot;.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
228
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
229 IF YOU HAVE TWO DISK DRIVES place the blank disk in drive one and
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
230 type:
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
231 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
232 <screen>
1017
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
233 format /d1
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
234 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
235 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
236 WHEN THE BLANK DISK IS IN THE RIGHT PLACE, type &quot;Y&quot;, then &quot;ENTER&quot;.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
237 This initiates the formatting process. IF THE CORRECT DEVICE NAME
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
238 (/D1) IS NOT DISPLAYED: TYPE N RIGHT NOW and start over, OR YOU
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
239 MAY ERASE your System Disk.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
240 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
241 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
242 When you are asked for a disk name, type any letter, then ENTER.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
243 The name you give is not important. If you have only one drive,
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
244 replace the system disk after the FORMAT program has finished. If
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
245 the FORMAT program reported any errors, try again. Disks used for
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
246 backups can't have any errors. You're now ready to run the <command>backup</command>
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
247 program.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
248 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
249 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
250 It takes several minutes for the FORMAT program to run. During
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
251 its second phase the hexadecimal number of each track will be
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
252 displayed as it is checked for bad sectors. If any are found an
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
253 error message for each bad sector is given.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
254 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
255 </section>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
256
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1092
diff changeset
257 <section id="sec1.1.2">
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
258 <title>Running the Backup Program</title>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
259 <para>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
260 The <command>backup</command> program makes an exact duplicate of a disk. It can be
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
261 used even if you only have one disk drive.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
262 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
263 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
264 IF YOU HAVE ONE DRIVE type
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
265 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
266 <screen>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
267 backup /d0 #32k
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
268 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
269 <para>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
270 The <command>backup</command> program will prompt you to alternately insert the source
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
271 disk (the system disk) and the destination disk (the freshly
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
272 formatted disk).
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
273 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
274 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
275 IF YOU HAVE TWO DRIVES type
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
276 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
277 <screen>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
278 backup #32K
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
279 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
280 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
281
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
282 The <command>backup</command> program will respond with
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
283 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
284 <screen>
1017
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
285 Ready to backup from /d0 to /d1?
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
286 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
287 <para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
288 Now enter Y for yes. It will then ask:
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
289 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
290 <screen>
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
291 X is being scratched
1017
c9b63a3c0a17 More changes
boisy
parents: 1014
diff changeset
292 Ok ?:
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
293 </screen>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
294 <para>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
295 Answer &quot;Y&quot; for yes again, and the backup process should begin.
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
296 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
297 <para>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
298 The <command>backup</command> command has two phases: the first phase copies
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
299 everything from drive zero to drive one checking for errors while
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
300 reading from the master but not for &quot;write&quot; errors. The second
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
301 phase is the &quot;verify&quot; pass which makes sure everything was copied
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
302 onto the new disk correctly. If any errors are reported during the
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
303 first (copy) pass, there is a problem with the master disk or its
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
304 drive. If errors occur during the second (verify) pass, there is a
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
305 problem with the new disk and the <command>backup</command> program should be run
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
306 again. If <command>backup</command> repeatedly fails on the second pass, reformat the
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 1017
diff changeset
307 disk and try to <command>backup</command> again. If <command>backup</command> fails again, the disk is
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
308 physically defective.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
309 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
310 <para>
1500
b00cf13c9f61 Major changes for new NitrOS-9 manual
boisy
parents: 1093
diff changeset
311 After you have made your backup disk, try turning the Color Computer
1011
cc153d1671f7 Updated for new manuals
boisy
parents: 148
diff changeset
312 off and restarting the system with the copy you just made.
144
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
313 If it works OK, store it in a safe place in case it is needed later.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
314 You should always have a backup copy of your system disk and all
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
315 other important disks.
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
316 </para>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
317 </section>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
318 </section>
f4e798ea65b9 More splitups.
roug
parents:
diff changeset
319 </chapter>