aboutsummaryrefslogtreecommitdiffstats
path: root/src/control.c
diff options
context:
space:
mode:
authorgbc dev <gbc@localhost>2026-07-17 13:22:00 +0200
committergbc dev <gbc@localhost>2026-07-17 13:22:00 +0200
commit346634bbd7376c0120c51e8ec5ba3d7d400fc567 (patch)
treee4f3c4a5a9249e9629c37276d1ede37546780267 /src/control.c
parentreadme: mention sixel in the intro, drop the diffing brag (diff)
downloadsl0pboy-346634bbd7376c0120c51e8ec5ba3d7d400fc567.tar.gz
sl0pboy-346634bbd7376c0120c51e8ec5ba3d7d400fc567.tar.xz
sl0pboy-346634bbd7376c0120c51e8ec5ba3d7d400fc567.zip
main: --serial-sock PATH - link port over a unix socket (net + live display)
The serial fds are serviced by cpu_step in every mode, so wiring them to a connected unix socket lets networking run alongside a live display (--sixel / terminal) - unlike --headless, which needs stdio for the serial. The emulator connects to PATH (retrying ~1s so a launcher can listen first) and uses it non-blocking with no EOF-exit; it overrides the headless stdio serial. Pairs with gbos tools/netboot, which listens on PATH, brings up a TUN+NAT, and bridges the socket <-> TUN. In windowed mode the OSK is the console and the link port is pure network - cleanly separated. Verified: host pings the GB 3/3 over the socket link.
Diffstat (limited to 'src/control.c')
0 files changed, 0 insertions, 0 deletions