From 66512e643e8cf77601008c6951e35d969a457072 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Thu, 14 Nov 2002 17:31:55 +0000 Subject: [PATCH] Added automatic cpu log call, if an "INT CD" occurs. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@500 --- src/cpu/cpu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp index 51090e1c..62704f92 100644 --- a/src/cpu/cpu.cpp +++ b/src/cpu/cpu.cpp @@ -80,6 +80,10 @@ void Interrupt(Bit8u num) { case 0x74: break; case 0xcd: +#if C_HEAVY_DEBUG + LOG_DEBUG("Call to interrupt 0xCD this is BAD"); + DEBUG_HeavyWriteLogInstruction(); +#endif E_Exit("Call to interrupt 0xCD this is BAD"); case 0x03: #if C_DEBUG