6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 5:02 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Dec 30, 2013 1:31 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
Zerobss will clear memory - the source file is in libsrc\common\zerobss.s
copydata will set up the initialized data area - the source file is libsrc\common\copydata.s

Libinit and libdone will run any initialization code required by an included library. I'm not sure if any cc65 system libraries use this. Some of the platform specific libraries do use it. My graphics library used them in the SBC3 target as well. The source file is libsrc\runtime\condes.s

Hope this helps.

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 31, 2013 6:51 am 
Offline

Joined: Wed Dec 25, 2013 10:06 am
Posts: 13
The logic behind those routines is defined in cfg and well explained in here:
http://www.cc65.org/doc/ld65-5.html

Axel.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: