summaryrefslogtreecommitdiff
path: root/bus.hpp
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-10-01 19:34:58 +0300
committerOxore <oxore@protonmail.com>2022-10-01 23:09:44 +0300
commit72abe5f3e714df9cc8310a78bdfa648feb79c4d2 (patch)
tree0333ee5e61f02548c7ce9dc7038698d15369acc9 /bus.hpp
parentf125cc7018ed32b7f919ff71ea3c7d9d2e6565de (diff)
Add more VDP tracing, add VRAM, CRAM, VSRAM and status
Diffstat (limited to 'bus.hpp')
-rw-r--r--bus.hpp11
1 files changed, 2 insertions, 9 deletions
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 <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;