summaryrefslogtreecommitdiff
path: root/bus.hpp
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-09-29 02:01:01 +0300
committerOxore <oxore@protonmail.com>2022-09-29 02:01:01 +0300
commitdedd5c981ee95d9667f1f2e5d0b419f08bee3908 (patch)
tree273fa96eb78333e8e8707d51b6cdc1cab23475f6 /bus.hpp
parentfccf528efb30e6dcbd0070a4bfd0dc6ebc180fdf (diff)
Rename IO2 to VDP, enable VDP rw trace
Diffstat (limited to 'bus.hpp')
-rw-r--r--bus.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/bus.hpp b/bus.hpp
index 6d87da3..9745073 100644
--- a/bus.hpp
+++ b/bus.hpp
@@ -15,8 +15,8 @@
#define SOUND_RAM_SIZE (0x2000)
#define IO1_START (0xA10000)
#define IO1_SIZE (0x4004)
-#define IO2_START (0xC00000)
-#define IO2_SIZE (0x20)
+#define VDP_START (0xC00000)
+#define VDP_SIZE (0x20)
struct Breakpoint {
uint32_t offset, length;
@@ -26,5 +26,5 @@ 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[IO2_SIZE];
+extern unsigned char g_io2[VDP_SIZE];
extern std::vector<Breakpoint> code_bkpts, read_bkpts, write_bkpts, access_bkpts;