Mail Archives: djgpp/1999/02/17/05:11:45
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
- Raw text -