Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FORCE Data Base Compiler - ############################################################################## http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
##############################################################################
###+--------+#################################################################
#+-| 15.3.5 |------------------------------+##################################
#| +--------+ Input/Output Functions Table |##################################
#+-----------------------------------------+##################################
##############################################################################
##############################################################################
##########+----------------------------------------------------------+########
##########| Keyboard functions and procedures provide a high-level   |########
##########| interface between the low-level FORCE runtime driver     |########
##########| and your program.  The FORCE runtime library is designed |########
##########| to use the key_bios driver as its default source.  The   |########
##########| source of the low-level keys can be changed through the  |########
##########| key_dos and key_bios procedures.  Input through DOS      |########
##########| allows redirection of data into your program.            |########
##########| see the example for the key_dos procedure.               |########
##########+----------------------------------------------------------+########
##############################################################################
##############################################################################
####+--| Function/Procedure |--| Usage |-----------------------------------+##
####| delay ............. Waits N seconds for a key.                       |##
####| inkey ............. Returns key or 0 if no key is available.         |##
####| is_key ............ If key is entered in the keyboard buffer,        |##
####|                     returns the key while leaving it in the          |##
####|                     buffer.  If the buffer is empty, returns 0       |##
####| get_key ........... Waits until a key is pressed, then returns it.   |##
####| lastkey ........... Contains last key pressed or removed from        |##
####|                     keyboard buffer.  (Not affected by is_key()).    |##
####| keyboard .......... Stuffs keyboard buffer with character string.    |##
####| key_init .......... Stuffs the keyboard buffer with integer. (Ctrl,  |##
####|                     Alt, or numpad key sequences are allowed.)       |##
####| key_bios .......... Installs BIOS as low-level keyboard source.      |##
####| key_dos ........... Installs DOS as low-level keyboard source.       |##
####| no_burn_key ....... Saves screen while waiting for a key.            |##
####| restore_area ...... Restores the last screen saved.                  |##
####| restorescrn ....... Restores screen from variable.                   |##
####| sound ............. Sounds the speaker.                              |##
####| save_area ......... Saves an area of the screen.                     |##
####| save_screen ....... Saves the entire screen.                         |##
####| savescrn .......... Saves defined portion of screen to variable.     |##
####| scrn_bios ......... Initializes internal screen driver through BIOS. |##
####| scrn_direct ....... Initializes internal screen driver to directly   |##
####|                     write output to screen memroy.                   |##
####| scrn_dos .......... Initializes internal screen driver through DOS.  |##
####|                     Use this driver to enable Ctrl-C to stop your    |##
####|                     application.                                     |##
####+----------------------------------------------------------------------+##
##############################################################################

See Also: The Escape Hatch BBS System - 703-373-0575 - Dual/HST Powered!

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson