<feed xmlns='http://www.w3.org/2005/Atom'>
<title>picow/.gitignore, branch main</title>
<subtitle>Launcher for the PICO-8 Wasm Runtime</subtitle>
<id>http://src.lordello.net/picow/atom/.gitignore?h=main</id>
<link rel='self' href='http://src.lordello.net/picow/atom/.gitignore?h=main'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/'/>
<updated>2026-10-30T12:16:18Z</updated>
<entry>
<title>Fix Build for PS Vita Port</title>
<updated>2026-10-30T12:16:18Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-30T12:16:18Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=a64aa9dfa8abd7934f7969eaa2ee1086d4189eeb'/>
<id>urn:sha1:a64aa9dfa8abd7934f7969eaa2ee1086d4189eeb</id>
<content type='text'>
I forgot to commit the makefile configuration, and also added some
other small improvements to help with the poor performance (still
only around 20 FPS).
</content>
</entry>
<entry>
<title>New Configuration System</title>
<updated>2026-10-10T23:15:38Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-10T23:10:42Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=ef58362bfc5df3173de96a6a56d0d3982d5f1ddc'/>
<id>urn:sha1:ef58362bfc5df3173de96a6a56d0d3982d5f1ddc</id>
<content type='text'>
We now read a `config.ini` from the SDL preference path for
options and parse CLI.

We now also disable `getopt` parsing on platforms that do not
support it, falling back to the `config.ini` system in those cases.

Additionally, carts are read from that directory as well -
allowing us to simplify the build system (as we no longer build
any `.p8.png` files in the `carts` directory).
</content>
</entry>
<entry>
<title>Introduce Cart Module</title>
<updated>2026-09-28T15:01:10Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-09-28T15:01:10Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=4a6403c6b682cf3b03f80a5ba3a6286e30555014'/>
<id>urn:sha1:4a6403c6b682cf3b03f80a5ba3a6286e30555014</id>
<content type='text'>
In an effort to split up `picow.c` into smaller modules, add a `cart`
module that includes logic for listing and loading cart files. We
also added multi-cart support (by creating special `.p8.dir`
directories for each individual parent cart that specifies which
carts can be loaded in-game).

Small fixes to the Makefile.
</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>Refactor Makefile... Again</title>
<updated>2026-09-13T20:22:17Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-09-13T20:00:18Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=674abec04cc06de1b451d4efbbb52ca8b202beee'/>
<id>urn:sha1:674abec04cc06de1b451d4efbbb52ca8b202beee</id>
<content type='text'>
We now have a monolithic Makefile which is, IMO, easier to grok.
Additionally, all building happens in the `target/` directory to
keep things cleaner.

The makefile also considers cross-compilation by distinguishing
between the target C compiler and a host C compiler (used for tools
needed for code generation).

Lastly, dependencies are compiled into static libraries, to keep
the process more organized (we used to just link a bunch of object
files as a final step, now we pack the dependencies into archives
and link them as a final step; so no effective difference).
</content>
</entry>
<entry>
<title>Just Build It</title>
<updated>2026-06-21T12:21:32Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-06-21T12:21:32Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=a290eaab66eda29da69c9d5f28b8753fb4d7a65e'/>
<id>urn:sha1:a290eaab66eda29da69c9d5f28b8753fb4d7a65e</id>
<content type='text'>
I had tried to split the PICO-w stuff into a separate library
and have individual platform code, but I will instead embrace the
SDL and just build on top of it.
</content>
</entry>
<entry>
<title>Update Build System</title>
<updated>2025-09-18T05:51:22Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-09-18T05:51:22Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=77e3b7d8032be52f0b479bd17fec5c31803ebf31'/>
<id>urn:sha1:77e3b7d8032be52f0b479bd17fec5c31803ebf31</id>
<content type='text'>
We now build WAMR sources directly into our binary (instead of using a
static library). Additionally, we now split the build into multiple
files to make things more manageable.
</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>Changed Boot Sequence</title>
<updated>2025-05-24T10:23:55Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-05-24T10:23:55Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=47a60f0f1c71d6e5bca5d8ee72f0ad7c63e1817c'/>
<id>urn:sha1:47a60f0f1c71d6e5bca5d8ee72f0ad7c63e1817c</id>
<content type='text'>
We now have a "sysroot" folder with a "boot" cart, and a separate
"carts" folder containing the games.
</content>
</entry>
<entry>
<title>Some More Notes</title>
<updated>2025-04-24T19:54:42Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-04-24T19:54:42Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=af7506df87baaceba404108333abb14019c93891'/>
<id>urn:sha1:af7506df87baaceba404108333abb14019c93891</id>
<content type='text'>
And small build system changes.
</content>
</entry>
</feed>
