From: Airhead Zoom X-Priority: Normal Content-Type: text/plain To: djgpp AT delorie DOT com Subject: Interrupt problems X-Mailer: Pronto Pro [ver 1.00 (0225)Trio] Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: <0b9844705101129NET015S@hetnet.nl> Date: 17 Feb 1999 11:05:47 +0100 Reply-To: djgpp AT delorie DOT com Hello, I'm a newbie when it comes to DPMI programming. I've programmed in realmode (Turbo C) before. Currently I'm programming the so-called PIT (Programmable Interval Timer) and this requires a certain interrupt vector to be set. I know there's a function called __dpmi_set_protected_mode_interrupt_vector, located in DPMI.H. This function accepts a vector and a __dpmi_paddr. (structure with offset32 and selector) How can I request the offset32 and selector of a function? And how can I call the old function that was in the vector before I overwrote it? I also know that I can request the __dpmi_paddr of THIS function, with __dpmi_get_protected_mode_interrupt_vector. (I can't use the _go32_chain_protected_mode_interrupt_vector because I don't want to call the old function EVERY time the interrupt is called) I'd appreciate a few replies, because I've posted a message before and got NO REPLIES @ ALL! Greetz, Airhead Zoom of Dancing Pumpkin Productions