r34: *** empty log message ***
[ctsim.git] / include / cio.h
index 0bfd15da6c290fb22161ded6ac1b65a25169d171..a96a67f744856f21f6b180ddb45cabca8bbcd6f0 100644 (file)
@@ -1,3 +1,29 @@
+/*****************************************************************************
+**  This is part of the CTSim program
+**  Copyright (C) 1983-2000 Kevin Rosenberg
+**
+**  $Id: cio.h,v 1.4 2000/04/28 18:18:59 kevin Exp $
+**  $Log: cio.h,v $
+**  Revision 1.4  2000/04/28 18:18:59  kevin
+**  removed unused files
+**
+**  Revision 1.3  2000/04/28 14:14:16  kevin
+**  *** empty log message ***
+**
+**
+**  This program is free software; you can redistribute it and/or modify
+**  it under the terms of the GNU General Public License (version 2) as
+**  published by the Free Software Foundation.
+**
+**  This program is distributed in the hope that it will be useful,
+**  but WITHOUT ANY WARRANTY; without even the implied warranty of
+**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+**  GNU General Public License for more details.
+**
+**  You should have received a copy of the GNU General Public License
+**  along with this program; if not, write to the Free Software
+**  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+******************************************************************************/
 #ifndef __CIO_H
 #define __CIO_H
 
@@ -89,17 +115,10 @@ struct crtv_st {
 
 #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);
+void crt_center_line(const char *str);
 /* clreol.c */
 void crt_clreol(void);
 /* clrline.c */
@@ -110,33 +129,10 @@ void crt_clrscrn(void);
 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);
@@ -156,15 +152,6 @@ 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);
-
 /* beep.c */
 void cio_beep(void);
 /* kb_chk.c */
@@ -181,11 +168,6 @@ unsigned int cio_kb_read(void);
 void cio_kb_unread(unsigned int c);
 /* kb_waitc.c */
 unsigned int cio_kb_waitc(const char *astr, const char *estr, int beep_on_error);
-/* speaker.c */
-void cio_spkr_freq(double freq);
-void cio_spkr_divisor(unsigned int div);
-void cio_spkr_on(void);
-void cio_spkr_off(void);
 /* tone.c */
 void cio_tone(double freq, double length);
 /* check_kb */