Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site uscvax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtunh!mtung!mtunf!ariel!vax135!petsd!pesnta!hplabs!sdcrdcf!uscvax!nadji
From: nadji@uscvax.UUCP (Behzad Nadji)
Newsgroups: net.micro.pc,net.lang.pascal
Subject: Exit & Stay Resident In Pascal (Query)
Message-ID: <625@uscvax.UUCP>
Date: Wed, 3-Jul-85 20:16:52 EDT
Article-I.D.: uscvax.625
Posted: Wed Jul  3 20:16:52 1985
Date-Received: Sun, 7-Jul-85 05:49:26 EDT
Distribution: net
Organization: CS&CE Depts, U.S.C., Los Angeles, CA
Lines: 22
Xref: watmath net.micro.pc:4467 net.lang.pascal:323


I posted this last month and I received several mailers expressing interest
in the answers I got. Unfortunately I didn't get any. Since I've seen some
interest on this subject, I think I can get away with posting it once more:


1) Is it possible to force a software written in a high-level language (say
   Turbo Pascal) exit but stay resident using appropriate MsDos function
   calls as is normally done using assembly language?

2) Along the same lines, is it possible to make that software an extension 
   of COMMAND.COM. That is, can one write a utility in Turbo and attach it
   to COMMAND.COM?

   What is the procedure? Drawbacks besides the obvious waste of memory?  
   Any hints, pointers or small examples are appreciated.

                              ARPA:     nadji%usc-cse@csnet-relay.arpa
                              CSNET:    nadji@usc-cse.csnet
                              TEL:      (213) 743 - 8079
                              US MAIL:  B. Nadji, EE-SYS, SAL339, USC
                                        Los Angels, CA 90089-0781