<feed xmlns='http://www.w3.org/2005/Atom'>
<title>picow/tools/extract-data-pod.c, branch main</title>
<subtitle>Launcher for the PICO-8 Wasm Runtime</subtitle>
<id>http://src.lordello.net/picow/atom/tools/extract-data-pod.c?h=main</id>
<link rel='self' href='http://src.lordello.net/picow/atom/tools/extract-data-pod.c?h=main'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/'/>
<updated>2026-10-29T15:25:31Z</updated>
<entry>
<title>Prebuild System Files</title>
<updated>2026-10-29T15:25:31Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-29T15:09:56Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=93a202d1fa6cd05b494bbf7175d79c6da075f333'/>
<id>urn:sha1:93a202d1fa6cd05b494bbf7175d79c6da075f333</id>
<content type='text'>
In order to make it easier to build `picow` on systems _without_
PICO-8 support (which what this project targets...), we added a
system for producing a `system.tar.gz` tarball that contains the
generated system source required for building PICO-w (namely, the
`pico8.wasm` transpiled to C, and the `sysroot` with the embedded
data files needed by the application).

I also moved away from `a b c: ...` style recipes, as they run
multiple times in parallelized builds. I made it compatible with
older `make`s, and it will hopefully generally work.
</content>
</entry>
<entry>
<title>Generate Sysroot in Build Directory</title>
<updated>2026-09-17T10:10:35Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-09-17T10:09:55Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=7d54f3115d5acd58352a095206869d7b7d908d5f'/>
<id>urn:sha1:7d54f3115d5acd58352a095206869d7b7d908d5f</id>
<content type='text'>
This is a mouthful! We now generate `sysroot.c` **and** its
corresponding header file `sysroot.h`. We also made a few
modifications to the Makefile to better support out builds:

- We now output to `build/` - this plays nicer with tooling
  as that is the typical directory created by CMake, and
  helps with things like `compile_commands.json` being
  automagically picked up by `clangd`.
- We now have a recipe for building a `compile_commands.json`
  file, so that `clangd` can provide LSP support out-of-the
  box. It works by creating a small wrapper `ccj` compiler
  that adds the required `-MJ &lt;path&gt;` option to clang. This
  is an adhoc solution to avoid pulling in additional build
  dependencies to the project, and works well enough :)
</content>
</entry>
<entry>
<title>Embed Sysroot Into Binary</title>
<updated>2025-06-14T13:11:08Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-06-14T13:11:08Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=e3a1beda8665f4757aa7cab727fcf3b09419a451'/>
<id>urn:sha1:e3a1beda8665f4757aa7cab727fcf3b09419a451</id>
<content type='text'>
We now embed the PICO-w sysroot files (the WASM blob,
data pod and boot rom) into the final `picow` binary in
order to simplify distribution. This commit adds a new
`generate-sysroot` tool to achieve it.
</content>
</entry>
<entry>
<title>Minor Fixes</title>
<updated>2025-04-14T22:13:43Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-04-14T22:13:43Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=9845ce1f39c1f40f2a2aec33f1c7a031e2ef1b6c'/>
<id>urn:sha1:9845ce1f39c1f40f2a2aec33f1c7a031e2ef1b6c</id>
<content type='text'>
- `argv` size specifier
- WASM -&gt; Wasm
</content>
</entry>
<entry>
<title>PNG Cart Support</title>
<updated>2025-04-14T21:16:39Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-04-14T21:11:27Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=ba49282bf8bc1e52db08a53bf3606d2324f8caf5'/>
<id>urn:sha1:ba49282bf8bc1e52db08a53bf3606d2324f8caf5</id>
<content type='text'>
We now support loading cart roms from .p8.png file :tada:!
</content>
</entry>
<entry>
<title>Extra PICO-8 Data Pod</title>
<updated>2025-04-12T20:27:40Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-04-12T20:27:40Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=b5620018b8b9f78742dd1ac08a64f2f19241346e'/>
<id>urn:sha1:b5620018b8b9f78742dd1ac08a64f2f19241346e</id>
<content type='text'>
Add a tool for extracting the PICO-8 data.pod file that is exported
with the cart. This includes (on inspecting the binary) the boot
sequence cart among some other things.

It is written as a quick and dirty C program (since we will have to
practice our C anyway).
</content>
</entry>
</feed>
