From: "Daniel Marjamäki" Newsgroups: comp.os.msdos.djgpp Subject: Re: How to create an interrupt service routine Date: Wed, 1 Mar 2000 11:09:34 +0100 Organization: Chalmers University of Technology Lines: 23 Message-ID: <38bced19.0@pluto.his.se> References: NNTP-Posting-Host: pluto.his.se X-Trace: nyheter.chalmers.se 951905708 27767 193.10.178.51 (1 Mar 2000 10:15:08 GMT) X-Complaints-To: abuse AT chalmers DOT se NNTP-Posting-Date: 1 Mar 2000 10:15:08 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello! I'd like to know how to create an ISR in djgpp too. "Eli Zaretskii" wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1000220162303 DOT 27133C-100000 AT is... > > 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).