delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/28/14:30:48

From: richardson AT evansville DOT edu (Tony Richardson)
Newsgroups: comp.os.msdos.djgpp
Subject: Chaining Prot Mode Int From C
Date: 28 Feb 2003 11:19:20 -0800
Organization: http://groups.google.com/
Lines: 15
Message-ID: <2f64dfca.0302281119.61aacade@posting.google.com>
NNTP-Posting-Host: 192.195.225.6
X-Trace: posting.google.com 1046459961 338 127.0.0.1 (28 Feb 2003 19:19:21 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 28 Feb 2003 19:19:21 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I want to chain to a protected mode ISR from my own
ISR which is written in C, but I don't want to use
_go32_dpmi_chain_protected_mode_interrupt_vector()
(I want to run the default ISR every other time my
ISR runs.)

Is it possible to do this from C or do I need to do
it from assembly?  I know that I can get the selector
and offset of the original ISR using
_go32_dpmi_get_protected_mode_interrupt_vector(),
but I can't seem to find a go32 or dpmi function that
let's me call the routine.

Thanks,
Tony Richardson

- Raw text -


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