r/ReverseEngineering • u/jasonbrianhall • 13h ago
Solved compiling NES Games as CPP and Running them natively. Statically converts 6502 to CPP using static analysis and then compiles code, watches the trace as the user plays the game, and dynamically adds instructions as they are discovered which are then recompiled the next pass.
https://github.com/jasonbrianhall/nes2cpp
36
Upvotes
5
u/walmartbonerpills 12h ago
Interesting. How does it handle all the different mappers
5
u/tetyys 8h ago
thats called JIT compilation