264
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
|
|
2 <HTML
|
|
3 ><HEAD
|
|
4 ><TITLE
|
|
5 >DECB Binaries</TITLE
|
|
6 ><META
|
|
7 NAME="GENERATOR"
|
|
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
|
|
9 REL="HOME"
|
|
10 TITLE="LW Tool Chain"
|
|
11 HREF="index.html"><LINK
|
|
12 REL="UP"
|
|
13 TITLE="Output Formats"
|
|
14 HREF="c18.html"><LINK
|
|
15 REL="PREVIOUS"
|
|
16 TITLE="Output Formats"
|
|
17 HREF="c18.html"><LINK
|
|
18 REL="NEXT"
|
|
19 TITLE="OS9 Modules"
|
|
20 HREF="x29.html"></HEAD
|
|
21 ><BODY
|
|
22 CLASS="SECTION"
|
|
23 BGCOLOR="#FFFFFF"
|
|
24 TEXT="#000000"
|
|
25 LINK="#0000FF"
|
|
26 VLINK="#840084"
|
|
27 ALINK="#0000FF"
|
|
28 ><DIV
|
|
29 CLASS="NAVHEADER"
|
|
30 ><TABLE
|
|
31 SUMMARY="Header navigation table"
|
|
32 WIDTH="100%"
|
|
33 BORDER="0"
|
|
34 CELLPADDING="0"
|
|
35 CELLSPACING="0"
|
|
36 ><TR
|
|
37 ><TH
|
|
38 COLSPAN="3"
|
|
39 ALIGN="center"
|
|
40 >LW Tool Chain</TH
|
|
41 ></TR
|
|
42 ><TR
|
|
43 ><TD
|
|
44 WIDTH="10%"
|
|
45 ALIGN="left"
|
|
46 VALIGN="bottom"
|
|
47 ><A
|
|
48 HREF="c18.html"
|
|
49 ACCESSKEY="P"
|
|
50 >Prev</A
|
|
51 ></TD
|
|
52 ><TD
|
|
53 WIDTH="80%"
|
|
54 ALIGN="center"
|
|
55 VALIGN="bottom"
|
|
56 >Chapter 2. Output Formats</TD
|
|
57 ><TD
|
|
58 WIDTH="10%"
|
|
59 ALIGN="right"
|
|
60 VALIGN="bottom"
|
|
61 ><A
|
|
62 HREF="x29.html"
|
|
63 ACCESSKEY="N"
|
|
64 >Next</A
|
|
65 ></TD
|
|
66 ></TR
|
|
67 ></TABLE
|
|
68 ><HR
|
|
69 ALIGN="LEFT"
|
|
70 WIDTH="100%"></DIV
|
|
71 ><DIV
|
|
72 CLASS="SECTION"
|
|
73 ><H1
|
|
74 CLASS="SECTION"
|
|
75 ><A
|
|
76 NAME="AEN24"
|
|
77 >2.2. DECB Binaries</A
|
|
78 ></H1
|
|
79 ><P
|
|
80 >A DECB binary is compatible with the LOADM command in Disk Extended
|
|
81 Color Basic on the CoCo. They are also compatible with CLOADM from Extended
|
|
82 Color Basic. These binaries include the load address of the binary as well
|
|
83 as encoding an execution address. These binaries may contain multiple loadable
|
|
84 sections, each of which has its own load address.</P
|
|
85 ><P
|
|
86 >Each binary starts with a preamble. Each preamble is five bytes long. The
|
|
87 first byte is zero. The next two bytes specify the number of bytes to load
|
|
88 and the last two bytes specify the address to load the bytes at. Then, a
|
|
89 string of bytes follows. After this string of bytes, there may be another
|
|
90 preamble or a postamble. A postamble is also five bytes in length. The first
|
|
91 byte of the postamble is $FF, the next two are zero, and the last two are
|
|
92 the execution address for the binary.</P
|
|
93 ><P
|
|
94 >Both LWASM and LWLINK can output this format.</P
|
|
95 ></DIV
|
|
96 ><DIV
|
|
97 CLASS="NAVFOOTER"
|
|
98 ><HR
|
|
99 ALIGN="LEFT"
|
|
100 WIDTH="100%"><TABLE
|
|
101 SUMMARY="Footer navigation table"
|
|
102 WIDTH="100%"
|
|
103 BORDER="0"
|
|
104 CELLPADDING="0"
|
|
105 CELLSPACING="0"
|
|
106 ><TR
|
|
107 ><TD
|
|
108 WIDTH="33%"
|
|
109 ALIGN="left"
|
|
110 VALIGN="top"
|
|
111 ><A
|
|
112 HREF="c18.html"
|
|
113 ACCESSKEY="P"
|
|
114 >Prev</A
|
|
115 ></TD
|
|
116 ><TD
|
|
117 WIDTH="34%"
|
|
118 ALIGN="center"
|
|
119 VALIGN="top"
|
|
120 ><A
|
|
121 HREF="index.html"
|
|
122 ACCESSKEY="H"
|
|
123 >Home</A
|
|
124 ></TD
|
|
125 ><TD
|
|
126 WIDTH="33%"
|
|
127 ALIGN="right"
|
|
128 VALIGN="top"
|
|
129 ><A
|
|
130 HREF="x29.html"
|
|
131 ACCESSKEY="N"
|
|
132 >Next</A
|
|
133 ></TD
|
|
134 ></TR
|
|
135 ><TR
|
|
136 ><TD
|
|
137 WIDTH="33%"
|
|
138 ALIGN="left"
|
|
139 VALIGN="top"
|
|
140 >Output Formats</TD
|
|
141 ><TD
|
|
142 WIDTH="34%"
|
|
143 ALIGN="center"
|
|
144 VALIGN="top"
|
|
145 ><A
|
|
146 HREF="c18.html"
|
|
147 ACCESSKEY="U"
|
|
148 >Up</A
|
|
149 ></TD
|
|
150 ><TD
|
|
151 WIDTH="33%"
|
|
152 ALIGN="right"
|
|
153 VALIGN="top"
|
|
154 >OS9 Modules</TD
|
|
155 ></TR
|
|
156 ></TABLE
|
|
157 ></DIV
|
|
158 ></BODY
|
|
159 ></HTML
|
|
160 > |