Date: Sat, 25 Aug 2001 19:24:19 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Louis P. Santillan" 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: (lsantil AT calstatela DOT edu) Subject: Re: TSR/ISR Interaction References: 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 Precedence: bulk > Date: Fri, 24 Aug 2001 13:27:21 -0700 (PDT) > From: "Louis P. Santillan" > > 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.