Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site gitpyr.UUCP
Path: utzoo!linus!gatech!gitpyr!djl
From: djl@gitpyr.UUCP (Dave Lane)
Newsgroups: net.micro.cpm
Subject: Re: how to execute programs from within cpm programs
Message-ID: <661@gitpyr.UUCP>
Date: Sat, 17-Aug-85 16:53:15 EDT
Article-I.D.: gitpyr.661
Posted: Sat Aug 17 16:53:15 1985
Date-Received: Mon, 19-Aug-85 21:16:57 EDT
References: <946@sdcsla.UUCP> <124@wlcrjs.UUCP> <38@intelca.UUCP>
Reply-To: djl@gitpyr.UUCP (Dave Lane)
Distribution: net
Organization: Mutant Central
Lines: 25

Bug? What bu....GULP!

Well,  I don't really know how you would go about it under CP/M 2.x, but 
under CP/M + (aka, CP/M 3.x), there is a new BDOS call (actually, there 
are now MANY new BDOS calls....), number 47(decimal), which is "Chain to
Program."  To use it, place a complete command line (null terminated) in
the default DMA buffer at 0080H, and execute this call.  If the E reg. is
set to 0FFH, then the CCP will change the default drive and user to the
current values; if E is anything else, they will remain the default DMA
values.

There are many new features in CP/M + seem nice, such as this, and there is
a "Load Overlay" call, date and time support, file passwording (in the
banked version), YES, CP/M+ does support banked memory.  Neat stuff.
I started using CP/M 2.2, but I never really got into writing assembly for
it until I got this CP/M+ system.  I think they have done some nice things
here for the asm programmer.  (well, that's my two bits.....)


-- 
Dave Lane, User Assistant, Office of Computing Services,
Georgia Institute of Technology, Atlanta, Georgia  30332

...!{akgua,allegra,amd,hplabs,ihnp4,masscomp}!gatech!gitpyr!djl
...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally,ut-ngp}!gatech!gitpyr!djl