r/LocalLLaMA • u/breksyt • 2d ago
Showcase 2 local models, no Web access, discover and program a vintage Motorola 68000 device
Thought this group may like this experiment. Two agents, using only local models, were asked to co-operate in discovering what’s attached to a Raspberry Pi’s serial port (via serial hat). They had no Internet access, and no access to documentation of that device. They successfully accessed, established communication protocol, and analyzed the capabilities of the device, including coding a program for that device in assembly and executing it.
Models: “solver” is Qwen3.8-flash-next on DGX Spark, “verifier” or “critic” is gpt-oss-120b. There’s a third model, “observer” (Qwen3.8 Instruct running on RTX4090) which does not participate in solving or verifying, but provides commentary for humans while the discovery is happening.
The device in question is Motorola 68K Educational Computer Board which the models apparently don’t have any info of in their trained weights. Actually in some runs they suspected it was a different educational board, the legendary Kim-1, and only later did they correct the course. The device is connected to 2 serial ports of a Raspberry Pi to which agents have full access, but the RPi is isolated from the Internet too, just like the entire testing harness.
The task was to discover what device is connected to the serial port, establish communication, discover its capabilities and, if programmable, write and execute a program on that device.
It was fun to observe the runs :) In one run the agent wrote a program to do the checksum of the device’s ROM (and verified the result outside of the device); in another it wrote a program to calculate the Fibonacci’s series. In most runs they discovered the device’s ROM and dumped it, and reverse engineered parts of it. Each run took several hours to complete.
More info, including details of a few individual runs (more are happening now...) in this repo if anyone’s interested: https://github.com/podstawek/explorer-of-serial
71
u/enternoescape 2d ago
I like the idea of a model outside the loop observing what's going on play by play on a complex task allowing the real worker to focus vs appeasing your curiosity.
9
u/r00x 2d ago
Heavily into this sort of thing myself! I've got all sorts of old shit to resurrect and you best believe I've been up to mischief...
24
u/NoFutureBen 2d ago
gpt oss bro what, that's from decades ago.
9
u/IntrepidMindExplorer 2d ago
Dust off an old usb to rs-232 adapter and tell a model to go have fun and you'll see some fun things happen.
3
u/onemoreburrito 2d ago
Can you share a summary on process/also the LLM used? Was it random guess and check or did they formulate a strategy to narrow down possibilities?
Maybe a specific example- determining how to program it or even more basic get the serial port settings (baud rate, check sum error bits..)
2
u/bobaburger 2d ago
I'm more concerned for the safety of your spark on that table, shouldn't it be where that jetson-alike device being placed?
2
u/stanleyruppert 2d ago
Awesome experiment, thanks for sharing and all your documentation and comments on GitHub. I’ll definitely spin up your framework to explore a number of similar vintage systems I have both documented and undocumented.
2
u/erikwithaknotac 2d ago
Is a serial port a better connection than usb? Im trying to do this with an old media player..
1
u/splitbar 2d ago
are you not supposed to put that Warp 1260 sticker on the A1200 case?
3
u/-Krotik- 2d ago
hook that observer qwen 3.8 to a fast tts and you got yourself a commentator
2
u/CATLLM 2d ago
This is awesome
2
u/Sea_Guarantee6806 2d ago
That would an interesting video to watch 😊
2
u/slowtractor 2d ago
The hardware gives the agents crisp feedback: an address either responds or bus-errors, so they can learn the memory map by testing it.
1
u/mycall 2d ago
N numbers important, one number to rule them all.
You should also have opus 5.5 or gpt-6.2 astra as an oracle, to give guidance when all else is lost.