annotate docs/articles/tutorial.article @ 2112:cfb3a637a000

Fixed lack of H6309 flag
author boisy
date Tue, 21 Aug 2007 17:05:14 +0000
parents bc28c3bc3769
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1 <article>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
2 <articleinfo>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
3 <author><firstname>Bob</firstname><surname>Montowski</surname></author>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
4 <title>An OS9 Tutorial</title>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
5 </articleinfo>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
6 <section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
7 <title>Lesson 1</title>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
8 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
9 This will be my first tutorial on using
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
10 OS-9 and it will be for the beginners
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
11 who bought OS-9 and are now ripping
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
12 their hair out trying to figure out how
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
13 to use it now that they have it...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
14 OS-9 is <emphasis>not</emphasis> a programming language.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
15 It is totally different from BASIC and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
16 if you wish to program in Basic then I
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
17 suggest you buy Basic09 after you are a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
18 bit familiar with OS-9.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
19 For people who have Disk Basic 1.0 you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
20 will need to load the OS-9 BOOT disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
21 and RUN"*". This will then tell you to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
22 put the OS-9 Master Disk in Drive 0 and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
23 push any key to continue.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
24 If you have Disk Basic 1.1 then all you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
25 need to do is put the OS-9 Master Disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
26 in Drive 0 and type DOS...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
27 Now that OS-9 has started up and given
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
28 you your Logo and license information it will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
29 ask you for the DATE and TIME. This
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
30 information is <emphasis>very</emphasis> important and should
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
31 be given correctly each time you start
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
32 up OS-9. Do <emphasis>not</emphasis> just hit enter, give
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
33 a date and time. This information is added to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
34 each file as it is saved to disk and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
35 will be used by the OS-9 in the future
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
36 to keep track of current files. The
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
37 same information is also available to you to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
38 help you keep tabs on the dates and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
39 times of the files that you saved to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
40 disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
41 OS-9 runs on a 24 hour clock so when
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
42 giving the time you must remember that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
43 times after 12 noon convert to the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
44 following:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
45 <literallayout>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
46 1 pm-1300 hours
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
47 2 pm-1400 hours
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
48 3 pm-1500 hours
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
49 .
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
50 .
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
51 .
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
52 10 pm-2200 hours
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
53 11 pm-2300 hours
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
54 midnite-0000 hours
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
55 </literallayout>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
56
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
57 To enter Dec 25, 1985...3:30 pm you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
58 would type
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
59 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
60 YY/MM/DD HH:MM:SS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
61 85/12/25 15:30:00
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
62 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
63
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
64 After a date and time have been given
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
65 to OS-9 you may check this time anytime
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
66 you want from OS-9 by typing DATE T at
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
67 OS9: prompt. If you just say DATE that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
68 is all you will get. You must say
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
69 DATE T to get the date and the time...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
70 OS-9 has only a few commands already in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
71 memory. All the rest of the commands
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
72 that you can use from OS-9 are on your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
73 Master Disk. Each time you give a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
74 command at the OS9: prompt the computer
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
75 will check to see if the command is in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
76 memory and then it will go to the disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
77 in drive 0 and check the /D0/CMDS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
78 directory to see if the command is in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
79 there. You must remember to type the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
80 command in correctly (SPELLING) or it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
81 won't be found when the computer goes
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
82 to the /D0/CMDS directory looking for it.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
83 OS-9 can be a bit slow as it has to go
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
84 to the /D0/CMDS directory each time you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
85 type a command at the OS-9 prompt but
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
86 you can speed this up a bit by loading
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
87 some of the commands that you will use
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
88 the most in OS-9. So you could type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
89 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
90 OS9:load dir list del attr copy
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
91 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
92 You will now have the commands <command>dir</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
93 <command>list</command>, <command>del</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
94 <command>attr</command>, <command>copy</command> all in memory and
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
95 they are ready for quick access. The
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
96 drawback is that they are taking up
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
97 memory that you might need later. The
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
98 only way around this right now is to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
99 either set your drives to run at a new
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
100 faster step rate (another tutorial) or
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
101 to get a Hard Disk Drive for use with
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
102 your OS-9. Radio Shack had OS-9 coded
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
103 to run the disk drives at 30 MS. track
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
104 to track and to format the disk as 35
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
105 tracks. Both of these can be changed
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
106 with a little knowledge of OS-9 or by
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
107 buying some commercial software that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
108 will make the changes in OS-9 for you.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
109 Another way to speed up OS-9 is to add
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
110 a 256K Ram Disk to your CoCo. With the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
111 256K Ram board installed and the right
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
112 software added to OS-9 the extra memory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
113 will act like a <emphasis>very</emphasis> fast 40 track
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
114 disk drive.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
115 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
116 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
117 OS-9 always has 2 directories that it
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
118 keeps track of. One is the DATA and the
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
119 other is the EXECUTION directory. When
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
120 you type a command OS-9 will check the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
121 current EXECUTION directory which is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
122 /D0/CMDS at startup for the command you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
123 just typed in. When you go to do a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
124 list, dir, del, rename, etc... OS-9 is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
125 going to do to the current DATA
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
126 directory and look for your file there.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
127 The current DATA directory at startup
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
128 is /D0.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
129 So if you just type <userinput>DIR</userinput>, OS-9 will go
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
130 and assume you meant DIR /D0. If you
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
131 wish to get a directory of say the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
132 DEFS directory you must give OS-9 the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
133 whole pathlist (NAME) to the directory.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
134 In this case you would type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
135 <userinput>DIR /D0/DEFS</userinput> and OS-9 will know which
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
136 directory you are talking about.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
137 So how do you know what is a command?
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
138 Or what is a data file? Or what is a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
139 directory? You can get this information by
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
140 typing:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
141 <userinput>DIR E /D0</userinput>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
142 and OS-9 will give you a directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
143 of everything that is in the /D0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
144 directory with exact information on each entry
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
145 in that directory. You will get the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
146 date and time the entry was put on the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
147 disk and the user number (0 which means
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
148 you), the entry's name, the attributes
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
149 of the entry and the size of the entry
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
150 in hexadecimal.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
151 It is the attributes of an entry that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
152 we will want to check. They list across
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
153 like this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
154 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
155 DSPPPERW
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
156 EWR
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
157 --------
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
158 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
159 That is 8 slots that can have a letter
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
160 in it. If the <command>dir e</command> command shows this
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
161 on a line
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
162 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
163 D--RW-RW
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
164 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
165 It would mean that it is a directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
166 and that you and any timesharing users
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
167 you had on your system could read and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
168 write to that directory...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
169 If the entry gives this back:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
170 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
171 --E--ERW
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
172 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
173 It would mean that it is a command that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
174 can be used by you and your timesharing
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
175 users and that you have the right to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
176 say copy that file, rename that file or
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
177 delete that file. The timesharing user
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
178 would only be able to execute the file.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
179 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
180 <para>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
181 If you don't want to do a <command>dir e</command> on a
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
182 whole disk than you can get the information
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
183 you need on a single entry by typing:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
184 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
185 ATTR /D0/startup
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
186 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
187 this will printout the attributes in
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
188 the same manner as the <command>dir e</command> command
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
189 did, but you now have the option of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
190 changing the attributes of a file on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
191 the disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
192 We'll use the /D0/startup file for an
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
193 example. say the <userinput>ATTR /D0/startup</userinput>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
194 prints this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
195 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
196 ------rw
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
197 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
198 This means that the file can be read
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
199 and written to. But say you don't want
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
200 to accidently delete or rename the file
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
201 in the future? You can type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
202 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
203 ATTR /D0/startup -w
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
204 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
205 and the write ability to that file will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
206 be taken away. If you tried to delete
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
207 that file now you would get an error
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
208 message. You can use this <command>attr</command> command
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
209 to change the attributes on all your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
210 important files so that they will not
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
211 be deleted by accident in the future.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
212 This is kind of like having a write
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
213 protect tab on your disk like in Disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
214 Basic. But you can protect single files
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
215 on the disk. Or even lock out a DATA
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
216 directory from having files written or
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
217 deleted from it.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
218 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
219 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
220 When I told you that OS-9 will check
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
221 to see if a command is in memory and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
222 then check for it in the EXECUTION
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
223 directory I left out a final thing that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
224 it does. It will go to the DATA
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
225 directory and check to see if there is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
226 a DATA file there with the same name as
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
227 what you typed in at the OS-9 prompt.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
228 You can check this out yourself. LIST
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
229 the file startup like this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
230 <screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
231 list /D0/startup
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
232 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
233 You will see this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
234 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
235 setime &lt;term
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
236 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
237 it looks like a command right? Well it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
238 is what OS-9 calls a procedure file.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
239 OS-9 will take the command you type in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
240 and first check to see if it is in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
241 memory, if that fails it will go to the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
242 EXECUTION directory and see if the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
243 command is there, if that fails it will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
244 go to the DATA directory and see if
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
245 there is a procedure file there with
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
246 the name you typed in. If there is it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
247 will read one line at a time from that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
248 file and treat it like you were typing
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
249 in the lines from the keyboard. If
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
250 you want to try this, just type startup
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
251 at any OS-9 prompt and the system will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
252 ask you again for the DATE and TIME to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
253 use on the system.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
254 You can build a procedure file of your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
255 own that does a little more than the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
256 startup file does. <emphasis>Do this</emphasis> at the OS-9
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
257 prompt:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
258 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
259 OS9:build /d0/myfile
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
260 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
261 you will then see a (?)
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
262 at each (?) type these lines
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
263 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
264 ? dir /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
265 ? dir /d0/cmds
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
266 ? mfree
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
267 ? free
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
268 ? (enter)
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
269 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
270 You will now have a data file on /D0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
271 called myfile. If you were to type
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
272 myfile at an OS-9 prompt you will then
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
273 see a DIR of /D0 and then a DIR of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
274 /D0/CMDS and then you will get a mfree
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
275 (memory free), and finally you will get
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
276 a free (free disk space) all listed to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
277 your screen one at a time. OS-9 did
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
278 all the commands in the data file as if
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
279 you just typed them in at the keyboard.
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
280 Not bad huh?
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
281 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
282 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
283 Now the next important thing to worry
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
284 about with OS-9 is how does it keep
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
285 tabs on free space in memory and on the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
286 disks? Memory in the computer is
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
287 split up in blocks of 256 bytes. If
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
288 you do a <command>mfree</command> you will get back about
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
289 159 to 162 blocks of memory. If you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
290 know that 4 blocks of 256 bytes makes
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
291 one K (kilobyte) then you know you have
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
292 about 40K free in memory for your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
293 programs and commands. This same idea
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
294 is carried over to the disk drive. All
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
295 writes to the disk are done in blocks
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
296 of 256 bytes or 1 sector. A newly
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
297 formatted disk will have about 630
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
298 sectors on it. But 10 of these sectors
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
299 are taken away for use as directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
300 pointers. As OS-9 only writes out to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
301 the disk in blocks of 256 bytes you will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
302 be able to get more information on an OS-9
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
303 disk than a Radio Shack DOS disk which
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
304 stores data to the disk in blocks of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
305 9 sectors (9*256=2304 bytes). Write 1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
306 character to an OS-9 disk and you lose 1
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
307 sector. Write 1 character to a RS DOS disk
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
308 and you lose 9 sectors!!!
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
309 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
310 <para>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
311 Now do a <userinput>dir /D0/CMDS</userinput> and you will see
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
312 quite a long list of commands that are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
313 available to you. Don't worry about all
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
314 those titles because as you learn OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
315 you will become familiar with all of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
316 them and probably not use all of them.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
317 The nice thing about OS-9 that was so
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
318 different from RS Disk Basic was that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
319 it is so easy to add <emphasis>more</emphasis> commands to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
320 OS-9 than it was to add commands to the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
321 RS DOS. If you know 6809 machine
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
322 language you might even write some
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
323 commands that you will find useful and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
324 might want to sell or trade with other
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
325 OS-9 users. If you aren't all that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
326 familiar with machine language then you
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
327 can buy some new commands for OS-9 from
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
328 companies like Frank Hogg or from
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
329 Computerware or D.P. Johnson. These
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
330 are commands that are so easy to
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
331 install on your OS-9 disk! All you
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
332 need to do is copy them to your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
333 EXECUTION directory which is usually
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
334 the /D0/CMDS directory. They are then
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
335 available for your use. No worry on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
336 your part as to will they work with
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
337 your OS-9! Some of these programs
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
338 are actual commands that you call from
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
339 OS-9 and other programs are what are
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
340 called <emphasis>filters</emphasis> that you pipe data through
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
341 under OS-9.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
342 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
343 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
344 And now one final thing to cover on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
345 OS-9 before I end this lesson. Is
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
346 there a difference between upper and lower
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
347 case when you type in commands? The
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
348 answer is no... no... no...
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
349 If you type in <userinput>DIR /D0</userinput> or <userinput>dir /d0</userinput> they
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
350 will both act correctly... if you type
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
351 <userinput>LIST /D0/STARTUP</userinput> or <userinput>list /d0/startup</userinput>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
352 they will both work correctly. OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
353 doesn't care about the case of the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
354 commands you type in. But here is a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
355 standard that you might wish to keep to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
356 so that what is on your disk are a bit
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
357 easier to understand. It is felt that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
358 if you keep all directory names in
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
359 capital letters and all data/command
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
360 files in lower case you will have a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
361 better idea of what is on your disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
362 when you use the <command>dir</command> command. I find
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
363 this a useful tip and try to follow it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
364 strictly when I work with OS-9.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
365 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
366 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
367 The next lesson in the tutorial series
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
368 will be on nested directories and on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
369 pipe and filters and how they are most
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
370 useful under OS-9.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
371 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
372 </section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
373 <section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
374 <title>Lesson 2</title>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
375 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
376 OK, glad to see that you are back for
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
377 lesson #2. I'll cover the way the OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
378 has multiple directories and how each
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
379 directory can have directories within
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
380 that. What is this good for and how can
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
381 you use this on your OS-9 system? Well,
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
382 first it makes it very easy to put your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
383 files on your disks in a manner that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
384 will make it easy for you to find those
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
385 files again in the future...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
386 Let's take a blank disk and format it.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
387 If you have one drive do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
388 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
389 OS9:load format dir makdir build free
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
390 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
391 take your Master Disk out of drive 0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
392 and put in a blank disk. Now at the OS9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
393 prompt you type format /d0. You will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
394 be asked if you really want to format
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
395 the disk in drive 0? Type Y for yes.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
396 When the format is done you will be
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
397 asked for a name to put on the disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
398 Each disk you format under OS-9 will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
399 have a NAME on the disk. For the time
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
400 being we'll call this disk JUNK DISK.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
401 OS-9 will check the disk to be sure all
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
402 the sectors are good and if not OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
403 will lock out the bad sectors from the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
404 directory. This means that you could
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
405 use a scratched disk that you were not
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
406 able to format under RS DOS... But you
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
407 should beware of doing this if you
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
408 intend to put anything <emphasis>really</emphasis>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
409 important on this disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
410 Now that the format is done at
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
411 the OS-9 prompt. Type:
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
412 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
413 OS9:free /d0.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
414 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
415 This will check the disk you just did
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
416 the format on in drive 0 and it will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
417 tell you the name of the disk... how many
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
418 total sectors there are on the disk and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
419 how many of those sectors are available
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
420 for you to store data in. OS-9 is set
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
421 up for a 35 track system with 18 sectors
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
422 per track. This gives you 630 sectors
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
423 total on the disk and OS-9 will take 10
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
424 of those sectors for its Directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
425 information. If you do not see 620
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
426 sectors free for use than the disk had
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
427 some bad sectors on it and you might
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
428 not want to put anything important on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
429 this disk. But for now we will just
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
430 experiment with the disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
431 at the OS9 prompt type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
432 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
433 OS9:makdir /d0/LETTERS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
434 OS9:makdir /d0/BILLS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
435 OS9:makdir /d0/LETTERS/FROM.JOE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
436 OS9:makdir /d0/LETTERS/FROM.SUE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
437 OS9:makdir /d0/LETTERS/FROM.TOM
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
438 OS9:makdir /d0/BILLS/PHONE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
439 OS9:makdir /d0/BILLS/GAS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
440 OS9:makdir /d0/BILLS/FOOD
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
441 OS9:chd /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
442 OS9:dir /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
443 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
444 ....You will see that the <command>dir</command> returns
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
445 LETTERS BILLS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
446 as what is on the disk in drive 0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
447 But you made 6 directories... so where
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
448 are the other ones? Try this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
449 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
450 OS9:dir /d0/BILLS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
451 PHONE GAS FOOD
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
452 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
453 is what you will get. See how you can
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
454 cluster important stuff in directories
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
455 so that it has a logical flow and you
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
456 can work your way down through the levels
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
457 of the directories to get the information you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
458 want????
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
459 Try this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
460 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
461 OS9:dir /d0/LETTERS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
462 FROM.JOE FROM.SUE FROM.TOM
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
463 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
464 is what you get... in a real life
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
465 situation... say the business world you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
466 could then do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
467 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
468 OS9:dir /d0/LETTERS/FROM.TOM
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
469 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
470 and you would see the letters you stored
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
471 from someone called TOM... A very neat,
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
472 logical way to store and retrieve data
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
473 from your disk. When you get into
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
474 owning double sided disks for storage
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
475 or even a Hard Disk drive for storage
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
476 you will see how this makes it easier
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
477 to get to your information. Imagine
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
478 having a Hard Disk under RS DOS? A Dir
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
479 of that drive might return a directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
480 listing some 100-500 lines long... It
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
481 would be a real pain to read all those
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
482 titles and try to find the file you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
483 wanted to del or copy or rename...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
484 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
485 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
486 If you have a two drive OS-9 system
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
487 then you can go through this exercize too
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
488 by just putting the disk you wish to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
489 format in drive /d1 and changing all
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
490 the makedir and dir statements I gave
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
491 so they say /d1 instead of /d0.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
492 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
493 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
494 Now in the prior example I showed you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
495 the command chd... what is this? Well
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
496 OS-9 has two commands built into it and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
497 you can call them to tell OS-9 that you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
498 are changing your DATA directory or your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
499 EXECUTION directory. Now this is very
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
500 important to remember!!! If you take
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
501 the Master Disk out of drive /d0 and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
502 put in a new Master Disk that say has
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
503 more commands in its /D0/CMDS directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
504 you <emphasis>must</emphasis> tell OS-9 that you did
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
505 this... you do this by:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
506 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
507 OS9:chx /d0/cmds
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
508 OS9:chd /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
509 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
510 OS-9 will then check this disk so it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
511 will know where the DATA directory is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
512 on the disk and where the EXECUTION
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
513 directory is on the disk. It will <emphasis>not</emphasis>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
514 always be in the same spot on each disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
515 You might be used to RS DOS where the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
516 directory was <emphasis>always</emphasis> on track 17,
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
517 but this is not true under OS-9. OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
518 must always know where these two
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
519 directories are before it will do a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
520 read/write for that disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
521 Another benefit of the chd and chx
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
522 command are to save you some typing.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
523 So if you are not a quick or accurate
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
524 typist these commands are a real boon
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
525 to you. Take the example above where
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
526 we had directories within directories.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
527 If you wished to copy files or delete
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
528 files or build files in the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
529 /d0/letters/from.joe directory you would
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
530 think you would have to type that long
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
531 line each time. You could for your own
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
532 piece of mind but there is a shortcut
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
533 to all that typing... do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
534 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
535 OS9:chd /d0/letters/from.joe
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
536 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
537 If you do a dir now you will see that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
538 there are <emphasis>no</emphasis> files in the directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
539 you are in...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
540 You could build a file in this new
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
541 DATA directory by typing
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
542 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
543 OS9:build /d0/letters/from.joe/june.1st
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
544 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
545 or you could just say:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
546 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
547 OS9:build june.1st
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
548 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
549 as you used the chd command earlier OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
550 knows to add that whole string of characters
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
551 in front of june.1st to make the whole
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
552 pathlist to where you wish to build a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
553 file. You see that there is less chance
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
554 of a typing error in this shorthand
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
555 method rather than typing out that long
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
556 string of characters each time....
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
557 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
558 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
559 When you go to makdir or build something
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
560 on the disk you have to keep in mind
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
561 that OS-9 expects titles of directories
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
562 and files to obey certain rules. The
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
563 names of these files/directories <emphasis>must</emphasis>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
564 begin with a letter(upper/lower case)
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
565 and may have no spaces in the title.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
566 If you wanted to build a file called:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
567 a letter from my buddy
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
568 You would need to type it in as:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
569 a.letter.from.my.buddy
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
570 for OS-9 to accept it... you could have
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
571 even typed it in as:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
572 aletterfrommybuddy
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
573 But this is a bit harder to read...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
574 Another character you can use to separate
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
575 words for easier reading is the left
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
576 arrow sign... this can be made by typing
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
577 the clear key/minus sign together...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
578 depending on the type screen you are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
579 reading OS-9 on you will see a left
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
580 arrow or an underline. They are both
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
581 the same ascii character. But the character. rom
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
582 on the CoCo was setup for the left
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
583 arrow sign. This clear key/minus key
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
584 is a bit hard to remember and harder
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
585 yet to type so I use the period(.) to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
586 separate my words in my titles and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
587 directories.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
588 File names and directories can be up to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
589 29 characters long... You can have numbers
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
590 mixed into this but the first characters of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
591 each file/directory <emphasis>must</emphasis> be a letter!
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
592 so these names are perfectly legal:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
593 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
594 number11111111 jan281985
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
595 q1234567890 a2gggg8888cccc9999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
596 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
597 NO SPECIAL CHARACTERS MAY BE USED IN A FILE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
598 NAME OR A DIRECTORY NAME!!! This means
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
599 no !@#$%^&amp;*+="'- are allowed in any
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
600 title. Some of these characters are used by
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
601 OS-9 to perform other useful functions
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
602 that will be covered in a future lesson.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
603 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
604 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
605 OS-9 has the ability to take information
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
606 and pass it through a pipe into a filter to
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
607 change the information in some manner before
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
608 showing it on your screen or your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
609 printer. The command for a pipe is the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
610 exclamation point(!). A filter can be
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
611 thought of as a program that will take
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
612 data in and do something with it before
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
613 passing some data out. The ONLY filter
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
614 that you have with your original OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
615 is the filter called TEE. If you were
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
616 to do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
617 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
618 OS9:list startup ! tee /d0/f1 /d0/f2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
619 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
620 it would list the data in the file
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
621 called startup through the pipe (!) into
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
622 the filter TEE... this program would then
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
623 send the data out to two files that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
624 are called /d0/f1 /d0/f2 and you would
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
625 have two perfect copies of the file
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
626 startup called f1 and f2... You could
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
627 have done this same thing by typing:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
628 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
629 OS9:copy /d0/startup /d0/f1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
630 OS9:copy /d0/startup /d0/f2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
631 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
632 TEE will take any data that is piped
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
633 into it and send it to the list of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
634 devices or files that are printed after
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
635 the tee command and separated by spaces.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
636 so a line like this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
637 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
638 OS9:dir /d0 ! TEE /d0/stuff /p /d0/s2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
639 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
640 will send a directory of /d0 to your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
641 screen, a file called /d0/stuff, to the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
642 printer, and to a file called /d0/s2.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
643 This is a way to get some data to a lot
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
644 of different places all at about the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
645 same time. There are other filters you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
646 can buy that will do the following:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
647 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
648 OS9:list startup ! upper
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
649 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
650 this will take any data in a file
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
651 called startup and send it through the
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
652 filter called upper... upper will take
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
653 ALL lower case letters and change them
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
654 to upper case before passing that information
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
655 on...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
656 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
657 OS9:list startup ! wc
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
658 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
659 This command will list the file startup
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
660 through the pipe into the filter wc which
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
661 will count the # of lines, characters, and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
662 words in the file which <command>wc</command> will then
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
663 print out to your screen. Imagine
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
664 doing that by hand?
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
665 There are a <emphasis>lot of filters</emphasis> that you can
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
666 buy. Check the Official OS-9 Tour
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
667 Guide out for a list of the filters you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
668 can buy and who sells them.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
669 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
670 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
671 A piece of advice now. If you think you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
672 are going to get into OS-9 you should
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
673 consider getting a 2nd disk drive if
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
674 you now only have 1 drive. OS-9 can be
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
675 run on a single drive CoCo but it is a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
676 real PAIN IN THE BUTT!!! On a 2 drive
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
677 system you can keep all your commands on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
678 drive /d0 and all your data on drive /d1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
679 and should speed along just fine and not
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
680 worry about space being tight on your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
681 drives when you go to build files in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
682 the future.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
683 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
684 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
685 Until you become familiar with OS-9 and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
686 the way it gives error #'s instead of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
687 letter codes for the errors you make
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
688 then do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
689 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
690 OS9:printerr
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
691 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
692 this will then print the error # of any
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
693 error you have and give you a short
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
694 english(???) sentence of what was wrong.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
695 As you use OS-9 more you will find that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
696 you will likely get 4-6 error codes that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
697 tend to repeat a lot. Most errors on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
698 OS-9 are caused by typing errors when
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
699 entering directory names or file names.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
700 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
701 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
702 I hope I don't appear to be jumping
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
703 about two much with these lessons but
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
704 I am trying to tackle the problems of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
705 OS-9 in the same manner that I ran into
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
706 them and am sure other new users are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
707 finding them. So I give this final bit
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
708 of advice... OS-9 comes with 3 books.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
709 a red(purple) one, a blue one and a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
710 yellow(orange)one. Don't even look at
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
711 the blue book yet. It has machine language information in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
712 it that you <emphasis>may never</emphasis> use unless you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
713 get into machine language programming under OS-9.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
714 The red book will tell you all the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
715 commands available under OS-9 and a bit
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
716 on how they work. READ THIS BOOK OVER
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
717 AND OVER AT LEAST 4 TIMES!!! The yellow
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
718 book has information on the text editor that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
719 comes with OS-9. This is covered in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
720 the 1st half of the book... READ THIS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
721 VERRRRRY CLOSELY... IT GETS COMPLICATED
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
722 but there are a lot of examples...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
723 The 2nd half of the yellow manual also
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
724 has some machine language information in it for doing
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
725 assembly of machine language programs... If you are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
726 not going to get into machine language ever then you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
727 don't need to read this info. Even
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
728 though you have these 3 fine manuals, run
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
729 to the nearest RS store and buy the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
730 Official OS-9 Tour Guide. It has more
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
731 information than these 3 manuals and it is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
732 written in a lot friendlier manner than
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
733 these 3 manuals. It also gives better
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
734 examples on how to use the commands
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
735 available to you under OS-9 and give
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
736 a history of OS-9 and why it is such a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
737 fine Operating System to run on your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
738 CoCo.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
739 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
740 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
741 Next lesson? I will tell you the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
742 commands that you might never use and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
743 how to delete them to make more space
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
744 on your Master Disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
745 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
746 </section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
747 <section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
748 <title>Lesson 3</title>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
749 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
750 Below is a list of the commands that you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
751 may seldom use and therefore may delete
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
752 from your EXECUTION directory which is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
753 /D0/CMDS...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
754 <note><para> NONE OF THESE COMMANDS SHOULD BE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
755 DELETED FROM YOUR ORIGINAL DISK... NEVER
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
756 DELETE FILES/DIRECTORIES/COMMANDS FROM
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
757 YOUR ORIGINAL OS-9 MASTER DISK. ALWAYS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
758 MAKE THESE DELETIONS/CHANGES TO A BACKUP
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
759 OF YOUR MASTER DISK</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
760 To make a backup of your OS-9 Master
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
761 disk do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
762 For a single drive system you must at
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
763 the OS-9 prompt type this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
764 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
765 OS9:load format free
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
766 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
767 Take your OS-9 Master disk out of your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
768 drive /d0... put a blank disk in drive
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
769 /d0... now at the OS-9 prompt type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
770 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
771 OS9:format /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
772 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
773 When OS-9 asks if your really want to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
774 format the disk in drive /d0 respond
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
775 Y for yes or R for ready... When the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
776 format is done OS-9 will ask you for a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
777 name to put on the disk. You may give
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
778 any name up to 32 characters. The name at
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
779 this point does not matter as when we
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
780 backup the original Master disk to this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
781 disk... it will retain the name of the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
782 original Master disk. So you can just
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
783 call the disk NEW.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
784 When the format is done and the verify
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
785 pass is done the OS-9 prompt will return
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
786 At this point you want to type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
787 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
788 OS9:free /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
789 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
790 If the free does not say...630 sectors
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
791 total on the disk... and 620 available
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
792 for use... <emphasis>Do not use this disk to do a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
793 backup onto... it will <emphasis role="bold">not</emphasis> work!!!</emphasis>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
794 Take the newly formatted disk out of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
795 drive /d0 and put your original Master
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
796 disk back in drive /d0. At the OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
797 prompt you will type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
798 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
799 OS9:unlink format free
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
800 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
801 This will take the two commands out of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
802 memory and give you more memory to work
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
803 with when you go to do your backup.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
804 At the OS-9 prompt you will type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
805 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
806 OS9:load backup
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
807 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
808 Take your original Master disk out of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
809 drive /d0 and put your newly formatted
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
810 disk in drive /d0...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
811 at the OS-9 prompt you type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
812 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
813 OS9:backup s /d0 #32k
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
814 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
815 OS-9 will ask you if you are ready to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
816 backup from /d0 to /d0... You type Y for
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
817 yes. OS-9 will now say ready the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
818 destination disk... you already have it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
819 in the drive. Hit any key to continue
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
820 ... OS-9 will list the name that was on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
821 the disk and ask if it ok to write over
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
822 this disk... type Y for yes... OS-9 will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
823 then say ready SOURCE disk hit a key...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
824 Put your OS-9 Master disk back in drive
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
825 /d0 and hit any key... When OS-9 says to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
826 ready the DESTINATION disk... Take your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
827 Master disk out of drive /d0 and put the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
828 newly formatted disk in drive /d0... hit
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
829 any key to continue... OS-9 will repeat
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
830 this prompting till the whole original
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
831 disk is copied exactly over to the new
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
832 disk...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
833 <warning><para>If the disk that you did
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
834 the format on did not give you the whole
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
835 630 sectors on the disk and 620 free for
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
836 use when you did the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
837 free /d0 on it... you may not backup to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
838 that disk... backup is a mirror copy of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
839 the original disk to the new disk... if
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
840 there was a bad sector on he new disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
841 the backup will not work... if there was
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
842 a bad sector on the original disk the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
843 backup will not work... BOTH DISK MUST BE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
844 FREE OF ERRORS AND HAVE THE SAME NUMBER
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
845 OF SECTORS ON THE DISK... A DISK WITH 80
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
846 TRACKS CAN'T BE BACKED UP TO A DISK WITH
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
847 40 TRACKS... A DOUBLE SIDED DISK CAN'T BE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
848 BACKED UP TO A SINGLE SIDED DISK... A
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
849 HARD DISK CAN'T BE BACKED UP TO A FLOPPY
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
850 DISK... OS-9 WILL CHECK TO SEE WHAT SIZE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
851 THE DISK IS THAT YOU ARE BACKING UP FROM
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
852 AND TO... IT WILL ABORT THE BACKUP IF
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
853 THEY ARE NOT THE SAME TYPE/SIZE...</para></warning>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
854 WHEN THE BACKUP IS DONE DO THIS:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
855 Put your original Master disk away. You
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
856 can leave the new Master disk in drive
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
857 /d0... but you must let OS-9 know that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
858 there is a new disk in the drive...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
859 so at the OS-9 prompt you will type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
860 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
861 OS9:chd /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
862 OS9:chx /d0/cmds
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
863 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
864 OS-9 is now ready to continue... and we
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
865 can now delete some seldom used commands
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
866 and gain some disk space back for our
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
867 own files...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
868 To delete these commands you will type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
869 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
870 OS9:del /d0/cmds/command.name
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
871 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
872 Where command name is the names of each
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
873 command you are deleting...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
874 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
875 <variablelist>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
876 <varlistentry><term>binex</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
877 <term>exbin</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
878 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
879 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
880 These two commands are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
881 for turning a binary file into a text
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
882 file and vice/versa. I have never used
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
883 these two commands to date. While they
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
884 might be useful, I am not sure who
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
885 they are useful to?
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
886 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
887 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
888 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
889 <varlistentry><term>cmp</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
890 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
891 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
892 This is for comparing two text
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
893 files together and listing where (with
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
894 an offset) the differences are. I find
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
895 it easier/quicker/more reliable to just
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
896 list the two files to my screen and look
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
897 for the differences...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
898 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
899 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
900 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
901 <varlistentry><term>cobbler</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
902 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
903 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
904 This is only used for making a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
905 new os9boot file on your master disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
906 You won't need to use this command till
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
907 later lessons to make a new boot disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
908 So you can delete it from the /D0/CMDS
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
909 directory for now.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
910 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
911 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
912 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
913 <varlistentry><term>dcheck</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
914 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
915 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
916 This command does a total
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
917 search of the disk it is called to check
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
918 and will report if any files on the disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
919 have been destroyed in some manner. You
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
920 will only need to use this command on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
921 a disk that is used a lot and is almost
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
922 full. If you ever try to use a command
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
923 or file and get an error, try the ATTR
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
924 command on the file/command to see if
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
925 you have permission to use the file or
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
926 command. If the ATTR says you do and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
927 you still can't get to the file/command
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
928 then I would use the dcheck on the disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
929 to see if the disk was damaged in some
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
930 manner. Dcheck is very powerful but it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
931 will usually be the case that when you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
932 need to use it is when the sh*t has
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
933 already hit the fan and some of the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
934 files on your disk have been damaged in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
935 some manner. For this reason you may
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
936 want to feel safe and keep this command
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
937 in your /D0/CMDS directory.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
938 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
939 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
940 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
941 <varlistentry><term>display</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
942 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
943 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
944 If you don't have a printer
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
945 hooked up to your OS-9 system than you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
946 probably won't need the display command.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
947 It is meant for sending some series of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
948 hex codes to a device... if you do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
949 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
950 OS9:display 0c
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
951 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
952 the screen will clear... this is sending
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
953 a control-l to the screen... if you did
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
954 this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
955 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
956 OS9:display 0c &gt;/p
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
957 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
958 it will send a control-L to your printer
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
959 which in most cases will do a form feed
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
960 on your printer. If you have a decent
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
961 printer you may use the display command
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
962 with the (>) redirect sign to send hex
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
963 codes to your printer for setting it for
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
964 double strike, emphasized, underline,
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
965 and any other special features your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
966 printer might support. As far as being
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
967 able to send all the codes from 0 to 255
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
968 to your screen? I haven't found much
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
969 use for this. I have only used the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
970 display Oc to clear the screen so far.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
971 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
972 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
973 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
974 <varlistentry><term>kill</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
975 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
976 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
977 This command is only used to kill
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
978 off some multi-process command that you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
979 may have started up to run in the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
980 background... if you did this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
981 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
982 OS9:dir e /d0/cmds &gt;/p&amp;
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
983 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
984 OS-9 will do a dir e of your EXECUTION
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
985 directory and send it to the printer.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
986 The OS-9 prompt will return and the list
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
987 will continue in the background. If you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
988 did a procs e command at this point you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
989 will see that there is a process 3 or 4
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
990 or 5 running in the background and it is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
991 called list. To stop the list from
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
992 continuing..you would have to type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
993 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
994 OS9:kill 3
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
995 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
996 or
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
997 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
998 OS9:kill 4
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
999 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1000 or whatever the process # is that you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1001 wish to stop... You won't be doing a lot
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1002 of multi-processing while you learn
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1003 OS-9 so you should not need this command
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1004 in your /D0/CMDS right now...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1005 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1006 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1007 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1008 <varlistentry><term>link</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1009 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1010 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1011 This one is hard to explain right
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1012 now... let's just say that when you do
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1013 a load command... the computer does a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1014 link for you... so this command should
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1015 not be really necessary for now. If you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1016 do a mdir e and see that a commands link
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1017 count is say 3 or 4... then you would
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1018 have to unlink the command 3 or 4 times
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1019 to get it <emphasis>out</emphasis> of memory!!!
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1020 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1021 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1022 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1023 <varlistentry><term>login</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1024 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1025 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1026 This is only needed if you are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1027 going to hook up your OS-9 system so
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1028 that outside people can link into your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1029 CoCo and use the computer at the same
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1030 time you are using it... When you delete
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1031 this command you may also delete the 2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1032 files in the /d0/sys directory called
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1033 /d0/sys/motd and /d0/sys/password...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1034 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1035 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1036 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1037 <varlistentry><term>merge</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1038 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1039 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1040 This is used for putting two
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1041 data files into a single data file with
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1042 a new name... this can also be done with
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1043 the list command like this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1044 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1045 OS9:list data1 data2 &gt;/data3
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1046 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1047 so the merge command is not needed right
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1048 now...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1049 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1050 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1051 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1052 <varlistentry><term>os9gen</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1053 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1054 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1055 This command is used for making
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1056 a new boot disk... the new boot disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1057 might have more/less commands that it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1058 will load into memory when it starts up.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1059 For the time being you won't need this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1060 command until the next lesson where I
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1061 will try to teach you how to make a new
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1062 and better boot disk...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1063 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1064 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1065 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1066 <varlistentry><term>printerr</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1067 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1068 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1069 When you are first learning
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1070 OS-9 you will find this command most
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1071 useful... when you start to learn the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1072 error numbers by heart you will be able
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1073 to delete this command. You can also
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1074 delete the /d0/sys/errmsg file also.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1075 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1076 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1077 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1078 <varlistentry><term>procs</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1079 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1080 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1081 You will only need this command
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1082 if you do multi-processing... it will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1083 show you what is running in the computer
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1084 and who is running it and how much of a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1085 priority it has... for now you will not
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1086 use this command often.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1087 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1088 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1089 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1090 <varlistentry><term>setpr</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1091 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1092 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1093 This is for resetting the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1094 priority of a multi-process that you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1095 have running in the background... you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1096 won't need this command until you get
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1097 into multi-process running.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1098 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1099 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1100 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1101 <varlistentry><term>sleep</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1102 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1103 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1104 This is for making a process
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1105 stop doing what it was doing for a set
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1106 period of time... I have never used this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1107 command... if used wrong it will seem
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1108 like you locked up your computer as it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1109 counts down its sleep time.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1110 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1111 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1112 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1113 <varlistentry><term>tsmon</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1114 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1115 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1116 This command is used to make
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1117 OS-9 scan the built in rs232 port for
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1118 a carrier ready signal... it is used to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1119 set the computer up for another caller
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1120 usually calling over a phone line... it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1121 is the basics of setting your OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1122 system up as a bbs.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1123 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1124 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1125 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1126 </variablelist>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1127 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1128 Read over the commands in your red OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1129 book and decide for yourself how often
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1130 you might use the commands listed above.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1131 If you think you will not need the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1132 commands often then delete them on your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1133 backup master disk. This will give you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1134 more space to store your own files on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1135 that disk, and if you are working with
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1136 as single drive system then this is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1137 <emphasis>very</emphasis> important...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1138 You may also delete the asm command from
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1139 your /d0/cmds directory if you <emphasis>never</emphasis>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1140 intend to do any machine language work... If you do
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1141 delete the /d0/cmds/asm command then you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1142 can also get rid of the data files in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1143 the defs directory that the asm
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1144 command works with. Do this by typing:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1145 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1146 OS9:deldir /d0/defs
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1147 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1148 OS-9 will than say deleting a directory
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1149 and offer you a list, delete or quit
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1150 option... if you choose to list... it will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1151 show you what is in the directory that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1152 you wish to delete... if you choose to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1153 delete the directory... you will not be
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1154 prompted again unless there is another
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1155 directory found in the directory...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1156 This command will take a bit of time to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1157 get rid of the directory /d0/defs...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1158 but it will clear up a LOTTTTTTT of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1159 space for your own use....
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1160 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1161 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1162 OK, I saved you a bit of disk space now
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1163 let me save you a bit of a headache!!!
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1164 Radio Shack now has two versions of the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1165 OS-9 operating system. These are the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1166 1.00.00 and the 1.01.00 versions. The
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1167 1.01.00 has some new stuff added to it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1168 but it is basicly the same as 1.00.00
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1169 It is not exactly the same... close but
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1170 not exact. For this reason if you see
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1171 any articles in say Rainbow mag that say
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1172 you can change your OS-9 to have 6 ms.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1173 step rates on your drives or 40 tracks
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1174 on your disk... you should be <emphasis>very</emphasis>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1175 careful that the instructions refer to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1176 your version of OS-9. Some of the early
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1177 articles in Rainbow refer to making
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1178 changes to OS-9 1.00.00... The most
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1179 recent articles in Rainbow will usually
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1180 say that these patches are for 1.00.00
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1181 or 1.01.00... With Radio Shack getting
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1182 ready to come out with OS-9 2.00.00 it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1183 is very important you know what OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1184 you have when you read any articles that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1185 say how to change your OS-9 to add some
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1186 new features to it.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1187 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1188 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1189 If you have the original OS-9 1.00.00
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1190 then you can get the OS-9 upgrade from
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1191 Radio Shack to 1.01.00 for about $15.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1192 The upgrade to OS-9 2.00.00 will cost
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1193 about $25. These upgrades are only
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1194 available to original owners of OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1195 1.00.00 or 1.01.00.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1196 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1197 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1198 Let's talk about the devices that are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1199 available for you to use under OS-9.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1200 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1201
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1202 <variablelist>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1203 <varlistentry><term>/p</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1204 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1205 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1206 this is for your serial printer
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1207 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1208 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1209 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1210 <varlistentry><term>/t1</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1211 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1212 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1213 this is for the built in RS232 port
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1214 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1215 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1216 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1217 <varlistentry><term>/t2</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1218 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1219 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1220 this is for the RS232 cartridge
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1221 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1222 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1223 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1224 <varlistentry><term>/d0</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1225 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1226 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1227 this is drive 0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1228 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1229 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1230 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1231 <varlistentry><term>/d1</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1232 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1233 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1234 this is drive 1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1235 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1236 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1237 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1238 <varlistentry><term>/d2</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1239 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1240 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1241 this is drive 2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1242 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1243 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1244 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1245 <varlistentry><term>/d3</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1246 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1247 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1248 this is drive 3
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1249 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1250 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1251 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1252 <varlistentry><term>/term</term>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1253 <listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1254 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1255 this is for your keyboard and video screen
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1256 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1257 </listitem>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1258 </varlistentry>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1259 </variablelist>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1260 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1261 On my system I have a /H0 and /R0 which
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1262 tell the OS-9 that I have a hard disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1263 drive and a ram disk drive. If you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1264 are good at machine language you can write your own
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1265 code to add your own hardware onto your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1266 OS-9 system. I understand that OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1267 2.00.00 has a device called /ssp and it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1268 is for the Radio Shack Speech Sound Pak
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1269 and will let you send a text file through
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1270 it and it will speak the file out.
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1271 So you could do this:
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1272 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1273 OS9:dir /d0 &gt;/ssp
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1274 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1275 and you would hear your directory. This
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1276 could be very useful for anyone with
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1277 impaired sight.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1278 While I have been talking about how you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1279 can add devices to your OS-9 system I
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1280 also need to say that you can delete
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1281 devices from your system also. This
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1282 will free up ram for other programs you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1283 might wish to run. In OS-9 2.00.00 you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1284 can usually get rid of /d2, /d3 and the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1285 /t2 drivers. Most people don't have
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1286 the drive 2 and 3 and don't have the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1287 Radio Shack RS232 pak so why keep these
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1288 modules in memory wasting space?
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1289 So you can delete them and save some space
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1290 that is badly need in the 64K CoCo.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1291 How do you do this? We'll cover that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1292 in our next lesson; Making a new boot
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1293 disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1294 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1295 </section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1296 <section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1297 <title>Lesson 4</title>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1298 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1299 Today we are going to make a new OS-9
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1300 boot disk. we can do this several
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1301 different ways. First type this:
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1302 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1303 OS9:mdir
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1304 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1305 this will show you all the programs and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1306 descriptors that are in memory... you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1307 should see something like this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1308 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1309 OS9 OS9P2 INIT
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1310 BOOT CCDISK D0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1311 D1 D2 D3
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1312 CCIO TERM IOMAN
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1313 RBF SCF SYSGO
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1314 CLOCK SHELL RS232
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1315 T1 PRINTER P
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1316 PIPEMAN PIPER PIPE
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1317 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1318 These are all modules that are loaded
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1319 into memory from the OS9boot file and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1320 you can change the OS9boot file so that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1321 it will load in more or less of these
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1322 modules at boot time. For now we will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1323 just make a new boot disk that will load
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1324 in all of the above modules exactly the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1325 same way. We can do this one of two
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1326 ways... First let's format a new disk
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1327 and we'll put our new OS9boot on it. At
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1328 the OS-9 prompt type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1329 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1330 OS9:load format free
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1331 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1332 take your OS-9 master disk out of drive
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1333 /d0, and install a blank disk in /d0
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1334 now at the OS-9 prompt type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1335 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1336 OS9:format /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1337 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1338 when OS-9 asks if you are ready... type
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1339 R for ready or Y for yes. When OS-9
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1340 asks you for a name to put on the disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1341 give it the name NEW BOOT DISK. When
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1342 the format is done at the OS-9 prompt
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1343 type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1344 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1345 OS9:free /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1346 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1347 and you should get 630 sectors on the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1348 disk with 620 available for use. This
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1349 lets you know that the format was good
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1350 with no bad sectors that needed to be
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1351 locked out. Take the new disk out of
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1352 drive /d0 and put your OS-9 master disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1353 back in. Now type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1354 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1355 OS9:load cobbler makdir save os9gen build echo
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1356 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1357 You should now have the commands <command>format</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1358 <command>free</command>, <command>cobbler</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1359 <command>makdir</command>, <command>build</command>, <command>os9gen</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1360 <command>save</command> and <command>echo</command> in your memory...
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1361 Take your master disk out of drive /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1362 and put the new disk in. Now at the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1363 OS-9 prompt type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1364 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1365 OS9:cobbler /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1366 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1367 This will put the file OS9boot on the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1368 disk in drive /d0 and it will contain
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1369 all the modules that were loaded into
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1370 memory from the <emphasis>last</emphasis> boot. To get all
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1371 the other files/commands/directories
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1372 over onto this new boot disk you need
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1373 to be very patient because you will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1374 have to go through a lot of typing,
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1375 copying and swapping.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1376 Essentially what you have to do is:
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1377 Use the <command>makdir</command> command to make all the
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1378 directories on this new disk that were
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1379 on the old Master disk. So you will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1380 have to do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1381 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1382 OS9:makdir /d0/sys
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1383 OS9:makdir /d0/cmds
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1384 OS9:makdir /d0/defs
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1385 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1386 Then you will need to use the <command>copy</command>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1387 command to move all the files/commands
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1388 over from the old Master disk to this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1389 NEW Master disk. We are talking about
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1390 a <emphasis>lot</emphasis> of disk swapping here and you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1391 just might not be up to going through
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1392 all this work. Read on... there are 2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1393 easier ways to do this and I will let
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1394 you decide which you like better.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1395 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1396 <para>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1397 While <command>cobbler</command> will help us to make a new
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1398 boot disk there is no flexibility to it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1399 and you are stuck with a mirror image
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1400 of the modules from the last boot you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1401 did. To give us total control of what
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1402 goes in the <filename>OS9boot</filename> file we will need
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1403 to use the <command>OS9gen</command> command.
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1404 Leave the new boot disk in drive /d0 and
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1405 format it again... then do the free on
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1406 it to be sure the total sectors and free
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1407 sectors works out to 630 and 620. We
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1408 will now type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1409 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1410 OS9:makdir /d0/modules
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1411 OS9:save /d0/modules/ccdisk ccdisk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1412 OS9:save /d0/modules/d0 d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1413 OS9:save /d0/modules/d1 d1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1414 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1415 <note><para>if you only have a 2 drive system
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1416 you can leave out the next two lines</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1417 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1418 OS9:save /d0/modules/d2 /d2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1419 OS9:save /d0/modules/d3 /d3
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1420
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1421 OS9:save /d0/modules/ccio ccio
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1422 OS9:save /d0/modules/term term
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1423 OS9:save /d0/modules/ioman ioman
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1424 OS9:save /d0/modules/rbf rbf
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1425 OS9:save /d0/modules/scf scf
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1426 OS9:save /d0/modules/sysgo sysgo
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1427 OS9:save /d0/modules/clock clock
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1428 OS9:save /d0/modules/shell shell
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1429 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1430 <note><para>if you never intend to let an
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1431 outside user link with your CoCo
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1432 by an outside phone line then
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1433 leave out the next 2 lines</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1434 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1435 OS9:save /d0/modules/rs232 rs232
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1436 OS9:save /d0/modules/t1 t1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1437 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1438
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1439 <note><para>if you don't have a printer you may
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1440 leave out the next two lines</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1441 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1442 OS9:save /d0/modules/printer printer
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1443 OS9:save /d0/modules/p p
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1444
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1445 OS9:save /d0/modules/pipeman pipeman
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1446 OS9:save /d0/modules/piper piper
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1447 OS9:save /d0/modules/pipe pipe
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1448 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1449
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1450 <note><para>if you don't have the Radio Shack
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1451 RS232 pak than you can leave out the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1452 next two lines</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1453 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1454 OS9:save /d0/modules/acia acia
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1455 OS9:save /d0/modules/t2 t2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1456 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1457
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1458 We have moved an image of the modules
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1459 that are in memory over to the disk in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1460 drive /d0. If you did not have a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1461 printer or did not have drives /d2 and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1462 /d3 then you did not save the listed
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1463 modules over to the disk. If you did
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1464 not intend to have an outside user then
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1465 you did not save rs232, t1, acia, and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1466 t2 over to the disk.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1467 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1468 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1469 We are now going to build a data file
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1470 that is going to tell OS9gen what
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1471 modules it is to put into the OS9boot
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1472 file that we are going to put on this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1473 disk. It is very important that the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1474 spellings you used in the <command>save</command> command
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1475 are the same as the modules are spelled
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1476 in memory... The new OS9boot we are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1477 going to make might not work if you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1478 spell any of the saved modules names
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1479 wrong!
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1480 OK, now at the OS-9 prompt you type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1481 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1482 OS9:build /d0/bootlist
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1483 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1484 You will then see a (?) for the prompt.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1485 at each (?) prompt type in the following
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1486 lines... <emphasis>without the (?) marks!!!</emphasis>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1487 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1488 ? ccdisk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1489 ? d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1490 ? d1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1491 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1492 <note><para>if you did not save <emphasis>d2</emphasis> and <emphasis>d3</emphasis> in the
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1493 save operation leave the next two lines
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1494 out!!!</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1495 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1496 ? d2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1497 ? d3
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1498 ? ccio
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1499 ? term
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1500 ? ioman
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1501 ? rbf
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1502 ? scf
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1503 ? sysgo
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1504 ? clock
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1505 ? shell
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1506 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1507 <note><para>if you did not save <emphasis>rs232</emphasis> and <emphasis>t1</emphasis> in
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1508 the save operation leave the next two
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1509 lines out!!!</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1510 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1511 ? rs232
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1512 ? t1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1513 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1514 <note><para>if you don't have a printer and left
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1515 <emphasis>printer</emphasis> and <emphasis>p</emphasis> out of the save operation
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1516 then leave the next two lines out!!!</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1517 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1518 ? printer
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1519 ? p
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1520 ? pipeman
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1521 ? piper
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1522 ? pipe
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1523 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1524 <note><para>if you did not save <emphasis>acia</emphasis> and <emphasis>t2</emphasis>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1525 in the save operation leave the next
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1526 two lines out!!!</para></note>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1527 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1528 ? acia
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1529 ? t2
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1530 ? (enter)
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1531 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1532 We now have everything we need on the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1533 disk in drive /d0 to make <command>os9gen</command> put an
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1534 <filename>os9boot</filename> file on that disk...
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1535 At the OS-9 prompt type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1536 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1537 OS9:chd /d0/modules
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1538 OS9:os9gen /d0 &lt;/d0/bootlist
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1539 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1540 You will then have a working <filename>os9boot</filename>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1541 file on the disk in drive /d0. Now if
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1542 you left out the <emphasis>d2</emphasis>, <emphasis>d3</emphasis>, <emphasis>printer</emphasis>, <emphasis>p</emphasis>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1543 <emphasis>rs232</emphasis>, <emphasis>t1</emphasis>, <emphasis>acia</emphasis> and <emphasis>t2</emphasis> modules when you
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1544 did your <command>save</command> and when you built your
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1545 bootlist... those modules will not be in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1546 memory when you use this disk to do
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1547 your next boot... <emphasis>But don't
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1548 boot with this disk yet. It has no
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1549 command directory on it.</emphasis> You will need
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1550 to copy all the data files and commands
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1551 off your master disk to this disk by
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1552 the same method explained in the start
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1553 of this tutorial where I talk about the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1554 <command>cobbler</command> command.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1555 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1556 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1557 Now I also said earlier that there was
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1558 2 other ways to make this boot disk and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1559 you have to decide if they suit your
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1560 taste. The first way is to make the
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1561 new <filename>OS9boot</filename> file with either <command>cobbler</command>
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1562 or <command>os9gen</command> in the same way that I have
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1563 already explained. Now that the boot
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1564 file is on that disk... Don't copy the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1565 whole Master disk over to this new disk!
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1566 Instead only do this:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1567 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1568 OS9:makdir /d0/cmds
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1569 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1570 Copy the commands <command>setime</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1571 <command>dir</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1572 <command>free</command> and <command>echo</command>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1573 over to the /d0/cmds directory on this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1574 new disk from /d0/cmds on the old disk.
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1575 Use the <command>build</command> command to build a new
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1576 startup file on this disk...
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1577 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1578 OS9:build /d0/startup
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1579 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1580 and enter these lines in the file:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1581 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1582 ? setime &lt;/term
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1583 ? echo take the disk out of drive 0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1584 ? echo and put your working disk in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1585 ? echo drive 0... This is ONLY A BOOT
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1586 ? echo DISK!!!
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1587 ? (enter)
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1588 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1589
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1590
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1591 So now when you wish to BOOT OS9 you can use
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1592 this disk. After OS-9 boots ok you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1593 will take this disk out of /d0 and put
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1594 in your Master disk. Then type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1595 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1596 OS9:chd /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1597 OS9:chx /d0/cmds
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1598 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1599 and you will be up and running. This
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1600 will be your working disk and the other
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1601 disk will be used each time you wish to
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1602 BOOT OS-9.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1603 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1604 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1605 Another way to make a new BOOT disk is
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1606 to do this: Backup the old master disk
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1607 to a newly formatted disk. Leave this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1608 new disk in /d0. Now type:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1609 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1610 OS9:chd /d0
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1611 OS9:chx /d0/cmds
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1612 </screen>
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1613 This will let OS-9 know that you have changed disks.
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1614 Use the <command>makdir</command> command to make a new
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1615 directory called /d0/modules...
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1616 Follow all the <command>save</command> commands listed
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1617 earlier in this tutorial. Use the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1618 <command>build</command> command to build a file called
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1619 <filename>/d0/bootlist</filename>. Type in all the lines as
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1620 listed earlier in this tutorial.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1621 When this is all done, you will use
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1622 the <command>del</command> command to:
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1623
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1624 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1625 OS9:del /d0/os9boot
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1626 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1627 at this point you will:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1628
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1629 <screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1630 OS9:chd /d0/modules
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1631 OS9:os9gen /d0 &lt;/d0/bootlist
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1632 </screen>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1633 and your new BOOT file will go on this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1634 disk with more/less modules as you told
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1635 it to put in the BOOT file.
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1636 <emphasis>Both</emphasis> of these methods will give you a
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1637 new BOOT disk but they both have their
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1638 drawbacks. The first method gives you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1639 a boot disk but with little else on it
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1640 in the way of commands. The 2nd way
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1641 will give you a boot disk that has all
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1642 your commands on it and all your
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1643 working files. But the 2nd way to make
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1644 a new BOOT disk will not work 100% of
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1645 the time. When you go to <command>cobbler</command> or
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1646 <command>os9gen</command> a new os9boot file on a new disk
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1647 it will write that file out to track 34
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1648 of that disk. It <emphasis>must</emphasis> have an
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1649 unbroken number of sectors on track 34
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1650 to put this bootfile. If you go to
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1651 <command>cobbler</command> or <command>os9gen</command> on a disk that is
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1652 pretty full the <command>cobbler</command> or <command>os9gen</command> might
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1653 fail. <emphasis>if</emphasis> you use <command>os9gen</command> to make a new
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1654 os9boot file and it has <emphasis>less</emphasis> modules in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1655 it then before the 2nd method will work just
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1656 fine. <emphasis>But</emphasis> if the new os9boot file will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1657 have <emphasis>more</emphasis> modules in it then this 2nd
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1658 method will not work 100% of the time.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1659 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1660 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1661 It is for this reason that I
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1662 suggest you <command>os9gen</command> on a disk that only
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1663 had the /d0/bootlist file on it and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1664 the /d0/modules directory on it. You
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1665 can then copy over to this new disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1666 the few commands you think you will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1667 need and after you boot with this disk
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1668 take it out of /d0 and put in the disk
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1669 you intend to work with. A disk that
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1670 has <emphasis>all</emphasis> the commands you know you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1671 will need!!!
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1672 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1673 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1674 You might also want to add some commands
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1675 to the os9boot file so that they will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1676 be in memory at bootup time. Some very
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1677 useful commands to have in memory all the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1678 time are <command>dir</command>, <command>build</command>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1679 <command>del</command>, <command>mfree</command> and
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1680 <command>free</command>.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1681 The only disadvantage of having these
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1682 modules in the os9boot file is that once
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1683 you boot and these modules are in memory
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1684 all the unlink-ing in the world will <emphasis>not</emphasis>
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1685 get them out of memory. So you have to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1686 decide if you want them in memory that
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1687 bad. It should not cause too much of a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1688 memory problem if you have left out the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1689 <emphasis>d2</emphasis>, <emphasis>d3</emphasis>, <emphasis>rs232</emphasis>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1690 <emphasis>t1</emphasis>, <emphasis>acia</emphasis>,
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1691 <emphasis>t2</emphasis>, <emphasis>printer</emphasis>, and
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1692 <emphasis>p</emphasis> modules.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1693 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1694 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1695 One of the advantages to making a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1696 tailored os9boot file is that it gets
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1697 rid of modules that you were never going
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1698 to use and cleans up some RAM for you to
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1699 use also. Not a lot of RAM but enough
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1700 to make all this worthwile. The most
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1701 important thing to remember though when
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1702 using the <command>os9gen</command> command is that you
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1703 must move the modules from memory out
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1704 to a directory where you will
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1705 put all the modules you wish in the new
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1706 os9boot file. Then you must build a
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1707 data file with the names of all the
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1708 modules you saved; change your data
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1709 directory to the directory that has all
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1710 the modules in it; then invoke the
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1711 <command>os9gen</command> command telling it where to put
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1712 the os9boot file and where it is to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1713 get the list of the modules it is to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1714 put in the os9boot file.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1715 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1716 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1717 You may have noticed way back in the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1718 beginning that there were some modules
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1719 in memory that were called:
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1720 <literallayout>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1721 os9 os9p2 init boot
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1722 </literallayout>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1723 and we did not save them out to the
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1724 /d0/modules directory and we did not put
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1725 them in our bootlist. You don't need
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1726 to. OS-9 knows to put those 4 modules
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1727 in each new os9boot file it makes. It is
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1728 something you <emphasis>should not try to do.</emphasis>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1729 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1730 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1731 Right about this time you may be saying
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1732 to yourself that it sure is a pain to
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1733 go about making a new boot disk? Well
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1734 on a single disk drive system it <emphasis>is</emphasis>.
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1735 There is no getting around this. If you
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1736 had two disk drives you could have
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1737 formatted the disk in drive /d1. Then
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1738 used the <command>cobbler</command> or <command>os9gen</command> command to
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1739 put os9boot on that disk. You could
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1740 have then used the <command>dsave</command> command to
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1741 move all the directories/files from
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1742 /d0 over to /d1 and you would have
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1743 saved a lot of time and typing. So I
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1744 now repeat that OS-9 will run on a 1
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1745 drive system but it sure runs a lot
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1746 better on a 2 drive system!
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1747 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1748 <para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1749 You probably read this whole tutorial
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1750 and said to yourself that you are
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1751 <emphasis>never</emphasis> going to use cobbler or os9gen
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1752 to make a new boot disk. Sounds like
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1753 too much work. Well after reading this
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1754 all over I tend to agree with you. I
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1755 had OS-9 for about 1 year before I got
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1756 around to using os9gen to make a
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1757 tailored os9boot file. Why did I use
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1758 it? I saw some fine articles in
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1759 Rainbow magazine telling how to make my
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1760 disk drives run at 6ms. under OS-9 and
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1761 how to make OS-9 use the full 40 tracks
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1762 that my drives were capable of. It was
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1763 then I decided how great a command
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents: 1066
diff changeset
1764 <command>os9gen</command> was and learned how to use it.
999
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1765 </para>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1766 </section>
dac2d1602e51 A four lesson tutorial I found on my harddrive
roug
parents:
diff changeset
1767 </article>