]> git.sur5r.net Git - cc65/commit
Adjusted constructors.
authorOliver Schmidt <ol.sc@web.de>
Wed, 16 Mar 2016 15:28:32 +0000 (16:28 +0100)
committerOliver Schmidt <ol.sc@web.de>
Wed, 16 Mar 2016 15:28:32 +0000 (16:28 +0100)
commit1d1ba3ed3bf0b0b31e34601b7f40201589887537
treefe061795a2f655f79ac2affc11315410e1b0653a
parent3d6cbec6a1e52340ce9459eea7d9bdc2dcd4717b
Adjusted constructors.

The constructors are _NOT_ allowed anymore to access the BSS. Rather they must use the DATA segment or the INIT 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.
16 files changed:
cfg/atmos.cfg
cfg/geos-apple.cfg
cfg/geos-cbm.cfg
libsrc/apple2/dosdetect.s
libsrc/apple2/extra/iobuf-0800.s
libsrc/apple2/get_ostype.s
libsrc/apple2/mainargs.s
libsrc/atari/dosdetect.s
libsrc/atari/getargs.s
libsrc/atmos/capslock.s
libsrc/atmos/mainargs.s
libsrc/atmos/read.s
libsrc/c128/cgetc.s
libsrc/common/_environ.s
libsrc/geos-common/conio/_scrsize.s
libsrc/geos-common/system/mainargs.s