mirror of
https://github.com/bradgrantham/apple2a.git
synced 2024-12-23 04:29:50 +00:00
976d601896
Add files defining platform constants In particular, break out platform.c and do not optimize so that side-effects are honored.
12 lines
400 B
C
12 lines
400 B
C
#define TEXT_PAGE1_BASE ((volatile unsigned char *)0x400)
|
|
#define TEXT_PAGE2_BASE ((volatile unsigned char *)0x800)
|
|
|
|
// Returns non-zero if a key is ready to be read.
|
|
extern int keyboard_test(void);
|
|
|
|
// Clears current key, sets up next one for test or get
|
|
extern void keyboard_next(void);
|
|
|
|
// Wait until a key is ready and then return it without high bit set
|
|
extern unsigned char keyboard_get(void);
|