Bad idea: build a captcha library that embeds DOSBox so it can make you beat levels/puzzles from DOS games to continue.
-
@foone you also wouldn't have posted about fading the palette to blackness being the same function as fading the palette to blackness (I assume one of those was supposed to be whiteness and/or a from?)
-
@nazgul I know it existed before, I just don't think DOS compilers of the time did it this much.
-
@oblomov FACK
yeah
-
-
@[email protected] @[email protected] "In America, we have enough prosperity and room for code sprawl".
-
@[email protected] @[email protected] like the opposite of a Potemkin Village
we showcase our decadent use of file space. look how many kilobytes we can afford, you fucking commies -
@foone this is why i love binja and can't stand hexrays
who tf *wants* this kind of c output
(apparently if you work with it for years the typecasts get filtered in your mind. i do not wish to learn this)
-
found the INT31!
we've got OVERLAYS FOR SURE!
-
wasn't there some kind of tool that could flatten out an overlay'd file, at least enough for ghidra to load it?
-
Support for Borland FBOV / VROOMM overlays for DOS MZ EXE · Issue #5543 · NationalSecurityAgency/ghidra
It would be nice to get support for the "FBOV" overlay extension for MZ EXEs. Also known as "VROOMM" (Virtual Run-time Object-Oriented Memory Manager), this was a feature provided by the Borland C/C++ toolchain from v2.0. It allowed for ...
GitHub (github.com)
oh this is more complicated than I can figure out at 2:42am
-
@whitequark @foone fwiw, as someone who once loved hex-rays, (a) this is ghidra output and I'm fairly confident it's spewing more casts than hex-rays would on this code, and (b) my primary interaction is iteratively adding and refining type information that removes the typecasts – they don't get filtered in my mind, they're more of a to-do list.
-
@foone in the middle od the night your thread here was my entire feed.
Wilde! -
@MedeaVanamonde that "foone" punk posts a LOT
-
@dougall @whitequark yeah this is early decompilation. I haven't told it of types yet, so it's rougher than it'll be once I clean it up
-
I like that this program using overlays is only 209kb.
"oh no, we can't fit all 209 kilobytes of our program into RAM! better use our compiler's overlay system"
TWO HUNDRED KILOBYTES
-
oh hey, there is a 32bit windows version of this game? that might be way easier to reverse engineer
-
you know, because of pointers that actually point
-
I can't play it because MIDI doesn't work on Windows 10
-
sticking a zero byte file at C:\Windows\SysWOW64\midimap.cfg fixed that. It runs. I kinda hate it, but that's to be expected.
-
if there's a game you grew up with and love on platform X, never play a cheap 90s port of that game to platform Y. it never ends well