1
0
Fork 0

Changes for new debugger functionalities:

starting/stepping into INTs. processor status log, step over rep instr., debug.com,
heavy debugging switch


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@411
This commit is contained in:
Ulf Wohlers 2002-10-25 15:15:42 +00:00
parent 174ed12a92
commit ac29b40919
7 changed files with 487 additions and 198 deletions

View file

@ -22,6 +22,7 @@
#include "dos_inc.h"
#include "cpu.h"
#include "callback.h"
#include "debug.h"
#pragma pack(1)
struct EXE_Header {
@ -327,6 +328,10 @@ bool DOS_Execute(char * name,PhysPt block_pt,Bit8u flags) {
reg_ax=0;
reg_cx=reg_dx=reg_bx=reg_si=reg_di=reg_bp=0;
SegSet16(ds,pspseg);SegSet16(es,pspseg);
#if C_DEBUG
/* Started from debug.com, then set breakpoint at start */
DEBUG_CheckExecuteBreakpoint(RealSeg(csip),RealOff(csip));
#endif
return true;
}
return false;