1 /*****************************************************************************
2 ** This is part of the CTSim program
3 ** Copyright (C) 1983-2000 Kevin Rosenberg
5 ** $Id: cio.h,v 1.8 2000/06/05 01:32:45 kevin Exp $
7 ** Revision 1.8 2000/06/05 01:32:45 kevin
8 ** Added C++ compatibility
10 ** Revision 1.7 2000/05/08 20:45:10 kevin
11 ** *** empty log message ***
13 ** Revision 1.6 2000/05/08 20:00:47 kevin
16 ** Revision 1.5 2000/05/07 12:46:19 kevin
17 ** made c++ compatible
19 ** Revision 1.4 2000/04/28 18:18:59 kevin
20 ** removed unused files
22 ** Revision 1.3 2000/04/28 14:14:16 kevin
23 ** *** empty log message ***
26 ** This program is free software; you can redistribute it and/or modify
27 ** it under the terms of the GNU General Public License (version 2) as
28 ** published by the Free Software Foundation.
30 ** This program is distributed in the hope that it will be useful,
31 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
32 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 ** GNU General Public License for more details.
35 ** You should have received a copy of the GNU General Public License
36 ** along with this program; if not, write to the Free Software
37 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
38 ******************************************************************************/
44 #endif /* __cplusplus */
47 #define C_BLACK 0 /* color codes */
60 #define C_LTMAGENTA 13
64 /*----------------------------------------------------------------------*/
66 /* screen character codes */
75 void cio_tone(double freq, double length);
78 void cio_put_c(int c);
79 void cio_put_cc(int c, int count);
80 void cio_put_str(const char *str);
83 unsigned int cio_kb_getc(void);
84 void cio_kb_ungetc(unsigned int c);
85 char *cio_kb_gets(char *str, int maxlen);
86 unsigned int cio_kb_waitc(const char *astr, int beep);
90 #endif /* _cplusplus */