Date: Sun, 2 Nov 1997 14:57:33 +0200 (IST) From: Eli Zaretskii To: "Gurunandan R. Bhat" cc: djgpp AT delorie DOT com Subject: Re: Tracing the path of Software Interrupts In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 31 Oct 1997, Gurunandan R. Bhat wrote: > When I do this for the software interrupt (0x1c) I get a result > that to my **limited** understanding, is strange. It is always the real > mode interrupt that is called. My buffer is strewn with 'r's. This is the > same no matter which of the three DPMI hosts I use: cwsdpmi, cwsdpr0 or > pmode/dj. In what order did you install the handlers? Was the RM one installed before or after the PM one? Also, you need to make sure your system switches to real-mode with sufficient frequency, to see both handlers called. > But when I run the same program in Windows 3.11, I get an > alternating string of 'p' and 'r' like: prprpr...., *even* when I do not > chain out of the protected mode handler. That might be something special about Windows. I'm not sure. > The DPMI specs say that int 0x1c is special in that, it is > always handled by the protected mode handler *even* when a real mode > handler is installed. That is correct, AFAIK. Int 1Ch is handled like a hardware interrupt in this sense.