Menu

#289 Run an AutoExec text file when DosBox Debugger starts

Unstable_(example)
open
nobody
None
1
2021-04-16
2020-06-13
siddhartha
No

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).

1 Attachments

Discussion

  • siddhartha

    siddhartha - 2020-12-15

    Cleaned up path. (MAXCMDLEN defined check)

     
  • Qbix

    Qbix - 2021-01-11

    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 ?

     
  • siddhartha

    siddhartha - 2021-01-14

    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
  • siddhartha

    siddhartha - 2021-04-16

    I've updated the patch to add support for inline comments using a semicolon (;).

     

    Last edit: siddhartha 2021-05-10

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.