X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fcio.h;fp=include%2Fcio.h;h=0000000000000000000000000000000000000000;hb=0fe37e9c318904715493dc9c894f658c43e6178e;hp=4e83202af2344909f4cc22fbb90263642237647a;hpb=63ddd1048df804cc73f21c1cdaf70f32324d0197;p=ctsim.git diff --git a/include/cio.h b/include/cio.h deleted file mode 100644 index 4e83202..0000000 --- a/include/cio.h +++ /dev/null @@ -1,65 +0,0 @@ -/***************************************************************************** -** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg -** -** $Id: cio.h,v 1.9 2000/06/13 16:20:31 kevin Exp $ -** -** 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 - - -#define C_BLACK 0 /* color codes */ -#define C_BLUE 1 -#define C_GREEN 2 -#define C_CYAN 3 -#define C_RED 4 -#define C_MAGENTA 5 -#define C_BROWN 6 -#define C_WHITE 7 -#define C_GREY 8 -#define C_LTBLUE 9 -#define C_LTGREEN 10 -#define C_LTCYAN 11 -#define C_LTRED 12 -#define C_LTMAGENTA 13 -#define C_YELLOW 14 -#define C_LTWHITE 15 - -/*----------------------------------------------------------------------*/ - -/* screen character codes */ - -#define SC_BKSP 8 -#define SC_TAB 9 -#define SC_BLANK ' ' - - -/* audio.cpp */ -void cio_beep(void); -void cio_tone(double freq, double length); - -/* crtput.cpp */ -void cio_put_c(int c); -void cio_put_cc(int c, int count); -void cio_put_str(const char *str); - -/* kbget.cpp */ -unsigned int cio_kb_getc(void); -void cio_kb_ungetc(unsigned int c); -char *cio_kb_gets(char *str, int maxlen); -unsigned int cio_kb_waitc(const char *astr, int beep); - -#endif