Erffff....
Okay, I've spent the better part of the last 3 to 5 days ripping apart all of the code in the simulator. I've also translated probably about 80 to 90% of all the comments from Polish into English at this point.
This code has definitely seen some millage; I saw some copyright marks going as far back as 1995. Looks like there are tones of different licenses through out the code too; not sure how that gets sorted out.
Anyhow, the code itself is very heavily intertwined with MFC. Even the core of the simulator uses some MFC classes, and has some hard references back to the UI (specifically for the IO window and memory views)
I've gone through and gutted a good chunk of the MFC classes and did a tentative start at translating them to wxWidgets. The various string classes I've replaced with the STL std::string where I could. No idea yet if this will still run as intended (I'm still getting it back to building), but it is getting there. I'd say about 90% of the files now build on Linux at least to some form of semi-functioning.
Now, the fun bit:
The simulator is using some inline assembly. While I don't really have an issue with inline ASM, the problem is that it's very compiler specific. In this case MSVC, and can't be ported as-is to something like the newer Arm based Macs, or to Linux/Un*x that tend to use GCC/Clang, so I'll have to rework that into C code.
So I'm currently staring down at this code which is probably 60-70% gutted and looking like it might need some additional changes in the deepest parts of it and I'm wondering if it makes sense to continue down this path, or not.
Curious to hear what other people might have to suggest.
Edit:
Also, the branch that I'm working out of can be found here:
https://github.com/Kelmar/kowalski/tree/wx_portNo, it won't successfully build for you.
Yes, I have basically taken an axe to the source code. ^^;