This section describes the internal HTBasic routines available to a CSUB to control the Display and Keyboard. The following table lists the display and keyboard support routines.
Routine Name
Description
CSB_VER
Version number of Table
kbdcrt_check
Check required Version
kbdcrt_clear_screen
CLEAR SCREEN
kbdcrt_controlcrt
CONTROL CRT
kbdcrt_controlkbd
CONTROL KBD
kbdcrt_crtreadstr
Read Output Area
kbdcrt_crtscroll
Scroll Display
kbdcrt_cursor
Control Cursor
kbdcrt_dispstr
Write to Display
kbdcrt_printstr
Print to Output Area
kbdcrt_readkbd
Read the KBD$ buffer
kbdcrt_scrolldn
Scroll Output Area Down
kbdcrt_scrollup
Scroll Output Area Up
kbdcrt_statuscrt
STATUS CRT
kbdcrt_statuskbd
STATUS KBD
kbdcrt_systemd
SYSTEM$ Function
These routines are called using the C language calling conventions. Most routines return either an HTBasic error code or a value of zero for no error. A description of each of the routines and a C language calling example are presented on the following pages.