diff options
Diffstat (limited to 'bus.hpp')
-rw-r--r-- | bus.hpp | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -4,8 +4,6 @@ #pragma once #include <cstdint> -#include <vector> -#include <algorithm> #define ROM_START (0) #define ROM_SIZE (0x400000) @@ -17,6 +15,8 @@ #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, @@ -27,10 +27,3 @@ enum bitness { struct Breakpoint { uint32_t offset, length; }; - -extern unsigned char g_rom[ROM_SIZE]; -extern unsigned char g_ram[RAM_SIZE]; -extern unsigned char g_sound_ram[SOUND_RAM_SIZE]; -extern unsigned char g_io1[IO1_SIZE]; -extern unsigned char g_io2[VDP_SIZE]; -extern std::vector<Breakpoint> code_bkpts, read_bkpts, write_bkpts, access_bkpts; |