Skip to content

Commit 7f3bb88

Browse files
Rangi42github-actions[bot]
authored andcommitted
Update RGBDS master documentation
1 parent 90a7823 commit 7f3bb88

File tree

12 files changed

+35
-1
lines changed

12 files changed

+35
-1
lines changed

docs/gbz80.7.pdf

0 Bytes
Binary file not shown.

docs/rgbasm-old.5.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,47 @@ <h3 class="Ss" id="Treating_multi-character_strings_as_numbers"><a class="permal
114114
<p class="Pp">Deprecated in 0.9.0, removed in 1.0.0.</p>
115115
<p class="Pp">Instead, use a multi-value <code class="Ic">CHARMAP</code>, or
116116
explicitly combine the values of individual characters.</p>
117+
<p class="Pp">For example, instead of a multi-character string like:</p>
118+
<div class="Bd Pp Bd-indent Li">
119+
<pre> CHARMAP &quot;X&quot;, $12
120+
CHARMAP &quot;Y&quot;, $34
121+
LD BC, &quot;XY&quot;</pre>
122+
</div>
123+
<p class="Pp">Either use a multi-value <code class="Ic">CHARMAP</code>:</p>
124+
<div class="Bd Pp Bd-indent Li">
125+
<pre> CHARMAP &quot;X&quot;, $12
126+
CHARMAP &quot;Y&quot;, $34
127+
CHARMAP &quot;&lt;XY&gt;&quot;, 'X', 'Y'
128+
LD BC, CHARVAL(&quot;&lt;XY&gt;&quot;, 0) &lt;&lt; 8 | CHARVAL(&quot;&lt;XY&gt;&quot;, 1)</pre>
129+
</div>
130+
<p class="Pp">Or combine the individual characters:</p>
131+
<div class="Bd Pp Bd-indent Li">
132+
<pre> CHARMAP &quot;X&quot;, $12
133+
CHARMAP &quot;Y&quot;, $34
134+
LD BC, 'X' &lt;&lt; 8 | 'Y'</pre>
135+
</div>
136+
<p class="Pp">Or use a single-value character:</p>
137+
<div class="Bd Pp Bd-indent Li">
138+
<pre> CHARMAP &quot;X&quot;, $12
139+
CHARMAP &quot;Y&quot;, $34
140+
CHARMAP &quot;&lt;XY&gt;&quot;, 'X' &lt;&lt; 8 | 'Y'
141+
LD BC, '&lt;XY&gt;'</pre>
142+
</div>
117143
</section>
118144
<section class="Ss">
119145
<h3 class="Ss" id="Treating_strings_as_numbers"><a class="permalink" href="#Treating_strings_as_numbers">Treating
120146
strings as numbers</a></h3>
121147
<p class="Pp">Deprecated in 1.0.0.</p>
122148
<p class="Pp">Instead, use character constants or the
123149
<code class="Ic">CHARVAL</code> function.</p>
150+
<p class="Pp">For example, instead of a string literal like
151+
&#x2018;<code class="Li">LD A, &quot;R&quot;</code>&#x2019;, use a numeric
152+
character literal &#x2018;<code class="Li">LD A, 'R'</code>&#x2019;.</p>
153+
<p class="Pp">And instead of a string expression like
154+
&#x2018;<code class="Li">CP STRUPR(&quot;\1&quot;)</code>&#x2019;, use a
155+
numeric <code class="Ic">CHARVAL</code> expression
156+
&#x2018;<code class="Li">CP
157+
CHARVAL(STRUPR(&quot;\1&quot;))</code>&#x2019;.</p>
124158
</section>
125159
<section class="Ss">
126160
<h3 class="Ss" id="rgbgfx_-f/--fix_and_-F/--fix-and-save"><a class="permalink" href="#rgbgfx_-f/--fix_and_-F/--fix-and-save">rgbgfx

docs/rgbasm-old.5.pdf

413 Bytes
Binary file not shown.

docs/rgbasm.1.pdf

0 Bytes
Binary file not shown.

docs/rgbasm.5.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ <h3 class="Ss" id="Numeric_literals"><a class="permalink" href="#Numeric_literal
287287
literals.</p>
288288
<table class="Bl-column Bd-indent">
289289
<tr id="Prefixes">
290-
<th>Format type</th>
290+
<td><b class="Sy">Format type</b></td>
291291
<td><a class="permalink" href="#Prefixes"><b class="Sy">Prefixes</b></a></td>
292292
<td><a class="permalink" href="#Accepted"><b class="Sy" id="Accepted">Accepted
293293
characters</b></a></td>

docs/rgbasm.5.pdf

0 Bytes
Binary file not shown.

docs/rgbds.5.pdf

0 Bytes
Binary file not shown.

docs/rgbds.7.pdf

0 Bytes
Binary file not shown.

docs/rgbfix.1.pdf

0 Bytes
Binary file not shown.

docs/rgbgfx.1.pdf

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)