M jasm/docs/jasm.md +33 -9
@@ 2053,7 2053,7 @@ The following operators and methods are
To support different platform's character sets there is a `[6502]|string()` function that is used to convert unicode strings, which is the default string type, to other character sets.
[6502]
- const PET_HELLO = string("Hello", "petscii", "lowercase")
+ const PET_HELLO = string("Hello", "pet", "lowercase")
The function takes a number of arguments. First the string to convert, then a number of conversion properties which specifies the format, subformat, locale and flags for the conversion, in any order.
@@ 2069,8 2069,32 @@ The following format properties are supp
<td>7 bit ascii format.</td>
</tr>
<tr>
- <td>petscii</td>
- <td>The character set used in Commodore 8 bit computers.</td>
+ <td>pet</td>
+ <td>The character set used in Commodore PET models after PET 2001.</td>
+ </tr>
+ <tr>
+ <td>pet2001</td>
+ <td>The character set used in the Commodore PET 2001 model.</td>
+ </tr>
+ <tr>
+ <td>vic20</td>
+ <td>The character set used in the Commodore VIC 20.</td>
+ </tr>
+ <tr>
+ <td>c16</td>
+ <td>The character set used in the Commodore 16.</td>
+ </tr>
+ <tr>
+ <td>plus4</td>
+ <td>The character set used in the Commodore Plus/4.</td>
+ </tr>
+ <tr>
+ <td>c64</td>
+ <td>The character set used in the Commodore 64.</td>
+ </tr>
+ <tr>
+ <td>c128</td>
+ <td>The character set used in the Commodore 128.</td>
</tr>
<tr>
<td>zx80</td>
@@ 2097,18 2121,18 @@ The following optional subformats are su
</tr>
<tr>
<td>lowercase</td>
- <td>petscii</td>
- <td>The petscii character set with both lower and uppercase characters.</td>
+ <td>pet2001, pet, vic20, c16, plus4, c64, c128</td>
+ <td>The character set with both lower and uppercase characters.</td>
</tr>
<tr>
<td>uppercase_screen</td>
- <td>petscii</td>
- <td>The petscii character set as screen codes.</td>
+ <td>pet2001, pet, vic20, c16, plus4, c64, c128</td>
+ <td>The character set as screen codes.</td>
</tr>
<tr>
<td>lowercase_screen</td>
- <td>petscii</td>
- <td>The petscii character set with both lower and uppercase characters as screen codes.</td>
+ <td>pet2001, pet, vic20, c16, plus4, c64, c128</td>
+ <td>The character set with both lower and uppercase characters as screen codes.</td>
</tr>
</table>
M jasm/website/site/docs/index.html +33 -9
@@ 2154,7 2154,7 @@ aa
<p>To support different platform's character sets there is a <code><span class="function">string</span><span class="special">(</span><span class="special">)</span></code> function that is used to convert unicode strings, which is the default string type, to other character sets.</p>
-<pre><code><span class="keyword">const</span> PET_HELLO <span class="operator">=</span> <span class="function">string</span><span class="special">(</span><span class="literal">"Hello"</span>, <span class="literal">"petscii"</span>, <span class="literal">"lowercase"</span><span class="special">)</span>
+<pre><code><span class="keyword">const</span> PET_HELLO <span class="operator">=</span> <span class="function">string</span><span class="special">(</span><span class="literal">"Hello"</span>, <span class="literal">"pet"</span>, <span class="literal">"lowercase"</span><span class="special">)</span>
</code></pre>
<p>The function takes a number of arguments. First the string to convert, then a number of conversion properties which specifies the format, subformat, locale and flags for the conversion, in any order.</p>
@@ 2171,8 2171,32 @@ aa
<td>7 bit ascii format.</td>
</tr>
<tr>
- <td>petscii</td>
- <td>The character set used in Commodore 8 bit computers.</td>
+ <td>pet</td>
+ <td>The character set used in Commodore PET models after PET 2001.</td>
+ </tr>
+ <tr>
+ <td>pet2001</td>
+ <td>The character set used in the Commodore PET 2001 model.</td>
+ </tr>
+ <tr>
+ <td>vic20</td>
+ <td>The character set used in the Commodore VIC 20.</td>
+ </tr>
+ <tr>
+ <td>c16</td>
+ <td>The character set used in the Commodore 16.</td>
+ </tr>
+ <tr>
+ <td>plus4</td>
+ <td>The character set used in the Commodore Plus/4.</td>
+ </tr>
+ <tr>
+ <td>c64</td>
+ <td>The character set used in the Commodore 64.</td>
+ </tr>
+ <tr>
+ <td>c128</td>
+ <td>The character set used in the Commodore 128.</td>
</tr>
<tr>
<td>zx80</td>
@@ 2199,18 2223,18 @@ aa
</tr>
<tr>
<td>lowercase</td>
- <td>petscii</td>
- <td>The petscii character set with both lower and uppercase characters.</td>
+ <td>pet2001, pet, vic20, c16, plus4, c64, c128</td>
+ <td>The character set with both lower and uppercase characters.</td>
</tr>
<tr>
<td>uppercase_screen</td>
- <td>petscii</td>
- <td>The petscii character set as screen codes.</td>
+ <td>pet2001, pet, vic20, c16, plus4, c64, c128</td>
+ <td>The character set as screen codes.</td>
</tr>
<tr>
<td>lowercase_screen</td>
- <td>petscii</td>
- <td>The petscii character set with both lower and uppercase characters as screen codes.</td>
+ <td>pet2001, pet, vic20, c16, plus4, c64, c128</td>
+ <td>The character set with both lower and uppercase characters as screen codes.</td>
</tr>
</table>