GitHub - theletterf/claude64: Commodore 64 client for Claude · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
theletterf
claude64
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>6 Commits<br>6 Commits
c64
c64
proxy
proxy
scripts
scripts
.gitignore
.gitignore
LICENSE
LICENSE
Makefile
Makefile
README.md
README.md
View all files
Repository files navigation
Claude64
A Claude chat client for the Commodore 64.
Type a message on the C64, get a streaming response from Claude — over a real<br>(emulated) RS-232 serial connection.
C64 (VICE) proxy (Python) Anthropic API<br>────────────── ────────────── ─────────────<br>claude64.prg ←─ IP232 ─→ claude_proxy.py ←─ HTTPS ─→ claude-haiku<br>Swiftlink drv TCP 127.0.0.1:25232
The C64 side is a ~200-byte-per-turn chat UI written in C and compiled with<br>cc65. The proxy handles IP232 framing, conversation history, and streaming the<br>Anthropic Messages API back to the C64 one character at a time.
Requirements
Tool<br>Purpose
cc65 (cl65)<br>Cross-compiler for the C64
VICE (x64sc)<br>C64 emulator
Python 3.9+<br>Proxy server
Anthropic API key<br>ANTHROPIC_API_KEY env var
Build
make
Produces c64/build/claude64.prg and copies the Swiftlink driver to<br>c64/build/c64-swlink.ser.
Run
export ANTHROPIC_API_KEY=sk-ant-...<br>./scripts/run.sh
This starts the proxy and launches VICE in one step. The C64 loads the<br>Swiftlink driver from device 8, connects, and shows the chat prompt.
Usage
Type a message and press Return to send. The response streams in as it<br>arrives. Press RUN/STOP to cancel the current input line. Press F1 to<br>clear the screen.
Built-in debug commands:
Command<br>What it does
/rx<br>Send the current line and hex-dump the raw bytes received
/raw<br>Same but print printable ASCII instead of hex
/local<br>Enter offline echo mode (no API calls); /exit to leave
Echo mode (no API key needed)
./scripts/run.sh --echo
Echoes input back without calling Anthropic. Useful for testing the serial<br>link and UI without spending tokens.
License
MIT — see LICENSE.
About
Commodore 64 client for Claude
passo.uno/
Resources
Readme
License
MIT license
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
50.9%
Python<br>38.4%
Shell<br>5.5%
Makefile<br>4.4%
Assembly<br>0.8%
You can’t perform that action at this time.