[Coco] C and BASIC09 (Auto-discard notification)
Robert Gault
robert.gault at worldnet.att.net
Mon May 17 09:18:02 EDT 2004
James Jones wrote:
><snip>
> Hmmm. Hasn't someone already written the moral equivalent of INKEY$ that
> one can run as if it were a BASIC09 procedure? If not, you can roll your
> own. The BASIC09 docs describe the parameter passing conventions, and
> you'll want to do the I$GetStat that asks whether there's pending data
> on an SCF path. If there isn't, then you want to return some value to
> indicate that; if there is, then of course you I$Read a byte and return
> that.
>
> James Jones
>
It would be easy if the original request had been use asm or C within
Basic09 but it was for the opposite; use Basic09 within C. To complicate
things further, the requester wants to trap two/three key presses and
control keys.
More information about the Coco
mailing list