delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/08/02:40:21

Date: Thu, 8 Aug 1996 09:35:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Alaric B. Williams" <alaric AT abwillms DOT demon DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Chaining interrupts
In-Reply-To: <838919422.1663.0@abwillms.demon.co.uk>
Message-Id: <Pine.SUN.3.91.960808092956.19168K-100000@is>
Mime-Version: 1.0

On Thu, 1 Aug 1996, Alaric B. Williams wrote:

> To chain to a protected mode interrupt vector (without using
> _go32_dpmi_chain_protect_mode_*), ie when I want to in my handler - 
> what do I do?

What's wrong with just `jmp'-ing to it (with an inline assembly, if you 
need to do it in C)?

Or, you might chain to the real-mode handler (with any of the 
__dpmi_simulate_real_mode_procedure_XXX calls), but that will cause 
double mode-switch.

- Raw text -


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