mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 02:55:20 +00:00
Fixed a few typos
git-svn-id: svn://svn.cc65.org/cc65/trunk@796 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
2266d11fec
commit
ccde3d8299
@ -142,7 +142,7 @@ first in your source code. This will speed up the code.
|
|||||||
|
|
||||||
<sect>Use the preincrement and predecrement operators<p>
|
<sect>Use the preincrement and predecrement operators<p>
|
||||||
|
|
||||||
The compiler not always smart enough to figure out, if the rvalue of an
|
The compiler is not always smart enough to figure out, if the rvalue of an
|
||||||
increment is used or not. So it has to save and restore that value when
|
increment is used or not. So it has to save and restore that value when
|
||||||
producing code for the postincrement and postdecrement operators, even if this
|
producing code for the postincrement and postdecrement operators, even if this
|
||||||
value is never used. To avoid the additional overhead, use the preincrement
|
value is never used. To avoid the additional overhead, use the preincrement
|
||||||
|
@ -1194,7 +1194,7 @@ This calls system's <tt/Panic/ handler - it shows dialog box with message
|
|||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
System error at:xxxx
|
System error at:xxxx
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
where <tt/xxxx/ is last known execution address (caller). By default this is binded to <tt/BRK/
|
where <tt/xxxx/ is last known execution address (caller). By default this is bound to <tt/BRK/
|
||||||
instruction, but it might be usable in debugging as kind of <tt/assert/.
|
instruction, but it might be usable in debugging as kind of <tt/assert/.
|
||||||
<p>
|
<p>
|
||||||
System is halted after call to <tt/Panic/.
|
System is halted after call to <tt/Panic/.
|
||||||
@ -1236,7 +1236,7 @@ new value in <tt/curDevice/, in other case new disk driver is loaded from REU or
|
|||||||
<sect>Library Structures
|
<sect>Library Structures
|
||||||
<p>
|
<p>
|
||||||
To simplify usage and optimize passing parameters to functions I have declared several structures
|
To simplify usage and optimize passing parameters to functions I have declared several structures
|
||||||
which describe most common objects. Some of these structures are binded to static addresses in
|
which describe most common objects. Some of these structures are bound to static addresses in
|
||||||
GEOS data space ($8000-$8fff), so you can use their fields directly in optimized way.
|
GEOS data space ($8000-$8fff), so you can use their fields directly in optimized way.
|
||||||
Please see <tt/gsym.h/ and find them. All structures are defined in <tt/gstruct.h/ and you may
|
Please see <tt/gsym.h/ and find them. All structures are defined in <tt/gstruct.h/ and you may
|
||||||
find also some comments there.
|
find also some comments there.
|
||||||
@ -1250,7 +1250,7 @@ One simple structure describing a point on the screen.
|
|||||||
<sect2>fontdesc
|
<sect2>fontdesc
|
||||||
<p>
|
<p>
|
||||||
This structure describes a font in one pointsize. There is current font - <tt/struct fontdesc/
|
This structure describes a font in one pointsize. There is current font - <tt/struct fontdesc/
|
||||||
binded at <tt/curFontDesc/. You can also force GEOS to use your own fonts by calling
|
bound to <tt/curFontDesc/. You can also force GEOS to use your own fonts by calling
|
||||||
<tt/LoadCharSet/. You just need to open a VLIR font file and load one record - one pointsize
|
<tt/LoadCharSet/. You just need to open a VLIR font file and load one record - one pointsize
|
||||||
somewhere. At the start of this area you already have all data for <tt/fontdesc/ so you can
|
somewhere. At the start of this area you already have all data for <tt/fontdesc/ so you can
|
||||||
pass a pointer to the load adress of that pointsize to <tt/LoadCharSet/.
|
pass a pointer to the load adress of that pointsize to <tt/LoadCharSet/.
|
||||||
|
Loading…
Reference in New Issue
Block a user