Describe the atari macro package.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5306 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -3079,7 +3079,7 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
|
|
||||||
|
|
||||||
<sect1><tt>.MACPACK</tt><label id=".MACPACK"><p>
|
<sect1><tt>.MACPACK</tt><label id=".MACPACK"><p>
|
||||||
|
|
||||||
Insert a predefined macro package. The command is followed by an
|
Insert a predefined macro package. The command is followed by an
|
||||||
identifier specifying the macro package to insert. Available macro
|
identifier specifying the macro package to insert. Available macro
|
||||||
packages are:
|
packages are:
|
||||||
@@ -3100,8 +3100,8 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
.macpack longbranch ; Include macro package
|
.macpack longbranch ; Include macro package
|
||||||
|
|
||||||
cmp #$20 ; Set condition codes
|
cmp #$20 ; Set condition codes
|
||||||
jne Label ; Jump long on condition
|
jne Label ; Jump long on condition
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
Macro packages are explained in more detail in section <ref
|
Macro packages are explained in more detail in section <ref
|
||||||
@@ -4121,12 +4121,12 @@ definition for the "<tt/jeq/" macro, the other macros are built using the same
|
|||||||
scheme:
|
scheme:
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
.macro jeq Target
|
.macro jeq Target
|
||||||
.if .def(Target) .and ((*+2)-(Target) <= 127)
|
.if .def(Target) .and ((*+2)-(Target) <= 127)
|
||||||
beq Target
|
beq Target
|
||||||
.else
|
.else
|
||||||
bne *+5
|
bne *+5
|
||||||
jmp Target
|
jmp Target
|
||||||
.endif
|
.endif
|
||||||
.endmacro
|
.endmacro
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
@@ -4144,6 +4144,13 @@ The package defines the following macros:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<sect1><tt>.MACPACK atari</tt><p>
|
||||||
|
|
||||||
|
The atari macro package will define a macro named <tt/scrcode/. It takes a
|
||||||
|
string as argument and places this string into memory translated into screen
|
||||||
|
codes.
|
||||||
|
|
||||||
|
|
||||||
<sect1><tt>.MACPACK cbm</tt><p>
|
<sect1><tt>.MACPACK cbm</tt><p>
|
||||||
|
|
||||||
The cbm macro package will define a macro named <tt/scrcode/. It takes a
|
The cbm macro package will define a macro named <tt/scrcode/. It takes a
|
||||||
|
|||||||
Reference in New Issue
Block a user