3 ms·
This is really interesting. As an aside, someone has created a GBA toolchain for the Nim language as well. It's really cool seeing these projects for a variety
by aquova 2y ago
This is really interesting. As an aside, someone has created a GBA toolchain for the Nim language as well. It's really cool seeing these projects for a variety of languages.
https://github.com/exelotl/natu https://github.com/exelotl/natu
- archargelod 2y agoNatu has an amazing commercial game called Goodboy Galaxy [0]. In addition to the Game Boy Advance version, they've also ported it to Windows and Linux with Xatu [1] (which is also written in Nim). 0 - https://goodboygalaxy.com/ https://goodboygalaxy.com/ 1 - https://git.sr.ht/~exelotl/xatu https://git.sr.ht/~exelotl/xatu
- girvo 2y agoAnd interestingly, one of the problems raised in the article __attribute__((target("arm"))) void interrupt_handler() { ... } that fancy __attribute output can be achieved quite nicely using a custom pragma/codegendecl -- we did exactly this for the embedded firmware written in Nim at my previous workplace, to get access to some specific features of the ESP32-S3 (things like RTC_ATTR_NOINIT for example)