www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/07/10:50:51

Xref: news2.mv.net comp.os.msdos.djgpp:6741
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Hellpppp.....Keyboard Int.
Date: Fri, 02 Aug 1996 11:11:00 CDT
Organization: Rice University, Houston, Texas
Lines: 8
Message-ID: <32022894.sandmann@clio.rice.edu>
References: <4ts8is$9h2 AT news DOT nevada DOT edu>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: clio.rice.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> When I set the Keyboard interrupt, there is no change in the 9th discripter. 
> Where does CWSDPMI store the vectors for Protected mode interrputs?

Internally in it's own table.  The interrupt routine must handle a change
of stacks, just in case your current SS:ESP isn't valid/locked.  The ring 0
version cheats and doesn't do this, just putting your IRQ routine directly
in the IDT (why not, if you mess up in ring 0 you are toast anyway).
Look at the CWSPDMI source for more information.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019