3 ms·
These games aren't portable to begin with - they use hardware-specific memory mapped IO, pixel processing units, DMA routines, etc. Simply taking the code and m
by ekimekim 7y ago
These games aren't portable to begin with - they use hardware-specific memory mapped IO, pixel processing units, DMA routines, etc. Simply taking the code and making it C doesn't let you run it elsewhere any more than taking the code for airplane systems and running it on your laptop will allow your laptop to fly.
The decompilation here is intended primarily to aid understanding or make changes, and I think targeting the system's specific assembly would serve that goal far better.
(to clarify: I'm talking specifically about retro video games here, because of a) the tight binding to hardware and b) the fact they were written in asm to begin with. I make no judgement on reverse engineering in general.)
- olliej 7y agoGhidra specifically intends to handle arbitrary bizarre embedded systems, so does a good job.