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
+3 -5
View File
@@ -1,14 +1,12 @@
#ifndef ROM_H
#define ROM_H
#include "io.h"
#include <stdint.h>
#define ROM_SIZE (8 * 1024) // 8KiB
#define ROM_BASE (IO_BASE + IO_SIZE) // 55KiB RAM + 1KiB IO
#define ROM_SIZE (8 * 1024) // 8KiB
#define ROM_BASE (56 * 1024) // 55KiB RAM + 1KiB IO, hard coded
uint8_t rom[ROM_SIZE];
extern uint8_t rom[ROM_SIZE];
void initRom(uint8_t *rom);