Help with CC65 Development
Posted: Tue Feb 07, 2017 1:01 am
I'm finally putting out a call for help.
Over the past few years I have been trying, on and off, to get some code that I was working on prior to Uz passing the CC65 maintenance on.
Initially I had issues with actually building the program, as the config file changed, and way custom startup code changed. But after looking at the examples of others, I finally got my program to build again. The problem was that it no longer functioned correctly.
I think I've narrowed the problem down to the cprintf() function. Now I know you're going to say don't use that as it bloats the code, but I've been using it to print out debug information as I'm developing.
Has anyone else encountered a problem with using cprintf() in VIC20 programs?
As far as I can tell, by debugging within VICE, the self-modifying code that formats the different data types is not jumping to the correct location and hanging or exiting the program early.
Any ideas?
Hawk
Over the past few years I have been trying, on and off, to get some code that I was working on prior to Uz passing the CC65 maintenance on.
Initially I had issues with actually building the program, as the config file changed, and way custom startup code changed. But after looking at the examples of others, I finally got my program to build again. The problem was that it no longer functioned correctly.
I think I've narrowed the problem down to the cprintf() function. Now I know you're going to say don't use that as it bloats the code, but I've been using it to print out debug information as I'm developing.
Has anyone else encountered a problem with using cprintf() in VIC20 programs?
As far as I can tell, by debugging within VICE, the self-modifying code that formats the different data types is not jumping to the correct location and hanging or exiting the program early.
Any ideas?
Hawk