vt100.h
来自「这是我大学4年来做过的竞赛以及老师的科研项目所积累下来的c51源代码」· C头文件 代码 · 共 34 行
H
34 行
//---------------------------------------------------------------------
// This module use the function VT100 of terminal, screen controll
// By Dept. OF TECHNOLOGY,Skean
//---------------------------------------------------------------------
#define NORMAL_FONT 0x00
#define THICK_FONT 0x01
#define UNDER_LINE_FONT 0x04
#define REVERSE_VIDEO_FONT 0x07
#define REVERSE_THICK_FONT 0x17
#define REVERSE_UNDERLINE_FONT 0x47
#define init_terminal init_trm
//---------------------------------------------------------------------
void clrscr(void);
void gotoxy(unsigned char x,unsigned char y);
void set_font(unsigned char font);
void del_line(unsigned char line);
void init_trm(unsigned char max_line);
//---------------------------------------------------------------------
// '@','#','&','$' and '^' supply the format control
//---------------------------------------------------------------------
// '@'= THICK_FONT
// '#'= REVERSE_VIDEO_FONT
// '&'= UNDER_LINE_FONT
// '$'= NORMAL_FONT
// '^'= transferred meaning,
void fputstr(unsigned char code *code_string);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?