add msbasic
This commit is contained in:
1 parent
d37d434228
commit
c5a028c8c6
104 files changed
+25598
-13802
No files matched your search
@@ -1,16 +1,16 @@
|
||||
#ifndef IO_H
|
||||
#define IO_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define IO_SIZE (1 * 1024) // 1KiB
|
||||
#define IO_BASE (55 * 1024) // 55KiB RAM, hard coded
|
||||
|
||||
#define SCREEN_ADDRESS 0
|
||||
#define KEYBOARD_ADDRESS 1
|
||||
#define ROM_BANKED_OUT 2
|
||||
|
||||
int putChar(uint8_t c);
|
||||
int getChar(void);
|
||||
|
||||
#ifndef IO_H
|
||||
#define IO_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define IO_SIZE (1 * 1024) // 1KiB
|
||||
#define IO_BASE (47 * 1024) // 47KiB RAM, hard coded, 0xBC00
|
||||
|
||||
#define SCREEN_ADDRESS 0
|
||||
#define KEYBOARD_ADDRESS 1
|
||||
#define ROM_BANKED_OUT 2
|
||||
|
||||
int putChar(uint8_t c);
|
||||
int getChar(void);
|
||||
|
||||
#endif // IO_H
|
||||
Reference in new issue
Block a user