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