Fix run on linux

This commit is contained in:
2026-08-31 04:43:52 +02:00
parent f5672ee9c3
commit d37d434228
13 changed files with 151 additions and 98 deletions
+2 -4
View File
@@ -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);