It is currently Sun Oct 22, 2017 10:15 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Tue Aug 11, 2015 1:33 am 
Offline
User avatar

Joined: Sat Sep 07, 2013 2:59 pm
Posts: 1405
I have a suggestion concerning your config file:

The segment that you call "RAM" should actually be called "BSS".

The reason is: When you use the C compiler, it includes segments into its code by itself. And for variables that are not in the zeropage, it uses "BSS".

_________________
Available now: My game "City Trouble".
Website: https://megacatstudios.com/products/city-trouble
Trailer: https://youtu.be/IYXpP59qSxA
Gameplay: https://youtu.be/Eee0yurkIW4
German Retro Gamer article: http://i67.tinypic.com/345o108.jpg


Top
 Profile  
 
PostPosted: Wed Aug 12, 2015 12:57 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5732
Location: Canada
Yeah, sure. It doesn't make a functional difference, but it is the default name for the "main" RAM segment in cc65, sort of. I've changed it.

I wasn't concerned about compatibility with C configs for this example, since it's not a C example at all, but if you want an example cc65+C project to look at, here's one I made a while back that plays an old jazz tune: coltrane.nes, coltrane_src.zip


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bing [Bot], samwise970 and 4 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:  
Powered by phpBB® Forum Software © phpBB Group