mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-22 01:31:33 +00:00
Removed obsolete header file apple1/oldclude/apple1.h
This commit is contained in:
parent
83b6c7100c
commit
b464685dd0
@ -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();
|
|
||||||
*/
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user