Get the latest tech news
I wrote a Game Boy Advance game in Zig
hy I Wrote a Game Boy Advance Game in Zig The Game Boy Advance is an interesting game console. It has a modern-style CPU (32-bit ARM, lots of registers), but uses an old-fashioned tile based renderer like how the NES did it in the 80s.
If you weren’t aware, consoles like the Game Boy Advance don’t have fully fledged operating systems with high level API calls to do graphics. This makes it less convenient to use the language, since you would need to specify ARM functions in a separate compilation unit and link them together (I actually haven’t tested if this works since I didn’t use interrupts in my game). Unrelated question: Did you know that you can’t write to video memory on the Game Boy Advance in units of 8 bits, and if you do, it’ll still work but all your graphics will be messed up with no obvious way to figure it out unless you read one specific paragraph of the documentation?
Or read this on Hacker News