From 067ec7af240a456f726d0386282a563b772a6d02 Mon Sep 17 00:00:00 2001 From: Simen Svale Date: Tue, 30 Dec 2025 03:11:49 +0100 Subject: [PATCH] Try removing async matching for MemoryGet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Testing if VICE sends MemoryGet responses with matched ReqID instead of as async events (ReqID=0xff). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/protocol/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocol/client.ts b/src/protocol/client.ts index eec00d9..c1ee6ab 100644 --- a/src/protocol/client.ts +++ b/src/protocol/client.ts @@ -386,8 +386,8 @@ export class ViceClient { body[3] = memspace; body.writeUInt16LE(endAddress, 4); - // VICE may send MemoryGet (0x31) as async event with ReqID=0xff - const response = await this.sendCommand(Command.MemoryGet, body, ResponseType.MemoryGet); + // Try without async matching - maybe VICE sends MemoryGet with matched ReqID + const response = await this.sendCommand(Command.MemoryGet, body); // Response body: length(2) + data(N) const dataLength = response.body.readUInt16LE(0);