-#define WAITKEY() {cio_kb_clr(); while (cio_kb_read() == 0);}
-
-/* biosf.c */
-void b_setcpos(int col, int row, int page);
-void crt_wrt_cca(int c, int attr, int count, int page);
-void crt_wrt_ca(int c, int attr, int page);
-void crt_wrt_stra(const char *str, int count, int attr, int row, int col, int page);
-/* c_restor.c */
-void crt_restore(const char *fname);
-/* c_save.c */
-int crt_save(const char *fname);
-/* center.c */
-int crt_center_line(const char *str);
-/* clreol.c */
-void crt_clreol(void);
-/* clrline.c */
-void crt_clrline(unsigned int line);
-/* clrscrn.c */
-void crt_clrscrn(void);
-/* cpos.c */
-void crt_tab(unsigned int n);
-void crt_save_cpos(void);
-void crt_restore_cpos(void);
-/* cprintf.c */
-void cio_printf(const char *cs, ...);
-void cio_aprintf(const int attr, const char *cs, ...);
-/* cputs.c */
-void cputs(const char *s);
-/* crt_data.c */
-/* ctype.c */
-void crt_set_ctype(int start, int end);
-void crt_cursor_off(void);
-void crt_cursor_on(void);
-/* dispcard.c */
-int crt_disp_card(void);
-/* fill_eol.c */
-void crt_fill_eol(int c, int attr);
-/* frame.c */
-int crt_frame(int ulcol, int ulrow, int lrcol, int lrrow, int attr, int nlines);
-/* get_ca.c */
-void crt_get_ca(int *c, int *attr);
-/* getmon.c */
-int crt_get_mon(void);
-void crt_set_mon(int mon);
-/* getstate.c */
-void crt_get_state(void);
-/* mode.c */
-void crt_set_mode(int mode, int cls);
-int crt_get_mode(void);
-int crt_bios_code(int mode);
-/* put_ca.c */
-void crt_set_text_clr(int fclr, int bclr);
-int crt_get_texta(void);
-void crt_set_texta(int a);
-int crt_blank_attr(void);
-void crt_put_ca(int c, int attr);
-void crt_put_c(int c);
-void crt_put_cc(int c, int count);
-void crt_put_cca(int c, int attr, int count);
-void crt_put_str(const char *str);
-void crt_put_stra(const char *str, int attr);
-void crt_inc_col(int count);
-void crt_dec_col(int count);
-void crt_dec_row(int count);
-/* scrollup.c */
-void crt_scrollup(int xmin, int ymin, int xmax, int ymax, int nline, int attr);
-/* setcpos.c */
-void crt_set_cpos(int col, int row);
-void crt_get_cpos(int *col, int *row);
-/* setpage.c */
-void crt_set_page(int page);
-/* setpal.c */
-void crt_set_palette(int id, int color);
-void crt_set_color_table(char *color_table);
-void crt_set_border(int bcolor);
-int crt_calc_color(double nr, double ng, double nb);
-int crt_icalc_color(int r, int g, int b);