I think the NES libraries for CC65 were just rushed out of a quick modification from the C64 ones and are not suitable to write games. I wish there were a way to make cool games for the NES in C. CC65 would have to be told to output more optimised code I'm afraid (I think the indirect stack adressing looks ugly and sluggish), but more importantly, the libraries should be completely rewritten so that they are actually workable as a base to code actual games in C (even if parts of them would have to be done in assembly anyway). I guess a way to have optimised code even with C is to use globals and fastcalls as much as possible (and use locals only if you can't come with any global variable to do the work). But in the end you'd end up with less portable code and would still run under variable conflicts which are the main drawbacks of assembly. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Jan 20 15:30:46 2009
This archive was generated by hypermail 2.1.8 : 2009-01-20 15:30:48 CET