Peripheral card emulation for eight-bit machines on the RP2350 (NKC, Taylorix S4)
- C 87.3%
- HTML 4.9%
- Python 4.7%
- Assembly 1.7%
- CMake 1.4%
The SDK's watchdog_caused_reboot() looks for its own magic in scratch 4, which the bootrom overwrites, so a bite went unreported. The reason register says the watchdog reset the chip; the bootrom's own reboots go through it too, so the marker in RAM -- cleared by lifesign_disarm() before every reboot the firmware asks for -- tells a bite from a hand-over. `spin <seconds>` stops the console's core for a bounded time, to show the bite. The watchdog stays unarmed for now: a board it has reset runs for a while and then wedges -- something the reset leaves as it was -- so a bite costs a power cycle where a hang already did. The heartbeat and the stage note stay in place for when that is understood. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014MUQj5GgU9irtPhYngALDp |
||
|---|---|---|
| kogge | ||
| nkc | ||
| s4 | ||
| .gitignore | ||
| .gitmodules | ||
| CLAUDE.md | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
Hanse
Peripheral card emulation for eight-bit machines on the RP2350. One league, several cities: each machine keeps its own bus front end and card set, and they trade over shared cargo the way the cities traded over one ship.
| Directory | What it is |
|---|---|
kogge/ |
The shared cargo: the console's line discipline, WiFi bring-up and telnet transport, HTTP client for disk images and files, WebSocket plumbing, SD card access, VNC authentication, and the host-side development server |
nkc/ |
The NDR-Klein-Computer (Z80): GDP64HS graphics on HDMI, KEY, SOUND, FLO3, IO-USB and UHR3 cards, on the luebeck and stralsund boards |
s4/ |
The Taylorix S4 (8085): a backplane card providing the machine's serial channels and the WD hard-disk interface |
The machine directories carry the firmware builds (for the NKC,
cmake -S nkc/firmware -B build-luebeck -G Ninja -DHANSE_VARIANT=luebeck);
the top-level CMakeLists builds the emulation cores, host tools and
tests:
cmake -S . -B build -G Ninja
cmake --build build
ctest --test-dir build