🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #7478

Re: Help Wanted (Please!)

#7478
From: Hants White
Date: Thu, 31 Jul 1986 20:12
34 lines
1898 bytes
In article <239@curly.ucla-cs.ARPA> stiber@zeus.UUCP (Michael D Stiber) writes:
>
>I have two questions that I hope someone can/will answer:
>
>1) I have increased the environment size using the CONFIG.SYS command
>   SHELL=C:\COMMAND.COM /e:32
>   Now, AUTOEXEC.BAT doesn't run automatically.  Is there a way to fix
>   this?
>
>2) I would like to convert an assembly language .COM program that
>   terminates and stays resident (using INT 27H) into a C (.EXE)
>   program.  This would require use of function call 31H (Terminate
>   Process and Remain Resident).  How can my program determine the
>   number of paragraphs of memory that it requires.
>
>I'd really appreciate any help that anyone can give me.  Thanks!
>


I can only help you with the first question. The line in your CONFIG.SYS
file needs to be

      SHELL=d:\COMMAND.COM /P /E:62

The '/P' parameter tells COMMAND.COM to stay resident... as you have it
now, if you type exit at the command line, the computer will lock up
because it will not have a command interpreter.

For fun, you might also try the '/D' parameter.  It tells command.com not
to execute AUTOEXEC.BAT when it boots.  (Try it as a joke on someone
else's machine...the, most likely, will not be able to figure out why 
their autoexec file is not autoexec'ing.)

Hants
Technical Details
Message-ID: <352@hp-sdd.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!nike!ucbcad!ucbvax!sdcsvax!ncr-sd!hp-sdd!hants
References: <239@curly.ucla-cs.ARPA>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!nike!ucbcad!ucbvax!sdcsvax!ncr-sd!hp-sdd!hants
From: hants@hp-sdd.UUCP (Hants White)
Newsgroups: net.micro.pc
Subject: Re: Help Wanted (Please!)
Message-ID: <352@hp-sdd.UUCP>
Date: Thu, 31-Jul-86 16:12:20 EDT
Article-I.D.: hp-sdd.352
Posted: Thu Jul 31 16:12:20 1986
Date-Received: Sat, 2-Aug-86 07:24:53 EDT
References: <239@curly.ucla-cs.ARPA>
Reply-To: hants@hp-sdd.UUCP (Hants White)
Distribution: net
Organization: Hewlett Packard, San Diego
Lines: 34