delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/25/18:28:39

Date: Sat, 25 Aug 2001 19:24:19 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Louis P. Santillan" <lsantil AT calstatela DOT edu>
Message-Id: <4331-Sat25Aug2001192419+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <Pine.GSO.4.21.0108241249520.7726-100000@neptune.calstatela.edu>
(lsantil AT calstatela DOT edu)
Subject: Re: TSR/ISR Interaction
References: <Pine DOT GSO DOT 4 DOT 21 DOT 0108241249520 DOT 7726-100000 AT neptune DOT calstatela DOT edu>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 24 Aug 2001 13:27:21 -0700 (PDT)
> From: "Louis P. Santillan" <lsantil AT calstatela DOT edu>
> 
> I meant, can you have the ISR
> receive a ptr to structure (say, thru FS:EBX)?  This structure will also
> contain ptrs (sel/off pairs) to data & methods (callbacks).  Can these
> callbacks actually be called?

If these callbacks are protected-mode procedures, compiled with DJGPP,
you can call these methods with inline assembly, using the lcall
instruction mnemonic.

If those are real-mode procedures, use the library function
__dpmi_simulate_real_mode_procedure_retf.

- Raw text -


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