<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gbos.git/c/netlib.h, 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/c/netlib.h?h=master</id>
<link rel='self' href='https://git.sl0p.foo/gbos.git/atom/c/netlib.h?h=master'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/gbos.git/'/>
<updated>2026-07-17T22:38:38Z</updated>
<entry>
<title>refactor: c/ -&gt; usr/, compiled program blobs out of the source tree</title>
<updated>2026-07-17T22:38:38Z</updated>
<author>
<name>user</name>
<email>user@clank</email>
</author>
<published>2026-07-17T22:38:38Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/gbos.git/commit/?id=ba2d7ae1d7b319645b10aaa31a7f664f9f80c25c'/>
<id>urn:sha1:ba2d7ae1d7b319645b10aaa31a7f664f9f80c25c</id>
<content type='text'>
Userland sources live in usr/ (fits the Unix theme better than 'c').
SDCC output .bin blobs land in build/usr/ with the other build artifacts
instead of littering the source dir; programs.asm INCBINs them from there.
Byte-identical ROM.
</content>
</entry>
<entry>
<title>net: wget - real HTTP over the link port via the gateway</title>
<updated>2026-07-16T23:31:38Z</updated>
<author>
<name>user</name>
<email>user@clank</email>
</author>
<published>2026-07-16T23:31:38Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/gbos.git/commit/?id=62171c761c72f7bc515b20361d043bfd239f71c9'/>
<id>urn:sha1:62171c761c72f7bc515b20361d043bfd239f71c9</id>
<content type='text'>
Grow the link-port demo from echo to actual network access. The Game Boy
still only does SLIP framing + display; the host gateway does DNS/TCP/HTTP.

- c/netlib.h: SLIP framing factored out (header-only, per-program copy).
  necho.c now uses it too.
- c/wget.c: `wget URL` frames the URL, then prints the reply body. The
  gateway streams the body back as typed frames: 'D'&lt;chunk&gt; ... 'E'.
- tools/gateway.py: add --mode http (urlopen the frame as a URL, cap the
  body, chunk it) alongside --mode echo; --cmd runs any gbos command.

Verified: `wget example.com` streams back the full Example Domain HTML onto
the terminal; `wget sl0p.foo` fetches the real page. A Game Boy on the web,
over the link cable.
</content>
</entry>
</feed>
