1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-21 10:32:08 +00:00

Removed obsolete header file apple1/oldclude/apple1.h

This commit is contained in:
RevCurtisP 2018-01-28 15:02:49 -05:00 committed by GitHub
parent 83b6c7100c
commit b464685dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,33 +0,0 @@
/* Apple 1 Header File */
//The keyboard data register returns ASCII codes with the high bit set
//These can be safely printed, since the display hardware ignores the high bit
#define CR $8D //Carriage Return key code
#define ESC $9B //Escape key code
#define DEL $DF //Delete (Backspace) key code
//Memory locations used by monitor program
char* buffer = $0200 //Monitor Input Buffer
//PIA 6820 Registers
char* kbd = $D010 //Keyboard Data
char* kbdcr = $D011 //Keyboard Control Register
char* dsp = $D012 //Display Data
char* dspcr = $D013 //Display Control Register
#label exit $FF00 //Monitor Entry Point
/*
void echo(A) = $FFEF //Print Character in Accumulator
void prbyte(A) = $FFDC //Print Accumulator as Hexadadecimal number
void prhex(A) = $FFE5 //Print Low Nybble of Accumulator as Hex Digit
*/
#origin $0300 //$0200 through $02FF used as a string buffer
/*
#asm
#endasm
char getkey();
*/