Mail Archives: djgpp/1997/11/08/15:34:26
At 05:28 11/6/1997 +0800, David Shirley wrote:
>Hello,
> I am interested in setting up a software interrupt at say 0x61, i
>have read some documentation and i think i am meant to use
>_dpmi_set_protected_mode_interupt_vector(_vector,p_addr)
>Im not quite sure how this actually works, ie which piece of code is
>called when another program calls interupt 0x61? Could someone please
>explain this to me.
I think you will want to hook the real-mode interrupt instead. I believe you
call _go32_dpmi_allocate_real_mode_callback_iret(), and pass what you get to
__dpmi_set_real_mode_interrupt_vector() (it may need some rearranging
first). See FAQ section 18.8 for more.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -