Herringway / ebsrc

Source code recreation for the game Earthbound
133 stars 8 forks source link

Switch to LLVM-MOS? #19

Open Herringway opened 9 months ago

Herringway commented 9 months ago

We would be able to use this for both the SPC700 program and SNES program. This would enable us to use nearly the entire LLVM ecosystem's tools and compilers with very little work. We would be able to extend both programs with higher level languages like D or rust, and have access to more standard tools like objdump.

While LLVM-MOS currently supports the SPC700, it doesn't fully support the 65c816 yet. While it supports the instruction set, it does not yet support the extended addressing modes and 16-bit accum/index modes that the 6502 didn't have. Support for these appear to only be in the planning stages so far.