1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-26 13:49:21 +00:00
C02/vic20/include/vic20a0.h02

25 lines
838 B
Plaintext
Raw Normal View History

/* VIC0-20 $A000 Header File *
* Compiles into Block 5 RAM at $A000 *
* Load using LOAD "progfile",8,1 *
* Execute using SYS 40960 */
//Zero Page Variables
char srchi, srclo; //Source Pointer
char dsthi, dstlo; //Destination Pointer
//Kernal Routines Memory Mapped I/O
char chrin(); //Input Character to Channel
void chrout(); //Output Character to Channel
char getin(); //Read Character from Keyboard Buffer
//System Subroutines
char plkey(); //Poll Console for character
char rdkey(); //Wait for character from Console
char getkey(); //Read ASCII character from Console
void newlin(); //Advance cursor to beginning of next line
void prchr(); //Print ASCII character to Console
void prbyte(); //Print Accumulator as Hexadadecimal number
void prhex(); //Print Low Nybble of Accumulator as Hex Digit