Mail Archives: djgpp/1997/01/28/13:40:48
Eli Zaretskii wrote:
>
>On Mon, 27 Jan 1997, John Eccleston wrote:
>
>> At the risk of overstaying my welcome could someone please explain why
>> whenever I chain interrupts using:
>>
>> _go32_dpmi_chain_protected_mode_interrupt_vector
>>
>> my program crashes, but when just replacing the existing handler with a
>> handler wrapped using:
>>
>> _go32_dpmi_allocate_iret_wrapper
>>
>> everything works fine.
>
>Please post both the code which works and the one which doesn't. It
>isn't entirely clear what exactly do you replace with what.
Sorry Eli, and everyone else,
I have found what the problem was. It was due to me de allocating an
IRET wrapper when unhooking the interrupt that had been chained.
Sorry for any confusion or inconvienience caused
Yours shamefacedly and apologetically
John
________________________________________________________________
Parallax Solutions Ltd. Tel.: 01203 514522
Stonecourt, Fax.: 01203 514401
Siskin Drive, Web : http://www.parallax.co.uk/~johne
Coventry CV3 4FJ Mail: johne AT parallax DOT co DOT uk
________________________________________________________________
Good manners cost nothing, bad manners can cost you everything
________________________________________________________________
- Raw text -