mirror of
https://github.com/cc65/cc65.git
synced 2025-02-09 17:33:00 +00:00
document the wrapped-call extension
This commit is contained in:
parent
c9f242e566
commit
729690e9e9
@ -1388,7 +1388,10 @@ parameter with the <tt/#pragma/.
|
|||||||
the <tt/Y/ register if it wraps any variadic functions (they have "<tt/.../"
|
the <tt/Y/ register if it wraps any variadic functions (they have "<tt/.../"
|
||||||
in their prototypes).
|
in their prototypes).
|
||||||
|
|
||||||
The identifier is an 8-bit number that's set into <tt/tmp4/.
|
The identifier is an 8-bit number that's set into <tt/tmp4/. If the identifier
|
||||||
|
is "bank", then a <tt><htmlurl url="ca65.html#.BANK" name=".bank"></tt> operator will be used
|
||||||
|
to determine the number from the bank attribute defined in the linker config,
|
||||||
|
see <htmlurl url="ld65.html#MEMORY" name="Other MEMORY area attributes">.
|
||||||
|
|
||||||
The address of a wrapped function is passed in <tt/ptr4/. The wrapper can
|
The address of a wrapped function is passed in <tt/ptr4/. The wrapper can
|
||||||
call that function by using "<tt/jsr callptr4/".
|
call that function by using "<tt/jsr callptr4/".
|
||||||
|
@ -760,7 +760,7 @@ There's a library subroutine called <tt/copydata/ (in a module named
|
|||||||
look at it's inner workings before using it!
|
look at it's inner workings before using it!
|
||||||
|
|
||||||
|
|
||||||
<sect1>Other MEMORY area attributes<p>
|
<sect1>Other MEMORY area attributes<label id="MEMORY"><p>
|
||||||
|
|
||||||
There are some other attributes not covered above. Before starting the
|
There are some other attributes not covered above. Before starting the
|
||||||
reference section, I will discuss the remaining things here.
|
reference section, I will discuss the remaining things here.
|
||||||
@ -822,7 +822,6 @@ that has a segment reference (for example a symbol). The result of this
|
|||||||
function is the value of the bank attribute for the run memory area of the
|
function is the value of the bank attribute for the run memory area of the
|
||||||
segment.
|
segment.
|
||||||
|
|
||||||
|
|
||||||
<sect1>Other SEGMENT attributes<p>
|
<sect1>Other SEGMENT attributes<p>
|
||||||
|
|
||||||
Segments may be aligned to some memory boundary. Specify "<tt/align = num/" to
|
Segments may be aligned to some memory boundary. Specify "<tt/align = num/" to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user