mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
Fixed a few problems with the docs as suggested by Spiro Trikaliotis resp.
Greg King. git-svn-id: svn://svn.cc65.org/cc65/trunk@3933 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ef4062f673
commit
dce3753d31
@ -3823,7 +3823,7 @@ compiler, depending on the target system selected:
|
||||
|
||||
<sect>Structs and unions<label id="structs"><p>
|
||||
|
||||
<sect1>Overview<p>
|
||||
<sect1>Structs and unions Overview<p>
|
||||
|
||||
Structs and unions are special forms of <ref id="scopes" name="scopes">. They
|
||||
are to some degree comparable to their C counterparts. Both have a list of
|
||||
@ -3918,7 +3918,7 @@ below uses examples from the C libraries. However, the feature may also be
|
||||
useful for assembler programs.
|
||||
|
||||
|
||||
<sect1>Overview<p>
|
||||
<sect1>Module constructors/destructors Overview<p>
|
||||
|
||||
Using the <tt><ref id=".CONSTRUCTOR" name=".CONSTRUCTOR"></tt>, <tt><ref
|
||||
id=".DESTRUCTOR" name=".DESTRUCTOR"></tt> and <tt><ref id=".INTERRUPTOR"
|
||||
|
@ -254,7 +254,7 @@ The program return code (signed char) is passed back to BASIC by use of the
|
||||
<tt/ST/ variable.
|
||||
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
<sect1>Interrupt handlers<p>
|
||||
|
||||
The runtime for the Commodore 510 uses routines marked as <tt/.CONDES/ type 2
|
||||
for interrupt handlers. Such routines must be written as simple machine
|
||||
|
@ -254,7 +254,7 @@ The program return code (low byte) is passed back to BASIC by use of the
|
||||
<tt/ST/ variable.
|
||||
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
<sect1>Interrupt handlers<p>
|
||||
|
||||
The runtime for the Commodore 610 uses routines marked as <tt/.CONDES/ type 2
|
||||
for interrupt handlers. Such routines must be written as simple machine
|
||||
|
@ -274,9 +274,9 @@ it from C code. In your code, define an arbitrary variable with this name. Use
|
||||
the address of this variable as the address of the code segment of the driver.
|
||||
Be sure to never modify the variable which is in reality the start of your
|
||||
driver!
|
||||
|
||||
|
||||
<sect1>Example: Convert and link a graphics driver<p>
|
||||
|
||||
<sect1>Example - Convert and link a graphics driver<p>
|
||||
|
||||
As an example, here are some instructions to convert and use the c64-hi.tgi
|
||||
graphics driver:
|
||||
|
Loading…
x
Reference in New Issue
Block a user