Further to my post here https://www.vogons.org/viewtopic.php?p=860536#p860536
, this patch will run a user-specified text file upon launching the DosBox Debugger. This is useful for setting automatic breakpoints.
Notes:
1. When applying this patch to trunk, #define MAXCMDLEN 254 is already defined in the latest debug.cpp, so you can leave that out of the patch.
2. The patch also includes changes so that BPINT 3 will break on an INT3 (0xCC) instruction as well as INT 3 (0xCD 0x03).
Cleaned up path. (MAXCMDLEN defined check)
The patch has some interesting ideas, but I am thinking of doing things a bit wider, as it is a bit limited in its current form
I saw that you removed two toupper conversions. Where those wrong or superflous ?
I am using MinGW with PDCurses 3.4 (specified here) on Windows 10 and the debugger window wasn't accepting input from extended keys. I had read about the fix in this thread. Perhaps it is a MinGW or PDCurses 3.4 specific issue.
Last edit: siddhartha 2021-02-03
I've updated the patch to add support for inline comments using a semicolon (;).
Last edit: siddhartha 2021-05-10