Fix run on linux
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
#ifndef IO_H
|
||||
#define IO_H
|
||||
|
||||
#include "ram.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define IO_SIZE (1 * 1024) // 1KiB
|
||||
|
||||
#define IO_BASE (RAM_SIZE) // 55KiB RAM
|
||||
#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);
|
||||
|
||||
Reference in New Issue
Block a user