<feed xmlns='http://www.w3.org/2005/Atom'>
<title>picow/doc, branch main</title>
<subtitle>Launcher for the PICO-8 Wasm Runtime</subtitle>
<id>http://src.lordello.net/picow/atom/doc?h=main</id>
<link rel='self' href='http://src.lordello.net/picow/atom/doc?h=main'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/'/>
<updated>2026-10-27T14:26:20Z</updated>
<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>Update Journal Entry</title>
<updated>2026-10-26T08:21:18Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-26T08:21:18Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=78a0be33a3b729272f022c7a49e827be1971f90a'/>
<id>urn:sha1:78a0be33a3b729272f022c7a49e827be1971f90a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix Byte Order for Surface Pixels</title>
<updated>2026-10-12T18:31:10Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-12T18:31:10Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=e06434fd89345fdc4e931f6fa3904626d75097db'/>
<id>urn:sha1:e06434fd89345fdc4e931f6fa3904626d75097db</id>
<content type='text'>
I went down a deep rabbithole to understand the pixel order, and
it turns out that the Emscripten library code is setting the wrong
`format` value for what it actually uses, which threw me off.

We now set the correct pixel format tag, and handle pixel byte
ordering correctly on the host.

Some other minor fixes.
</content>
</entry>
<entry>
<title>Factor Out Controller Logic</title>
<updated>2026-10-09T08:11:21Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-09T07:29:28Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=c62d8a1a22379a04e09623b60f8bd88a3e042040'/>
<id>urn:sha1:c62d8a1a22379a04e09623b60f8bd88a3e042040</id>
<content type='text'>
Start factoring out controller logic, note that we need to manage
controllers at the app-level and not the scene level, as the
different scenes need gamepad events (for controlling cart selection
and passing to the game respectively).

There are some hacks to work around how the new abstraction does
not exactly fit the previous model, we will fix that up once we
wire up the rest of input handling: PICO-8 needs keyboard and mouse
events only from the host, and they need to be in SDL 1.3 format
(the Emscripten SDL builtin that PICO-8 uses).
</content>
</entry>
<entry>
<title>Remove Boot Cart</title>
<updated>2026-06-21T11:15:53Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-06-21T11:15:53Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=9b8c08d38511c001e94ba35634d6a5efa67d5b1d'/>
<id>urn:sha1:9b8c08d38511c001e94ba35634d6a5efa67d5b1d</id>
<content type='text'>
Instead of a boot cart (which would just be really complicated to
properly implement), just implement a basic game selector in SDL
directly.

We can just implement a very basic cart selection interface that
cycles through all carts in the cart directory (supporting `.p8`,
`.p8.png` and `.p8.rom` formats).
</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>
<entry>
<title>Fibonacci Test Passes</title>
<updated>2025-04-20T08:16:42Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-04-20T08:16:42Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=00330b81483399020ec542c2bc7cdd2b452b5d2b'/>
<id>urn:sha1:00330b81483399020ec542c2bc7cdd2b452b5d2b</id>
<content type='text'>
We can now run the fibonacci program, including a native function
import. This is a great first step, and now we need to start
implementing PICO-8 library functions (basically, `emcc` library, but
one that is both more stubbed and supports the `setjmp` and `longjmp`
which does not appear to be the case for the included implementation
in WAMR).

But before, a small build system refactoring detour to make building
WAMR and PICO-w easier for both SDL platforms and Vita platform.
Additionally, the platform stubs that we use in the WAMR test might
need to change a bit, in order to allow PICO-w SDL and Vita platforms
to implement certain details differently.
</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>
