Mail Archives: djgpp/1998/06/01/21:00:54
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 -