mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-28 10:51:14 +00:00
17 lines
335 B
Plaintext
17 lines
335 B
Plaintext
|
/***************************************
|
||
|
* ECHO - Demo program for the Apple 1 *
|
||
|
* Echos typed keys to display *
|
||
|
* ESC key aborts to monitor *
|
||
|
***************************************/
|
||
|
|
||
|
#include <apple1.h02>
|
||
|
|
||
|
char key; //Key value
|
||
|
|
||
|
main:
|
||
|
key = getkey();
|
||
|
if (key == 155) goto exit;
|
||
|
echo(key);
|
||
|
goto main;
|
||
|
|