Re: [cc65] linker cfg files

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2003-05-01 23:30:40


>>> Ullrich von Bassewitz <uz_at_musoftware.de> 04/24/03 02:25PM >>>

>BTW: There are some things in the crt0.s file for the Atari that could get
>removed and packed into constructors/destructors making the file smaller and
>not so dependent on library changes. Christian is your man for this:-)

Calling Christian Groessler!

Ullrich: What things did you think could be put into a constructor?  I saw a bunch of stuff around changing the margins and cursor state, as well as a "conio init".  There is also some stdio definitions but these probably have to be there (?)

How does a constructor work?  Does it get put into the constructor/destructor table when a module containing a constructor function is linked to your program, and then crt0.s calls a function that jsrs to each of the constructors?

¯
Shawn Jefferson


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-05-01 23:33:15 CEST