Date : Sat, 17 Aug 1985 20:53:15 GMT
From : Dave Lane <djl%gitpyr.uucp@BRL.ARPA>
Subject: Re: how to execute programs from within cpm programs
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