Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!super.upenn.edu!dsl.cis.upenn.edu!catone From: catone@dsl.cis.upenn.edu.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Secondary command processor w/Turbo Message-ID: <1154@super.upenn.edu.upenn.edu> Date: Wed, 6-May-87 15:57:26 EDT Article-I.D.: super.1154 Posted: Wed May 6 15:57:26 1987 Date-Received: Fri, 8-May-87 01:32:26 EDT References: <3509@gitpyr.gatech.EDU> <27@b.gp.cs.cmu.edu> Sender: root@super.upenn.edu.upenn.edu Reply-To: catone@dsl.cis.upenn.edu.UUCP (Tony Catone) Distribution: na Organization: University of Pennsylvania Lines: 16 Keywords: exec, command In article <27@b.gp.cs.cmu.edu> ralf@b.gp.cs.cmu.edu (Ralf Brown) writes: > ..... >memory beyond the maximum heap size back to DOS. Then simply run COMMAND >by executing an INT 21h function call 4Bh (though you should check first >to make sure there is enough RAM for COMMAND and whatever you want to do >from within COMMAND. Strictly speaking, this is not necessary, since service request 4B hex will signal you that there was not enough memory for your program by setting the carry flag and returning an error code in ax. All you really need is a function to translate this code into an appropriate error message and inform the user. - Tony catone@dsl.cis.upenn.edu catone@wharton.upenn.edu