From 72abe5f3e714df9cc8310a78bdfa648feb79c4d2 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 1 Oct 2022 19:34:58 +0300 Subject: Add more VDP tracing, add VRAM, CRAM, VSRAM and status --- bus.hpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'bus.hpp') diff --git a/bus.hpp b/bus.hpp index 0492abd..e776d60 100644 --- a/bus.hpp +++ b/bus.hpp @@ -4,8 +4,6 @@ #pragma once #include -#include -#include #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 code_bkpts, read_bkpts, write_bkpts, access_bkpts; -- cgit v1.2.3