1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc/cbm510
uz 8216bf1d6a Force an import of the special symbol __STARTUP__ in the C compiler when
main() is encountered. Define this symbol in the startup code. This will
automatically force linking of the startup code which can then reside inside
the standard library as any other object file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-31 12:05:42 +00:00
..
_scrsize.s
banking.s
break.s
cbm510-ram.s
cbm510-stdjoy.s
cbm510-stdser.s
cbm510.inc
cgetc.s
clrscr.s
color.s
cputc.s
crt0.s Force an import of the special symbol __STARTUP__ in the C compiler when 2009-07-31 12:05:42 +00:00
extzp.inc
extzp.s
kbhit.s
kclose.s
kernal.s
kiobase.s
kopen.s
kreadst.s
kscnkey.s
kscreen.s
ksetnam.s
kudtim.s
mainargs.s
Makefile
peeksys.s
pokesys.s
randomize.s
README
revers.s
systime.s
sysuname.s
tgi_mode_table.s

Implementation notes:

CONDES routines with a type code of 2 are used to implement interrupt
handlers. Note that these are called as soon as the program is started,
so they have to cope with this. The indirect segment is set to the 
system bank when calling interrupt routines, this must must not be changed
when returning.