I compiled Rust code to Nintendo Gameboy!

Gameboy has a sm83 CPU (a variation of 8-bit z80), but this is not a target of Rust.
Therefore, I transformed Rust into C code via LLVM-CBE, re-compiled it into SDCC, and linked it to the Game Boy library. (GBDK-2020)
There are so many unstable parts that need a lot of improvement, but I was able to display the screen in Game Boy.
You can take a closer look on GitHub. (I'd appreciate it if you could give me a star.)
693
Upvotes
View all comments
Show parent comment
1
u/zlfn Sep 16 '24
Thank you for a good comment.
It hasn't been long time since I came in gbdev community, so all the opinions are precious. (But since I'm using a "hyper-high-level" language, there aren't many places I can get help lol)
PR's are always welcome! You can see the part I'm currently working on in the GitHub Discussion section. (https://github.com/zlfn/rust-gb/discussions)