delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/05/11/02:45:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 11 May 2012 16:39:17 +1000
From: Jason Hood <jadoxa AT yahoo DOT com DOT au>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: System()
References: <92c86f75-e970-4998-94c6-56d6fbf885fe AT e15g2000vba DOT googlegroups DOT com> <1c38ca22-52f5-470e-813f-1af6ed5f21d4 AT m16g2000yqc DOT googlegroups DOT com> <fea067ab-ee56-4b9e-bb73-ed3365fb9d59 AT ee2g2000vbb DOT googlegroups DOT com> <9e4eebca-6004-4c60-990a-a02d0c251ec7 AT h19g2000yqj DOT googlegroups DOT com> <b16ff03e-0f4a-4c05-93f8-e8ce37b34ef8 AT n4g2000vbz DOT googlegroups DOT com>
In-Reply-To: <b16ff03e-0f4a-4c05-93f8-e8ce37b34ef8@n4g2000vbz.googlegroups.com>
NNTP-Posting-Host: $$5olfol$nnnxl5.news.x-privat.org
Message-ID: <4facb41e@news.x-privat.org>
Organization: X-Privat.Org NNTP Server - http://www.x-privat.org
Lines: 16
X-Authenticated-User: $$np02fmijtvj-bfao$k3
X-Complaints-To: abuse AT x-privat DOT org
Bytes: 2002
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 9/05/2012 16:23, Georg wrote:
> As Rugxulo suggests in this case I probably better make an assembler
> TSR which loads the filemanager and runs the selected program after
> the filemanager has terminated. When that has terminated the
> filemanager is loaded again. I just would like to save this load/
> unload since the filemanager will probably be about 1.5 MB after UPX.

No need for a TSR, use batch files.  Start your manager via a batch
file.  The manager creates another batch file to run the selected
program, then exits.  The initial batch file detects the created
batch file exists, and runs it, then restarts the manager; if the
batch file doesn't exist, the manager itself has exited.  That leaves
*all* your memory available, with no compatibility issues.

-- 
Jason.

- Raw text -


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