/* SPDX-License-Identifier: Unlicense */ #pragma once #include #define ROM_START (0) #define ROM_SIZE (0x400000) #define RAM_START (0xFF0000) #define RAM_SIZE (0x10000) #define SOUND_RAM_START (0xA00000) #define SOUND_RAM_SIZE (0x2000) #define IO1_START (0xA10000) #define IO1_SIZE (0x4004) #define VDP_START (0xC00000) #define VDP_SIZE (0x20) #define PSG_START (0xC00011) #define PSG_SIZE (0x1) enum bitness { BITNESS_8 = 1, BITNESS_16 = 2, BITNESS_32 = 4, }; struct Breakpoint { uint32_t offset, length; };