mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-30 23:50:04 +00:00
16 lines
450 B
Plaintext
16 lines
450 B
Plaintext
|
/* C02 Minimal Header File for Apple II */
|
||
|
|
||
|
/* Monitor Variables */
|
||
|
|
||
|
//PIA 6820 Registers
|
||
|
char kbd; //Keyboard Data
|
||
|
char kbdcr; //Keyboard Control Register
|
||
|
|
||
|
//Monitor Subroutines
|
||
|
void echo(); //Print Character in Accumulator
|
||
|
void prbyte(); //Print Accumulator as Hexadadecimal number
|
||
|
void prhex(); //Print Low Nybble of Accumulator as Hex Digit
|
||
|
|
||
|
//System Subroutines
|
||
|
char rdkey(); //Wait for raw character from Keyboard
|