SDCC 4.1.12, a Game changer for C programming?

ページ 4/4
1 | 2 | 3 |

By Bengalack

Hero (580)

Bengalack さんの画像

06-04-2022, 12:32

And finally it was time for me to jump on the bandwagon. Converting Lilly's Saga to SDCC 4.2 and the new calling convention.

I wasn't really in need of the speed improvements, as all parts of my mainloop(s) has carefully been using assembly in vital parts, no parameters, __z88dk_fastcall and/or __z88dk_callee and __preserves_regs.

But I wanted the code to be "future compliant" and being able to get in bug-fixes and other improvements down the line, so I thought I'd give it a go.

I certainly do not mind the general speedup I get in all the c-code automatically. But what I realized, is that all the places I interface with c-code from asm, the code gets "10 times cleaner"! I welcome that. In addition, my "modules" with mostly c-code gets 3% smaller in size, and c/asm-mixed modules are about 1.5% smaller. I really need that.

Happy chap Smile

By aoineko

Champion (448)

aoineko さんの画像

06-04-2022, 13:36

You (and your game) are a very good ambassador for SDCC programming on MSX. Smile

By Bengalack

Hero (580)

Bengalack さんの画像

06-04-2022, 20:32

aoineko wrote:

You (and your game) are a very good ambassador for SDCC programming on MSX. Smile

Thanks.
Likewise Smile

ページ 4/4
1 | 2 | 3 |