#81958 - Dwedit - Wed May 03, 2006 2:01 am
In this post, wintermute wrote: |
I must admit I'd be interested in seeing how much the performance differs when compiled with a recent gcc. |
I'm sure it wouldn't differ at all, since 99.99% of the code executed each frame is already assembly code.
The big thing stopping me from doing it is that I don't understand how to construct the necessary makefiles, linkscripts, crt0.s, or make the appropriate changes to the asm .s files. Does GCC's assembler have all the features necessary to compile PocketNES, including macros, conditional compilation, and something equivalent to Image$$RO$$Limit? Does GCC use a different calling convention than SDT? That could break all the calls from ASM to C.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."