3 ms·
Is there any way to use this on a DOS EXE? This would be a lovely tool to port/remaster old games (i.e. decompile, replace rendering methods with modern equival
by ggambetta 9y ago
Is there any way to use this on a DOS EXE? This would be a lovely tool to port/remaster old games (i.e. decompile, replace rendering methods with modern equivalents, compile again -- an "offline" version of the "online" idea I was going for with http://www.gabrielgambetta.com/remakes.html http://www.gabrielgambetta.com/remakes.html)
- partycoder 9y agoNote that it was not rare for some old DOS games to have bits of assembly in them. This was usually done to overcome some performance bottleneck but with today's hardware you might not need that at all.
- khedoros1 9y agoYesteryear's C compilers weren't great, optimization-wise. But anything remotely modern would just brute force its way through a DOS-era program, well optimized or not.
- partycoder 9y agoAlso yesterday's instruction sets were a bit more limited.
- coderdude 9y agoWhat to do about all those hardware interrupts? Can't imagine how you'd port a dos game to say Windows. I guess you could replace them with calls to an external runtime dll that acts as a kind of vm layer.
- khedoros1 9y agoIt probably needs a profile for the MZ format. And probably for 16-bit x86. I'm considering trying it on some .com binaries, to see what it does (since it said it can handle raw binaries). I doubt it'll work immediately, because I doubt that their code handles memory segmentation properly, 16 bit pointers and data, etc.