From 1c1ce625a767203443e193c6d28f1bed8e8a8f45 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 24 Jun 2022 10:37:39 -0400 Subject: [PATCH] Vector reads signal VDA. --- OSBindings/Mac/Clock SignalTests/65816ComparativeTests.mm | 2 +- Processors/6502Esque/6502Esque.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OSBindings/Mac/Clock SignalTests/65816ComparativeTests.mm b/OSBindings/Mac/Clock SignalTests/65816ComparativeTests.mm index dd0d82e25..f05b7013f 100644 --- a/OSBindings/Mac/Clock SignalTests/65816ComparativeTests.mm +++ b/OSBindings/Mac/Clock SignalTests/65816ComparativeTests.mm @@ -227,7 +227,7 @@ void print_ram(FILE *file, const std::unordered_map &data) { case BusOperation::Read: read = vda = true; break; case BusOperation::ReadOpcode: read = vda = vpa = true; break; case BusOperation::ReadProgram: read = vpa = true; break; - case BusOperation::ReadVector: read = vpb = true; break; + case BusOperation::ReadVector: read = vpb = vda = true; break; case BusOperation::InternalOperationRead: read = true; break; case BusOperation::Write: vda = true; break; diff --git a/Processors/6502Esque/6502Esque.hpp b/Processors/6502Esque/6502Esque.hpp index 8f5c75589..84edc52d2 100644 --- a/Processors/6502Esque/6502Esque.hpp +++ b/Processors/6502Esque/6502Esque.hpp @@ -77,7 +77,7 @@ enum BusOperation { /// 65816: indicates that a read was signalled with VPA. ReadProgram, /// 6502: never signalled. - /// 65816: indicates that a read was signalled with VPB. + /// 65816: indicates that a read was signalled with VPB and VDA. ReadVector, /// 6502: never signalled. /// 65816: indicates that a read was signalled, but neither VDA nor VPA were active.