diff options
author | Oxore <oxore@protonmail.com> | 2022-10-01 19:34:58 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2022-10-01 23:09:44 +0300 |
commit | 72abe5f3e714df9cc8310a78bdfa648feb79c4d2 (patch) | |
tree | 0333ee5e61f02548c7ce9dc7038698d15369acc9 /bus.hpp | |
parent | f125cc7018ed32b7f919ff71ea3c7d9d2e6565de (diff) |
Add more VDP tracing, add VRAM, CRAM, VSRAM and status
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; |