delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/20/13:03:34

Date: Sun, 20 Feb 2000 16:25:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Thorsten Erdmann <thorsten DOT erdmann AT gmx DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: How to create an interrupt service routine
In-Reply-To: <88oenb$9cd$1@ac1.ewetel.de>
Message-ID: <Pine.SUN.3.91.1000220162303.27133C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 20 Feb 2000, Thorsten Erdmann wrote:

> does anyone have a little code sample which shows how to create an ISR which
> is able to communicate with the main program via a global variable. I need
> an ISR for the printer port (IRQ7), which reads data from a global buffer
> and writes them to the printer port.

Do you need to write a TSR with DJGPP?  That's not easy at all, since it 
requires DPMI 1.0 features.  You can only do that with CWSDPMI (and 
perhaps 386Max).  An example of how to do it is available; let me know if 
you want the URL (I don't have it handy).

- Raw text -


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