I've written some very basic Sega Genesis games in C before, using the marsdev toolchain. Does anyone have any idea what the feasibility of getting Nim to generate C code that would compile with this might be? If I were interested in writing/contributing such an integration, where would one start?
Should be pretty simple. There is a project to create GBA gamesin Nim. I've also written lots of code for various micro-controllers as well, so Nim can definitely work on non-conventional hardware. Basically you want to either go with --gc:noneor --gc:arcto disable the GC or turn on the new reference counting GC. And then you must set the compiler and switch to a platform that matches you CPU architecture. Could be that you also need a panicoverride. Just join the live chat on IRC or Discord and we'll help you out :)