Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!TReed.ES@XEROX.ARPA
From: TReed.ES@XEROX.ARPA
Newsgroups: net.micro.cpm
Subject: DBase II Questions, CALL Command
Message-ID: <850@brl-tgr.ARPA>
Date: Wed, 21-Aug-85 13:14:37 EDT
Article-I.D.: brl-tgr.850
Posted: Wed Aug 21 13:14:37 1985
Date-Received: Sun, 25-Aug-85 00:02:11 EDT
Sender: news@brl-tgr.ARPA
Lines: 35
Quoteing verbatum from the DBase manual I have,
"SET CALL TO
Sets the decimal address that will be called by dBASE CALL command.
CALL []
Performs a machine language call to the address set by a SET CALL TO or
the default address if no SET CALL has been done. There are about 254
bytes of stack available, the HL register pair points to the first byte
if the was a character string. It is most important that no
attempts be made to lengthen or shorten a character string. Control can
be passed back to dBASE with a RET instruction."
The above is the sum total about the CALL instruction, that I have in my
manual.
I have used the combination SET CALL TO and then CALL (with no
) with a RET in the machine language code, and that functions as
expected, however, my questions are:
1. What is the DEFAULT address, to which the documentation alludes?
2. "There are about 254 bytes of stack available", where? Starting at
the default address?
3. What is the function of ? Is it to pass a parameter to the
machine language routine? Give an example.
4. "the HL register pair points to the first byte if the was a
character string" the first byte of what, the address?
Any answers would be apperciated.
Thanks
--Terry