** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: cio.h,v 1.5 2000/05/07 12:46:19 kevin Exp $
+** $Id: cio.h,v 1.6 2000/05/08 20:00:47 kevin Exp $
** $Log: cio.h,v $
+** Revision 1.6 2000/05/08 20:00:47 kevin
+** ANSI C changes
+**
** Revision 1.5 2000/05/07 12:46:19 kevin
** made c++ compatible
**
#define WAITKEY() {cio_kb_clr(); while (cio_kb_read() == 0);}
-/* c_save.c */
-int crt_save(const char *fname);
/* center.c */
void crt_center_line(const char *str);
/* clreol.c */
-void crt_clreol(void);
+void cio_clreol(void);
/* clrline.c */
-void crt_clrline(unsigned int line);
+void cio_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);
+void cio_tab(unsigned int n);
+void cio__save_cpos(void);
+void cio__restore_cpos(void);
/* fill_eol.c */
-void crt_fill_eol(int c, int attr);
+void cio_fill_eol(int c, int attr);
/* getstate.c */
-void crt_get_state(void);
+void cio_get_state(void);
/* 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);
+void cio_set_text_clr(int fclr, int bclr);
+int cio_get_texta(void);
+void cio_set_texta(int a);
+int cio_blank_attr(void);
+void cio_put_ca(int c, int attr);
+void cio_put_c(int c);
+void cio_put_cc(int c, int count);
+void cio_put_cca(int c, int attr, int count);
+void cio_put_str(const char *str);
+void cio_put_stra(const char *str, int attr);
+void cio_inc_col(int count);
+void cio_dec_col(int count);
+void cio_dec_row(int count);
/* setcpos.c */
-void crt_set_cpos(int col, int row);
-void crt_get_cpos(int *col, int *row);
+void cio_set_cpos(int col, int row);
+void cio_get_cpos(int *col, int *row);
/* beep.c */
void cio_beep(void);
/* kb_chk.c */
/* check_kb */
int cio_check_kb_escape(void);
-#ifdef __cplusplus
+#ifdef _cplusplus
}
-#endif /* __cplusplus */
+#endif /* _cplusplus */
#endif