www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/19/04:20:25

Date: Mon, 19 Oct 1998 10:20:10 +0200 (MET DST)
From: Olivier Perron <perron AT art DOT alcatel DOT fr>
X-Sender: perron AT rtbsci146s
To: djgpp AT delorie DOT com
Subject: Questions about protected mode interrupt handler
Message-Id: <Pine.GSO.4.05.9810191002080.5562-100000@rtbsci146s>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

I have two questions about interrupt handler.

First: it seems I can't hook the serial port interrupt when I run under
Windows95 (but it works well under plain DOS). Could someone explain me
why ?

Second: rather than using _go32_dpmi_chain_protected_mode_interrupt_vector 
or _go32_dpmi_allocate_iret_wrapper, can I compile my interrupt handler
(wich is written in C) to an assembler file (with gcc -S) then edit the
relevant .s file and replace the final `ret' with a `iret' and just
register my interrupt handler with
_go32_dpmi_set_protected_mode_interrupt_vector ?

TIA,
Olivier.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019