2018-02-14 00:55:25 +00:00
|
|
|
/* py65mon Header File */
|
|
|
|
|
2018-08-14 18:14:32 +00:00
|
|
|
#define DELKEY $08 //Delete/Backspace Key
|
|
|
|
#define ESCKEY $1B //Escape/Stop Key
|
|
|
|
#define RTNKEY $0D //Return/Enter Key
|
|
|
|
|
2018-02-14 00:55:25 +00:00
|
|
|
//Memory Mapped I/O
|
|
|
|
char putc; //Write Character to Console
|
|
|
|
char getc; //Read Character from Console
|
|
|
|
|
|
|
|
//System Subroutines
|
2018-08-14 18:14:32 +00:00
|
|
|
void newlin(); //Advance cursor to beginning of next line
|
|
|
|
void delchr(); //Delete previous character
|
2018-11-07 05:11:09 +00:00
|
|
|
char polkey(); //Poll Console for character
|
|
|
|
char getchr(); //Wait for character from Console
|
2018-08-14 18:14:32 +00:00
|
|
|
char getkey(); //Read ASCII character from Console
|
2018-11-07 05:11:09 +00:00
|
|
|
char putchr(); //Print ASCII character to Console
|
2018-02-14 00:55:25 +00:00
|
|
|
|
2019-05-19 02:27:09 +00:00
|
|
|
//System Labels
|
|
|
|
start: //Start of Code
|
|
|
|
exit: //Return to Operating System
|