I am looking for a routine that will get a single character inputted from a
user (without the need for pressing RETURN that Read() calls for). My
program is using an already existing CLI for input/output. This routine
also should be able to check if the user pressed Ctrl-C.
Thanks for any help with this…
Allen
Allen… I believe that Amiga.lib has a "C" type routine/function that you
are looking for. Its called GetChar(). It uses StdIn (like the CLI window
when first booted up). I'm not sure about the specific values that get
passed to GetChar(), or if it returns with D0 containing the character or
if its passed on the stack. If you don't have Amiga.lib, you can order it
through CATS. The information needed to order the goodies from CBM is
found somewhere in this forum. Goodluck
David