Removing printf's from low RAM.

All aspects of programming on the Commander X16.
Post Reply
Manannan
Posts: 72
Joined: Fri Oct 14, 2022 7:23 am

Question Removing printf's from low RAM.

Post by Manannan »

Hi All,

As you well know, everytime you use a printf in C, or declare a char* with a default value you waste precious low RAM.

I vaguely remember that this forum post titled cc65... Out of memory on a small program?(https://commanderx16.com/forum/viewtopi ... ntf#p23265) mentioned a technique using a string resource file to solve this.

However this forum post is not longer accessible.

Am I remembering right, or is there another way to get strings off the low RAM?

Thanks
Manannan
Posts: 72
Joined: Fri Oct 14, 2022 7:23 am

Re: Removing printf's from low RAM.

Post by Manannan »

Any ideas?
Post Reply