1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-18 21:07:28 +00:00
C02/vic20/echo.c02
2018-01-28 13:57:49 -05:00

17 lines
333 B
Plaintext

/***************************************
* ECHO - Demo program for the Apple 1 *
* Echos typed keys to display *
* ESC key aborts to monitor *
***************************************/
#include <vic20.h02>
char key; //Key value
main:
key = getkey();
if (key == 3) goto exit;
prchr(key);
goto main;