1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-18 07:29:36 +00:00
cc65/libsrc/plus4
Oliver Schmidt 0ee9b2e446 Changed run location of INIT segment.
So far the INIT segment was run from the later heap+stack. Now the INIT segment is run from the later BSS. The background is that so far the INIT segment was pretty small (from $80 to $180 bytes). But upcoming changes will increase the INIT segment in certain scenarios up to ~ $1000 bytes. So programs with very limited heap+stack might just not been able to move the INIT segment to its run location. But moving the INIT segment to the later BSS allows it to occupy the later BSS+heap+stack.

In order to allow that the constructors are _NOT_ allowed anymore to access the BSS. Rather they must use the DATA segment or the new INITBSS segment. The latter isn't cleared at any point so the constructors may use it to expose values to the main program. However they must make sure to always write the values as they are not pre-initialized.
2015-10-14 22:52:09 +02:00
..
joy Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
ser Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
_scrsize.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
break.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
cgetc.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
clrscr.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
color.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
conio.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
cputc.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
crt0.s Changed run location of INIT segment. 2015-10-14 22:52:09 +02:00
devnum.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
get_tv.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
irq.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
joy_stat_stddrv.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
joy_stddrv.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kacptr.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kbasin.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kbhit.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kbsout.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kchkin.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kciout.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kckout.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kclall.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kclose.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kclrch.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kiobase.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
klisten.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kload.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kopen.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kplot.s More banking support 2002-11-22 22:24:24 +00:00
krdtim.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kreadst.s Need to import ST since it is no longer declared in plus4.inc. 2012-10-02 19:22:19 +00:00
ksave.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
ksetlfs.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
ksetnam.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
ksettim.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
ktalk.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kunlsn.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
kuntlk.s Added wrappers for the kernal functions 2002-11-22 22:16:20 +00:00
libref.s Added library reference ser_libref to SER interface. 2013-06-01 11:03:14 +02:00
mainargs.s Changed run location of INIT segment. 2015-10-14 22:52:09 +02:00
randomize.s Fixed the random-seed generators for the Commodore targets. 2015-09-11 10:03:07 -04:00
revers.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
status.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
systime.s Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
sysuname.s New uname function 2003-08-12 17:24:02 +00:00