Baron-von-Riedesel / DOS-debug

Debug and DebugX (short: Debug/X) are extended versions of MS DEBUG
58 stars 12 forks source link

MKTABLES.C and DEBUGTBL.INC are out of sync with each other. #10

Closed RockBrentwood closed 2 years ago

RockBrentwood commented 2 years ago

MKTABLES.C doesn't produce DEBUGTBL.INC. One or both of the versions of these files distributed with the software is not correct.

Lines 1119 and 1121 generate lines in DEBUGTBL.INC starting in "---", instead of in ";---" - you're missing a semi-colon in the strings in the print statements. Line 1032 generates "SPARSE_BASE\tequ ..." at the end of the previously-generated line, because it's missing a newline. The string should be "\nSPARSE_BASE\tequ".

There are other discrepancies, but these prevent the program (MKTABLES.C) from even compiling or the generated program file (DEBUGTBL.INC) from compiling.

Baron-von-Riedesel commented 2 years ago

Indeed. It's been a long time that I run mktables.exe - I guess I regarded is as already obsolete, since it was planned to be removed.

Also, as I had to realize, using MS VC does create an executable that's not working as expected.