Page 1 of 1

Removing printf's from low RAM.

Posted: Sat Jan 13, 2024 12:28 am
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

Re: Removing printf's from low RAM.

Posted: Sat Jan 20, 2024 11:08 am
by Manannan
Any ideas?