File tree Expand file tree Collapse file tree 6 files changed +69
-7
lines changed Expand file tree Collapse file tree 6 files changed +69
-7
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ Level Two system load modules contiguously on memory block boundaries. The block
348
348
usually 2K per block for systems equipped with MC6829 MMUs, or 4K bytes for
349
349
most SS-50 bus systems.
350
350
Free memory to be used for <emphasis >user data area</emphasis > need not be contiguous
351
- because the MMU can map scattered free blocks th be logically contiguous.
351
+ because the MMU can map scattered free blocks to be logically contiguous.
352
352
Since OS-9 will request the largest physically contiguous memory block available
353
353
(up to 56K) to load program modules, load operations can fail even if sufficient
354
354
total free memory exists. Any of this memory not used by the load operation is
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ command line before it is passed to the program being called.
102
102
<xi : include href =" refentry-deldir.xml" />
103
103
<xi : include href =" refentry-devs.xml" />
104
104
<xi : include href =" refentry-dir.xml" />
105
- <xi : include href =" refentry-disasm.xml" />
105
+ <!-- < xi:include href="refentry-disasm.xml"/> -- >
106
106
<xi : include href =" refentry-display.xml" />
107
107
<xi : include href =" refentry-dmode.xml" />
108
108
<xi : include href =" refentry-dsave.xml" />
Original file line number Diff line number Diff line change
1
+ <refentry xml : id =" c.opt" xmlns =" http://docbook.org/ns/docbook" >
2
+ <refnamediv >
3
+ <refname >c.opt<indexterm ><primary >c.opt</primary ></indexterm ></refname >
4
+ <refpurpose >Assembly code optimizer</refpurpose >
5
+ </refnamediv >
6
+
7
+ <refsynopsisdiv >
8
+ <cmdsynopsis >
9
+ <command >c.opt</command >
10
+ <arg choice =" opt" >
11
+ <option >-i</option >
12
+ {=<replaceable >num</replaceable >}
13
+ </arg >
14
+ <arg choice =" plain" >
15
+ <replaceable >path</replaceable >
16
+ </arg >
17
+ <arg choice =" plain" >
18
+ {<replaceable >path</replaceable >}
19
+ </arg >
20
+ <arg choice =" opt" >
21
+ <option >-</option >
22
+ </arg >
23
+ </cmdsynopsis >
24
+ </refsynopsisdiv >
25
+
26
+ <refsect1 ><title >Description</title >
27
+ <para >
28
+ The optimizer reads the assembler source code text and removes
29
+ redundant code and searches for code sequences that can be replaced
30
+ by shorter and faster equivalents. The optimizer will shorten object
31
+ code by about 11% with a significant increase in program execution
32
+ speed. The optimizer is recommended for production versions of
33
+ debugged programs.
34
+ </para >
35
+ <para >The '-' option will cause the optimizer to output statistics about its operation.
36
+ </para >
37
+ <para >
38
+ The -i=<replaceable >num</replaceable > option determines how many instructions to look behind or ahead to find matching sequences.
39
+ </para >
40
+ </refsect1 >
41
+ <refsect1 ><title >Examples</title >
42
+ <screen >
43
+ c.opt source.asm output.asm
44
+
45
+ c.opt - ctmp.3.a ctmp.3.o
46
+
47
+ statistics:
48
+ total instructions : 431
49
+ long branches : 78, 16, 16%
50
+ removed : 15, 3%
51
+ total bytes : 1120, 71, 6%
52
+ </screen >
53
+ </refsect1 >
54
+ </refentry >
55
+
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ from which OS-9 is to be bootstrapped. The boot file will consist
21
21
of the <emphasis >same modules which were loaded into memory during the most recent bootstrap.</emphasis >
22
22
To add modules to the bootstrap file use the
23
23
<command >OS9Gen</command > command.
24
- <!--
25
- <command>Cobbler </command> also writes the OS-9 kernel on the first
26
- fifteen sectors of track 34, and excludes these sectors from the
27
- disk allocation map. If any files are present on these sectors
24
+
25
+ If the system is not booting from ROM, then <command >cobbler </command > also writes the OS-9 kernel on the boot track< footnote >
26
+ < para >On the TRS-80 Color Computer, this is the first fifteen sectors of track 34. On Dragon 64, it is sectors 2-15 on track 0.</ para >
27
+ </ footnote >, and excludes these sectors from the disk allocation map. If any files are present on these sectors
28
28
<command >cobbler</command > will display an error message.
29
- -->
29
+
30
30
Level Two systems <emphasis >must</emphasis > use <command >OS9Gen</command > to create bootstrap files.
31
31
</para >
32
32
<para >
Original file line number Diff line number Diff line change 2
2
<refnamediv >
3
3
<refname >DMODE<indexterm ><primary >DMODE</primary ></indexterm ></refname >
4
4
<refpurpose >Disk descriptor Editor</refpurpose >
5
+ <refclass >OS-9 Level Two</refclass >
5
6
</refnamediv >
6
7
7
8
<refsynopsisdiv >
Original file line number Diff line number Diff line change 70
70
<xsl : call-template name =" inline.keycapseq" />
71
71
</xsl : template >
72
72
73
+ <xsl : template match =" d:refentry" >
74
+ <fo : block break-before =' page' >
75
+ <xsl : apply-templates />
76
+ </fo : block >
77
+ </xsl : template >
78
+
73
79
</xsl : stylesheet >
You can’t perform that action at this time.
0 commit comments