delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/22/00:03:03

From: "Steve Patton" <leaphe AT pemail DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP TSR'S DLL'S
Date: 22 Dec 1997 04:34:49 GMT
Organization: AT&T WorldNet Services
Lines: 28
Message-ID: <67kql9$ric@bgtnsc03.worldnet.att.net>
References: <01bd06b6$94dbf6e0$63206ccb AT ashod>
NNTP-Posting-Host: 12.67.33.136
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I do believe DJGPP supports TSRs, by it has the command
_dpmi_terminate_and_stay_resident.  Two DJGPP programs can talk to each
other by using files, like you have a file posing as a "flag" go on, and
then while that flag's up, you write a command to another file, then delete
the "flag", the other program is continuously checking to see if that
"flag" exists, and if it does, do nothing, but once it doesn't exist, open
the file containing commands, and read it.

However if you are going to have Interrupt Services, such as DJGPP go TSR
with Interrupt (lets say 0x4F or something), the other DJGPP could call
that interrupt, but only if it was in the same Window.  Like if you opened
up a DOS window, had the TSR start, opened up another DOS window, that TSR
wouldn't exist in that instance, however, if you have the TSR start up
before Win95 even gets loaded, then it will be fine.


Ashod <ashod AT ozemail DOT com DOT au> wrote in article
<01bd06b6$94dbf6e0$63206ccb AT ashod>...
> 
> does djgpp support protected mode tsr and/or dlls, also if i run a djgpp
> in windows and then start another  djgpp in another window ( i.e  not
> one app spawning another), can the two talk. More one is a tsr
> with some api commands and thew other uses these commands..
> 
> Thanks in advance
> ashod
> 
> 

- Raw text -


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