Date: Wed, 20 Jun 2001 18:08:50 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Yury I.Greatsaew" Message-Id: <3942-Wed20Jun2001180850+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: <993031558.758772@basic.maxnet.ru> (yury@radico.obninsk.ru) Subject: Re: HELP: How to install interupt handler create TSR program! References: <993031558 DOT 758772 AT basic DOT maxnet DOT ru> 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 > From: "Yury I.Greatsaew" > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 20 Jun 2001 14:05:17 +0400 > > I am in willing to rewrite some stuff in DJGPP but need to know how to stay > program resident and link > interrupt handler from these TSR in order to comunicate with old Turbo > PascaL stuff. You can start with the sample code in v2tk/djgpptsr.zip, available from the usual DJGPP sites, it shows how to do that. Note that protected-mode TSRs need functions that are only available with DPMI 1.0 servers. CWSDPMI does support those functions, but the DPMI server built into Windows does not. So if you want your TSRs to work on anything but plain DOS, you are probably out of luck. As for interrupt handling, I think section 18.9 of the DJGPP FAQ list should give you enough info and pointers to begin coding.