mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 02:55:20 +00:00
20 lines
220 B
C
20 lines
220 B
C
/*
|
|
* Keyboard test program.
|
|
*/
|
|
|
|
#include <conio.h>
|
|
|
|
int main(void)
|
|
{
|
|
unsigned char c;
|
|
|
|
clrscr();
|
|
cputs(" Keyboard Test\r\n");
|
|
|
|
while (1) {
|
|
c = cgetc();
|
|
cputc(c);
|
|
}
|
|
return 0;
|
|
}
|