Better HN
topnewbestaskshowjobs
Log inSign up

skylyrac

10 karma · joined Apr 30, 2018 (8y ago) · 4 submissions

Submissions

comment 1mo ago · link · parent

That's my game! :)

I eventually ported it to the GBA, this time in C. It's essentially the same game, but with code that is easier to read. It's much less impressive in this case, there's even a version of SimCity 2000 for GBA that is much better than my game.

https://codeberg.org/SkyLyrac/ucity-advance

comment 10mo ago · link · parent

For a regular DS all you need to do is buy a simple flashcart, copy applications to a microSD card, and you're done, you don't need to replace the firmware. There's even a FOSS flashcart: https://www.lnh-team.org/

On DSi you can replace the firmware and load your applications from the SD slot of the DSi, no flashcart needed.

Also, there are a few C/C++ toolchains for the DS (BlocksDS, devkitARM) and different libraries depending on how low level you want to go with your code. It's very easy to get started.

The 3DS is also pretty easy to hack, and then all you have to do is to copy your applications to the SD card of the console.

comment 8y ago · link · parent

This doesn't make any sense. This would mean that my C code compiled for a Cortex-M0 is low level, but for my x86 laptop is not. Or even more stupid, that the same assembly code running in an old 386 is low level, but for an i7 isn't.

Low level is about how close to talking to the CPU you are, not about how close to the silicon you are. The CPU is a black box and the programmer communicates with it. What that box does inside doesn't matter.

comment 8y ago · link · parent

We use Coverity and, even though some members of the team really dislike it, I think it is quite helpful to detect things that would go unnoticed otherwise.

However, our project is relatively small, so we are normally done in ~15 minutes. We run it right before upstreaming patches, which means that the tests run once or twice a day.