Date: Sat, 8 Nov 1997 12:33:06 -0800 (PST) Message-Id: <199711082033.MAA01413@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: David Shirley , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Interrupt Vectors (Installing) Precedence: bulk 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