int ctrlc, ctrls, ctrlq Flags set if Ctrl-C, Ctrl-S or
Ctrl-Q pressed
Useful for terminal programs
CURSOR.OBJ
Text cursor hide/show routines
------------------------------
void hidecur(void);
void showcur(void);
DIRWR.OBJ
Writes a character or string directly to video memory
-----------------------------------------------------
void dirwr(int char, int col, int row, int attr);
void dirstr(int col, int row, char *string);
EDGETS.OBJ
Improved gets()-routine with editing
------------------------------------
int edgets(char *s, int maxlen, int mk_upper);
ENDIAN.OBJ
Writes/Reads 16/32 bit values using little endian ordering
----------------------------------------------------------
int read16bit(FILE *f);
long read32bit(FILE *f);
void write16bit(FILE *f, int data);
void write32bit(FILE *f, unsigned long data);
GETOPT.OBJ
UNIX-style command line option parser
-------------------------------------
int getopt(int argc, char **argv, char *optionS);
extern char *optarg;
extern int opterr;
extern int optind;
GET_PAR.OBJ
get_par Generic routine for input of a parameter value with
limit/error checking.
Doesn't return until value is valid, or an empty string
is entered.
int get_par(int x, int y, char *prompt, char *errtxt, int *val,
int low_limit, int high_limit, int nr_digits,
int show_curr_val, int disp_add);
HEXORINT.OBJ
hexorint Detects if a string denotes a hex or decimal number by
detecting a leading "0X" or trailing "H".
-----------------------------------------------------------------------
long hexorint(char *s);
MKBRK.OBJ
Make/Break routines, installs in INT09
--------------------------------------