mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-15 17:08:51 +00:00
19 lines
578 B
Plaintext
19 lines
578 B
Plaintext
/* py65mon Header File */
|
|
|
|
#define DELKEY $08 //Delete/Backspace Key
|
|
#define ESCKEY $1B //Escape/Stop Key
|
|
#define RTNKEY $0D //Return/Enter Key
|
|
|
|
//Memory Mapped I/O
|
|
char putc; //Write Character to Console
|
|
char getc; //Read Character from Console
|
|
|
|
//System Subroutines
|
|
void newlin(); //Advance cursor to beginning of next line
|
|
void delchr(); //Delete previous character
|
|
char plkey(); //Poll Console for character
|
|
char rdkey(); //Wait for character from Console
|
|
char getkey(); //Read ASCII character from Console
|
|
void prchr(); //Print ASCII character to Console
|
|
|