Try removing async matching for MemoryGet
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 <noreply@anthropic.com>
This commit is contained in:
parent
caa3bc8e22
commit
067ec7af24
1 changed files with 2 additions and 2 deletions
|
|
@ -386,8 +386,8 @@ export class ViceClient {
|
||||||
body[3] = memspace;
|
body[3] = memspace;
|
||||||
body.writeUInt16LE(endAddress, 4);
|
body.writeUInt16LE(endAddress, 4);
|
||||||
|
|
||||||
// VICE may send MemoryGet (0x31) as async event with ReqID=0xff
|
// Try without async matching - maybe VICE sends MemoryGet with matched ReqID
|
||||||
const response = await this.sendCommand(Command.MemoryGet, body, ResponseType.MemoryGet);
|
const response = await this.sendCommand(Command.MemoryGet, body);
|
||||||
|
|
||||||
// Response body: length(2) + data(N)
|
// Response body: length(2) + data(N)
|
||||||
const dataLength = response.body.readUInt16LE(0);
|
const dataLength = response.body.readUInt16LE(0);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue