Commit graph

1 commit

Author SHA1 Message Date
Simen Svale
995683a936 Fix VICE protocol: API v1, correct command codes, body length
Multiple fixes based on live testing:
- API version changed to 0x01 (VICE 3.x uses v1, not v2)
- Command codes updated per KB docs:
  - RegistersGet: 0x22 (was 0x31)
  - Continue: 0x31 (was 0x81)
  - Step: 0x32 (was 0x82)
- Body length field now excludes ReqID and Cmd (just command body)
- Response parsing: totalLength = 9 + bodyLength

Added test script for debugging protocol issues.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 02:55:10 +01:00