<feed xmlns='http://www.w3.org/2005/Atom'>
<title>picow/src/cart.h, branch main</title>
<subtitle>Launcher for the PICO-8 Wasm Runtime</subtitle>
<id>http://src.lordello.net/picow/atom/src/cart.h?h=main</id>
<link rel='self' href='http://src.lordello.net/picow/atom/src/cart.h?h=main'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/'/>
<updated>2026-10-29T12:33:26Z</updated>
<entry>
<title>Minor Fixes</title>
<updated>2026-10-29T12:33:26Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-29T12:22:28Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=838d75bce98ca5a1f90f762e80d2aa649d4e0642'/>
<id>urn:sha1:838d75bce98ca5a1f90f762e80d2aa649d4e0642</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor Embedded Cart Loading</title>
<updated>2026-10-27T15:30:52Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-27T15:25:33Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=a7bf69b22a9b7559e40031b9d1ad16385e029511'/>
<id>urn:sha1:a7bf69b22a9b7559e40031b9d1ad16385e029511</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Multicart Loading with BBS</title>
<updated>2026-10-27T14:26:20Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-27T14:26:20Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=8dda4698251ac7c724005a158d9c11e90a44c7e9'/>
<id>urn:sha1:8dda4698251ac7c724005a158d9c11e90a44c7e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various Small Bug Fixes</title>
<updated>2026-10-23T21:03:39Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-23T20:07:14Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=1c4eada99c6f98eae40c676d261c8d4fc1de6079'/>
<id>urn:sha1:1c4eada99c6f98eae40c676d261c8d4fc1de6079</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor Multicart Loading</title>
<updated>2026-10-19T18:55:01Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-19T18:55:01Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=381e246e73f271be2821dd9208edd2aa09bfc583'/>
<id>urn:sha1:381e246e73f271be2821dd9208edd2aa09bfc583</id>
<content type='text'>
When starting to implement the ASM constants, I noticed that the
multicart support would be _WAYYYYY_ easier if all the multicarts
are just passed in as embedded cart data.

Here, we modify the cart module to introduce a new "cartdat" type
that represents a cart export (either a single cart, for the regular
case, or multiple carts for the multicart case). This simplifies
lots of code, and allows us to use the ASM constants for passing in
cart data without additional glue logic.

It mimics how the PICO-8 export works for multi-cart code as well.

Lastly, cart names now include the `.p8` extension in the name,
to match how they work with the multicart export. I'm not sure how
this will interact with splore multi-cart loading (i.e.
`LOAD("#SOMECART")`).
</content>
</entry>
<entry>
<title>Separate Scene Logic</title>
<updated>2026-10-09T22:16:57Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-09T22:16:57Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=70d2db07ec4dd5034c6d888258a3fd945c67e4d4'/>
<id>urn:sha1:70d2db07ec4dd5034c6d888258a3fd945c67e4d4</id>
<content type='text'>
We now have two separate "scenes":

- cart selection
- game

In their own modules. Instead of implementing some scene management
logic, we just hardcode the scene logic directly in the `picow`
main module - I don't forsee more scenes and there is no need to
over-engineer at this point.
</content>
</entry>
<entry>
<title>Refactor Out Path Utilities</title>
<updated>2026-10-01T08:19:27Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-01T08:19:27Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=36213f7dfd59ab0f3e99b88e14b653723ca37d64'/>
<id>urn:sha1:36213f7dfd59ab0f3e99b88e14b653723ca37d64</id>
<content type='text'>
Move path utilities (basename, joining, etc.) to a separate module.
`-h` now prints the basename of arg0 instead of arg0. Avoid some
macros and replace with a small helper function.
</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>
</feed>
