📄 getkey.c
字号:
/***********************************************************************/
/* This file is part of the C166 Compiler package */
/* Copyright KEIL ELEKTRONIK GmbH 1992-1997 */
/***********************************************************************/
/* */
/* GETKEY.C: This routine is the general character input of C166. */
/* */
/* To translate this file use C166 with the following invocation: */
/* */
/* C166 GETKEY.C */
/* */
/* To link the modified GETKEY.OBJ file to your application use the */
/* following L166 invocation: */
/* */
/* L166 <your object file list>, GETKEY.OBJ <controls> */
/* */
/***********************************************************************/
#include <reg166.h>
char _getkey () {
char c;
while (!S0RIR) { ; }
c = S0RBUF;
S0RIR = 0;
return (c);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -