mirror of
https://github.com/cc65/cc65.git
synced 2025-01-21 15:32:41 +00:00
Change .CONDES -> .INTERRUPTOR (Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5064 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
44b829cc01
commit
1a0571fdc3
@ -478,12 +478,12 @@ supported by BASIC, the following syntax was chosen:
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the Apple ][ uses routines marked as <tt/.CONDES/
|
||||
type <tt/interruptor/ for ProDOS 8 interrupt handlers. Such routines must be
|
||||
written as simple machine language subroutines and will be called automatically
|
||||
by the interrupt handler code when they are linked into a program. See the
|
||||
discussion of the <tt/.CONDES/ feature in the <htmlurl url="ca65.html"
|
||||
name="assembler manual">.
|
||||
The runtime for the Apple ][ uses routines marked as
|
||||
<tt/.INTERRUPTOR/ for ProDOS 8 interrupt handlers. Such routines must be
|
||||
written as simple machine language subroutines and will be called
|
||||
automatically by the interrupt handler code when they are linked into a
|
||||
program. See the discussion of the <tt/.CONDES/ feature in the <htmlurl
|
||||
url="ca65.html" name="assembler manual">.
|
||||
|
||||
|
||||
<sect1>DIO<p>
|
||||
|
@ -484,12 +484,12 @@ These are defined to be OpenApple + number key.
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the enhanced Apple //e uses routines marked as <tt/.CONDES/
|
||||
type <tt/interruptor/ for ProDOS 8 interrupt handlers. Such routines must be
|
||||
written as simple machine language subroutines and will be called automatically
|
||||
by the interrupt handler code when they are linked into a program. See the
|
||||
discussion of the <tt/.CONDES/ feature in the <htmlurl url="ca65.html"
|
||||
name="assembler manual">.
|
||||
The runtime for the enhanced Apple //e uses routines marked as
|
||||
<tt/.INTERRUPTOR/ for ProDOS 8 interrupt handlers. Such routines must be
|
||||
written as simple machine language subroutines and will be called
|
||||
automatically by the interrupt handler code when they are linked into a
|
||||
program. See the discussion of the <tt/.CONDES/ feature in the <htmlurl
|
||||
url="ca65.html" name="assembler manual">.
|
||||
|
||||
|
||||
<sect1>DIO<p>
|
||||
|
@ -292,7 +292,7 @@ Command line arguments can be passed to <tt/main()/ when DOS supports it.
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the Atari uses routines marked as <tt/.CONDES/ type 2 for
|
||||
The runtime for the Atari uses routines marked as <tt/.INTERRUPTOR/ for
|
||||
interrupt handlers. Such routines must be written as simple machine language
|
||||
subroutines and will be called automatically by the VBI handler code
|
||||
when they are linked into a program. See the discussion of the <tt/.CONDES/
|
||||
|
@ -312,7 +312,7 @@ The program return code (low byte) is passed back to BASIC by use of the
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the C128 uses routines marked as <tt/.CONDES/ type 2 for
|
||||
The runtime for the C128 uses routines marked as <tt/.INTERRUPTOR/ for
|
||||
interrupt handlers. Such routines must be written as simple machine language
|
||||
subroutines and will be called automatically by the interrupt handler code
|
||||
when they are linked into a program. See the discussion of the <tt/.CONDES/
|
||||
@ -351,7 +351,3 @@ freely, subject to the following restrictions:
|
||||
</enum>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -224,6 +224,15 @@ The program return code (low byte) is passed back to BASIC by use of the
|
||||
<tt/ST/ variable.
|
||||
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the C16 uses routines marked as <tt/.INTERRUPTOR/ for
|
||||
interrupt handlers. Such routines must be written as simple machine language
|
||||
subroutines and will be called automatically by the interrupt handler code
|
||||
when they are linked into a program. See the discussion of the <tt/.CONDES/
|
||||
feature in the <htmlurl url="ca65.html" name="assembler manual">.
|
||||
|
||||
|
||||
|
||||
<sect>Bugs/Feedback<p>
|
||||
|
||||
|
@ -357,7 +357,7 @@ The program return code (low byte) is passed back to BASIC by use of the
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the C64 uses routines marked as <tt/.CONDES/ type 2 for
|
||||
The runtime for the C64 uses routines marked as <tt/.INTERRUPTOR/ for
|
||||
interrupt handlers. Such routines must be written as simple machine language
|
||||
subroutines and will be called automatically by the interrupt handler code
|
||||
when they are linked into a program. See the discussion of the <tt/.CONDES/
|
||||
@ -396,6 +396,3 @@ freely, subject to the following restrictions:
|
||||
</enum>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
@ -258,7 +258,7 @@ The program return code (signed char) is passed back to BASIC by use of the
|
||||
|
||||
<sect1>Interrupt handlers<p>
|
||||
|
||||
The runtime for the Commodore 510 uses routines marked as <tt/.CONDES/ type 2
|
||||
The runtime for the Commodore 510 uses routines marked as <tt/.INTERRUPTOR/
|
||||
for interrupt handlers. Such routines must be written as simple machine
|
||||
language subroutines and will be called automatically by the interrupt handler
|
||||
code when they are linked into a program. See the discussion of the
|
||||
|
@ -257,7 +257,7 @@ The program return code (low byte) is passed back to BASIC by use of the
|
||||
|
||||
<sect1>Interrupt handlers<p>
|
||||
|
||||
The runtime for the Commodore 610 uses routines marked as <tt/.CONDES/ type 2
|
||||
The runtime for the Commodore 610 uses routines marked as <tt/.INTERRUPTOR/
|
||||
for interrupt handlers. Such routines must be written as simple machine
|
||||
language subroutines and will be called automatically by the interrupt handler
|
||||
code when they are linked into a program. See the discussion of the
|
||||
@ -296,6 +296,3 @@ freely, subject to the following restrictions:
|
||||
</enum>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ more than one platform. Please see the function reference for more
|
||||
information.
|
||||
|
||||
|
||||
<sect>Building you first Hello World application<p>
|
||||
<sect>Building your first Hello World application<p>
|
||||
|
||||
Here is a small traditional Hello World program for the Atari Lynx.
|
||||
|
||||
@ -64,15 +64,23 @@ The 6502.h is needed for executing the CLI() command.
|
||||
As the Atari Lynx does not have ASCII characters available you need to use
|
||||
the Tiny Graphics Interface library for producing letters on the screen.
|
||||
|
||||
The cc65 compiler suite has a graphics library called "Tiny Graphics Interface". This interface has some relocatable code. In order to use this in your own program you need to load it at run time.
|
||||
The cc65 compiler suite has a graphics library called "Tiny Graphics
|
||||
Interface". This interface has some relocatable code. In order to use this
|
||||
in your own program you need to load it at run time.
|
||||
|
||||
Unfortunately the Lynx does not have a disk drive from where to load it. Therefore you must already load it at compile time. The easiest way is to link it in statically.
|
||||
Unfortunately the Lynx does not have a disk drive from where to load it.
|
||||
Therefore you must already load it at compile time. The easiest way is to
|
||||
link it in statically.
|
||||
|
||||
This relocatable driver is found in $(CC65_HOME)/tgi/lynx-160-102-16.tgi. Copy it from here.
|
||||
This relocatable driver is found in <tt>$(CC65_HOME)/tgi/lynx-160-102-16.tgi</tt>.
|
||||
Copy it from here.
|
||||
|
||||
The name comes from 160 by 102 pixels (The Lynx LCD size), 16 colors.
|
||||
|
||||
In order to link in this statically we have to make it back to a source file so that we can compile it. The next command will turn the compiled driver object file into an assembler source and compile it with the ca65 assembler.
|
||||
In order to link in this statically we have to make it back to a source
|
||||
file so that we can compile it. The next command will turn the compiled
|
||||
driver object file into an assembler source and compile it with the ca65
|
||||
assembler.
|
||||
|
||||
<tscreen><verb>
|
||||
co65 --code-label _lynxtgi lynx-160-102-16.tgi
|
||||
@ -361,6 +369,3 @@ freely, subject to the following restrictions:
|
||||
</enum>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
@ -201,7 +201,7 @@ The program return code (low byte) is passed back to BASIC by use of the
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the PET uses routines marked as <tt/.CONDES/ type 2 for
|
||||
The runtime for the PET uses routines marked as <tt/.INTERRUPTOR/ for
|
||||
interrupt handlers. Such routines must be written as simple machine language
|
||||
subroutines and will be called automatically by the interrupt handler code
|
||||
when they are linked into a program. See the discussion of the <tt/.CONDES/
|
||||
@ -253,6 +253,3 @@ freely, subject to the following restrictions:
|
||||
</enum>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
@ -228,7 +228,7 @@ The program return code (low byte) is passed back to BASIC by use of the
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the Plus/4 uses routines marked as <tt/.CONDES/ type 2 for
|
||||
The runtime for the Plus/4 uses routines marked as <tt/.INTERRUPTOR/ for
|
||||
interrupt handlers. Such routines must be written as simple machine language
|
||||
subroutines and will be called automatically by the interrupt handler code
|
||||
when they are linked into a program. See the discussion of the <tt/.CONDES/
|
||||
@ -267,7 +267,3 @@ freely, subject to the following restrictions:
|
||||
</enum>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -222,7 +222,7 @@ code:
|
||||
|
||||
<sect1>Interrupts<p>
|
||||
|
||||
The runtime for the VIC20 uses routines marked as <tt/.CONDES/ type 2 for
|
||||
The runtime for the VIC20 uses routines marked as <tt/.INTERRUPTOR/ for
|
||||
interrupt handlers. Such routines must be written as simple machine language
|
||||
subroutines and will be called automatically by the interrupt handler code
|
||||
when they are linked into a program. See the discussion of the <tt/.CONDES/
|
||||
@ -261,6 +261,3 @@ freely, subject to the following restrictions:
|
||||
</enum>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user