<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gbos.git/.gitignore, 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/.gitignore?h=master</id>
<link rel='self' href='https://git.sl0p.foo/gbos.git/atom/.gitignore?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>C toolchain: run SDCC-compiled C programs as gbos processes</title>
<updated>2026-07-15T22:49:58Z</updated>
<author>
<name>user</name>
<email>user@clank</email>
</author>
<published>2026-07-15T22:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/gbos.git/commit/?id=ef88f0e530b898ebcb14f9e3dff1d58e83089ada'/>
<id>urn:sha1:ef88f0e530b898ebcb14f9e3dff1d58e83089ada</id>
<content type='text'>
- c/{gbos.h,crt0.s,libc.s,build.sh}: SDCC sm83 -&gt; ROM-bank blob toolchain.
  libc syscall wrappers save/restore BC/DE/HL around rst $30 (trap clobbers
  them; SDCC expects them preserved).
- build via SDCC native asxxxx path (sdasgb/sdldgb), crt0 linked first so
  _start is the $4000 entry; blob INCBIN'd into a ROM bank.
- chello.c: prints a message + getpid() -&gt; runs as 'chello' shell command.
- Makefile: auto-build c/*.bin, track as a dep of programs.o; gitignore blobs.
- README: document the C toolchain + the SDCC --asm=rgbds codegen bug that
  forced the native-toolchain approach.
- verified: '$ chello' -&gt; 'hello from C on gbos!' / 'my pid is 2'.
</content>
</entry>
<entry>
<title>gbos scaffold: working cooperative microkernel (verified ABAB in emulator)</title>
<updated>2026-07-15T21:44:28Z</updated>
<author>
<name>user</name>
<email>user@clank</email>
</author>
<published>2026-07-15T21:44:28Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/gbos.git/commit/?id=de725da74db5cba0f9bfd0755269e1683423d87b'/>
<id>urn:sha1:de725da74db5cba0f9bfd0755269e1683423d87b</id>
<content type='text'>
- fix ClearKernelRAM clobbering the kernel stack (only clear $C000-$CBFF)
- fix SyscallTrap clobbering DE (buffer arg) during table dispatch
- README: run via ~/dev/gbc --headless; note bring-up bugs
</content>
</entry>
</feed>
