annotate docs/articles/bootprocess.article @ 1074:2038f48c78e4

A new article on how to write extension modules
author roug
date Mon, 31 Mar 2003 18:53:23 +0000
parents b0501e9fb255
children bc28c3bc3769
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
696
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
1 <!--
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
2 The author has not been contacted about adding this article to the
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
3 documentation set.
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
4 -->
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
5 <article>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
6 <articleinfo>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
7 <title>The OS-9 Boot Process</title>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
8 <subtitle>COCO Computer</subtitle>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
9 <author><firstname>Alan</firstname><surname>DeKok</surname>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
10 <affiliation>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
11 <address>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
12 <email>aland@striker.ottawa.on.ca</email>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
13 </address>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
14 </affiliation>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
15 </author>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
16 <revhistory>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
17 <revision>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
18 <revnumber>1</revnumber>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
19 <date>Tue Apr 29 21:53:46 EDT 1997</date>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
20 <revremark>Last update</revremark>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
21 </revision>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
22 </revhistory>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
23 </articleinfo>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
24 <orderedlist>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
25 <listitem><para>Typing 'DOS' at the DECB 'OK' prompt loads in track 34 off of the disk.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
26
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
27 <listitem><para> Track 34 gets loaded into address $2600, and execution of code
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
28 starts at $2602.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
29
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
30 <listitem><para> $2602 contains a BRA to the execution point of the REL module.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
31
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
32 <listitem><para> REL copies the boot track ($2600 to $3800) to address $ED00, and jumps to
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
33 another routine inside of REL, at the new address.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
34
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
35 <listitem><para> REL then jumps to OS9p1, which sets up system variables, the system
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
36 memory map, system call tables, IRQ &amp; SWI setup, and calls BOOT.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
37
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
38 <listitem><para> BOOT reads sector $000000 off of a disk, and finds out where the
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
39 OS9Boot file is.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
40
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
41 <listitem><para> BOOT requests system memory for the size of OS9Boot, seeks to where
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
42 OS9Boot is, and loads it directly into RAM.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
43
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
44 <listitem><para> It then returns to OS9p1, after setting up pointers in low memory to
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
45 the OS9Boot file.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
46
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
47 <listitem><para> OS9p1 links to OS9p2, and executes it.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
48
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
49 <listitem><para> OS9p2 sets up more system calls, links to the clock module, and
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
50 calls it.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
51
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
52 <listitem><para> Clock sets up some more system calls, starts multitasking, and
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
53 returns to OS9p2.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
54
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
55 <listitem><para> OS9p2 then does F$Chain of 'CC3Go'. This prints a start up banner,
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
56 and runs your 'startup' file through a shell.</para></listitem>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
57 </orderedlist>
b0501e9fb255 Hmm. 'xmlto' does not allow underscore in filenames
roug
parents:
diff changeset
58 </article>