changes for debugger
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@195
This commit is contained in:
parent
bd9a864d53
commit
57bd6890f5
5 changed files with 19 additions and 3 deletions
|
@ -887,10 +887,17 @@ restart:
|
|||
break;
|
||||
case 0xcc: /* INT3 */
|
||||
INTERRUPT(3);
|
||||
#if C_DEBUG
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
case 0xcd: /* INT Ib */
|
||||
{
|
||||
Bit8u num=Fetchb();
|
||||
#if C_DEBUG
|
||||
SAVEIP;
|
||||
if (DEBUG_IntBreakpoint(num)) return 0;
|
||||
#endif
|
||||
INTERRUPT(num);
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
#include "pic.h"
|
||||
#include "fpu.h"
|
||||
|
||||
#if C_DEBUG
|
||||
#include "debug.h"
|
||||
#endif
|
||||
|
||||
typedef PhysPt EAPoint;
|
||||
#define SegBase(c) SegPhys(c)
|
||||
#define LoadMb(off) mem_readb(off)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue