From ba2d7ae1d7b319645b10aaa31a7f664f9f80c25c Mon Sep 17 00:00:00 2001 From: user Date: Sat, 18 Jul 2026 00:38:38 +0200 Subject: refactor: c/ -> usr/, compiled program blobs out of the source tree 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. --- usr/spin.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 usr/spin.c (limited to 'usr/spin.c') diff --git a/usr/spin.c b/usr/spin.c new file mode 100644 index 0000000..2a3d4e8 --- /dev/null +++ b/usr/spin.c @@ -0,0 +1,6 @@ +#include "gbos.h" +/* spin: a harmless long-running process that just yields forever. + Useful as a target for `ps` and `kill`. */ +void main(void) { + for (;;) yield(); +} -- cgit v1.3.1-sl0p