<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gbos.git/tools/gbjoin, branch master</title>
<subtitle>gbos - a tiny Unix-flavored OS for the Game Boy Color (kernel, shell, coreutils in C, RAM filesystem)</subtitle>
<id>https://git.sl0p.foo/gbos.git/atom/tools/gbjoin?h=master</id>
<link rel='self' href='https://git.sl0p.foo/gbos.git/atom/tools/gbjoin?h=master'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/gbos.git/'/>
<updated>2026-07-17T12:26:06Z</updated>
<entry>
<title>tools: gbhub --daemon + gbjoin - interactive multi-Game-Boy networking</title>
<updated>2026-07-17T12:26:06Z</updated>
<author>
<name>user</name>
<email>user@clank</email>
</author>
<published>2026-07-17T12:26:06Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/gbos.git/commit/?id=584b19508b31f444ae02a974b96d1a50b8e650a2'/>
<id>urn:sha1:584b19508b31f444ae02a974b96d1a50b8e650a2</id>
<content type='text'>
gbhub gains a --daemon mode: instead of spawning headless emulators, it just
runs the switch/router/DHCP and accepts link connections, handing each a lease
from a pool (10.0.0.2..) and freeing it on disconnect. The link socket is made
world-connectable so unprivileged emulators can join.

gbjoin (no root) launches a *windowed* Game Boy and plugs its link into the
running hub, with its own ROM copy so battery saves don't clash. So you get real
interactive Game Boys on one network:

    term 1:  sudo tools/gbhub --daemon
    term 2:  tools/gbjoin            # windowed GB -&gt; 10.0.0.2
    term 3:  tools/gbjoin            # windowed GB -&gt; 10.0.0.3
    (on each: SELECT for the OSK, then e.g. ping 10.0.0.3)

Verified two GBs join the daemon and get distinct leases; routing is the same
code path as the (already-verified) spawn-mode GB&lt;-&gt;GB ping.
</content>
</entry>
</feed>
