delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/01/21:00:54

Mime-Version: 1.0
To: blp01 AT uow DOT edu DOT au, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: Writing TSRs
Date: Mon, 1 Jun 1998 17:56:34 -0700
Message-ID: <19980602005455.AAH11858@ppp124.cartsys.com>

At 09:22  5/31/1998 GMT, Brett Porter wrote:
>On 31 May 1998 03:58:35 GMT, malcolmj7 AT aol DOT com (MalcolmJ7) wrote:
>
>>Is there a way to write TSRs in DJGPP?
>>I used to use _dos_keep, but it's not in DJGPP.
>>
>>How do I write them in DJGPP?
>>
>
>Like this:
>
>char *path = getenv( "COMSPEC" );
>execl( path, path, NULL );
>
>This causes a DOS shell, with your program still loaded. There isn't
>any other way, the normal DOS keep function is not supported.

There are other ways; it is in fact possible to write a true TSR with DJGPP.
An example may be found in v2tk/.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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