bccgetch.c

来自「epson 13506 driver code」· C语言 代码 · 共 30 行

C
30
字号
/*
**===========================================================================
** getch.c
**---------------------------------------------------------------------------
** Copyright (c) 1998 Epson Research and Development, Inc.
** All Rights Reserved.
**===========================================================================
*/

/*-------------------------------------------------------------------------*/

static const char Revision[] = "GETCH.C=$Revision: 1 $";

/*-------------------------------------------------------------------------*/

/* this file implements getch () for
 * the Motorola M68332 Business Card Computer (BCC)
 * we call routines from cpu32bug.S, contained in libbcc.a
 */

extern int inbyte (void);

/* getch () returns next character from console port */

int getch (void)
{
	return inbyte ();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?