CompuServe Thread

Single char input/asm

2 messages in this thread
#15799From: Allen MittsOct 27, 1991 10:27 AM
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
#16131From: David OldisNov 7, 1991 6:01 PM
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