1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 15:54:59 +00:00

Added docs for .CHARMAP

git-svn-id: svn://svn.cc65.org/cc65/trunk@2101 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-04-30 21:10:10 +00:00
parent 09629cd229
commit 65b97cd5b5

View File

@ -766,6 +766,22 @@ Here's a list of all control commands and a description, what they do:
</verb></tscreen> </verb></tscreen>
<sect1><tt>.CHARMAP</tt><label id=".CHARMAP"><p>
Apply a custom mapping for characters. The command is followed by two
numbers in the range 1..255. The first one is the index of the source
character, the second one is the mapping. The mapping applies to all
character and string constants when they generate output, and overrides
a mapping table specified with the <tt><ref id="option-t" name="-t"></tt>
command line switch.
Example:
<tscreen><verb>
.charmap $41, $61 ; Map 'A' to 'a'
</verb></tscreen>
<sect1><tt>.CODE</tt><label id=".CODE"><p> <sect1><tt>.CODE</tt><label id=".CODE"><p>
Switch to the CODE segment. The name of the CODE segment is always Switch to the CODE segment. The name of the CODE segment is always