00001
00013 #ifndef _MY_CONSOLE_H
00014 #define _MY_CONSOLE_H
00015
00016 #include <video_defines.h>
00017
00035 int putbyte( char ch );
00036
00054 void putbytes(const char* s, int len);
00055
00064 void set_term_color(int color);
00065
00073 void get_term_color(int* color);
00074
00087 void set_cursor(int row, int col);
00088
00097 void get_cursor(int* row, int* col);
00098
00106 void hide_cursor();
00107
00114 void show_cursor();
00115
00119 void clear_console();
00120
00132 void draw_char(int row, int col, int ch, int color);
00133
00139 char get_char(int row, int col);
00140
00141 #endif