13 lines
240 B
C
13 lines
240 B
C
#ifndef ROM_H
|
|
#define ROM_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define ROM_SIZE (16 * 1024) // 16KiB
|
|
#define ROM_BASE (48 * 1024) // 47KiB RAM + 1KiB IO, hard coded
|
|
|
|
extern uint8_t rom[ROM_SIZE];
|
|
|
|
void initRom(uint8_t *rom);
|
|
|
|
#endif // ROM_H
|