Changes for debugger
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@526
This commit is contained in:
parent
b677b59c7f
commit
813c012c4f
1 changed files with 8 additions and 5 deletions
|
@ -70,7 +70,7 @@ static Bitu CPU_Real_16_Slow_Decode(void) {
|
|||
#endif
|
||||
#if C_HEAVY_DEBUG
|
||||
SAVEIP;
|
||||
if (DEBUG_HeavyIsBreakpoint()) return CBRET_NONE;
|
||||
if (DEBUG_HeavyIsBreakpoint()) return 1;
|
||||
#endif
|
||||
#include "core_16/main.h"
|
||||
// if (prefix.count) LOG_DEBUG("Prefix for non prefixed instruction");
|
||||
|
@ -82,16 +82,19 @@ static Bitu CPU_Real_16_Slow_Decode(void) {
|
|||
|
||||
static Bitu CPU_Real_16_Slow_Decode_Trap(void) {
|
||||
|
||||
Bits oldCycles = CPU_Cycles;
|
||||
CPU_Cycles = 1;
|
||||
CPU_Real_16_Slow_Decode();
|
||||
|
||||
LOG_DEBUG("TRAP: Trap Flag executed");
|
||||
|
||||
// LOG_DEBUG("TRAP: Trap Flag executed");
|
||||
INTERRUPT(1);
|
||||
cpudecoder=&CPU_Real_16_Slow_Decode;
|
||||
|
||||
CPU_Cycles = oldCycles-1;
|
||||
cpudecoder = &CPU_Real_16_Slow_Decode;
|
||||
|
||||
return CBRET_NONE;
|
||||
}
|
||||
|
||||
|
||||
void CPU_Real_16_Slow_Start(void) {
|
||||
cpudecoder=&CPU_Real_16_Slow_Decode;
|
||||
EAPrefixTable[0]=&GetEA_16_n;
|
||||
|
|
Loading…
Add table
Reference in a new issue