<feed xmlns='http://www.w3.org/2005/Atom'>
<title>picow/lib, branch main</title>
<subtitle>Launcher for the PICO-8 Wasm Runtime</subtitle>
<id>http://src.lordello.net/picow/atom/lib?h=main</id>
<link rel='self' href='http://src.lordello.net/picow/atom/lib?h=main'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/'/>
<updated>2026-10-17T08:55:04Z</updated>
<entry>
<title>Remove Vendored WAMR Code</title>
<updated>2026-10-17T08:55:04Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-17T08:55:04Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=aa5f6a215d3676a184a5d199acfbe7ee08ba7378'/>
<id>urn:sha1:aa5f6a215d3676a184a5d199acfbe7ee08ba7378</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed Minor Portability Issues</title>
<updated>2026-10-10T18:25:21Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-10T18:25:21Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=bfcf30e800c68e0289f17b3967081280fca6592c'/>
<id>urn:sha1:bfcf30e800c68e0289f17b3967081280fca6592c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove STB Static Library</title>
<updated>2026-09-28T15:06:58Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-09-28T15:06:58Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=4c075349a678119cc4bc08e5a969a3c773866cae'/>
<id>urn:sha1:4c075349a678119cc4bc08e5a969a3c773866cae</id>
<content type='text'>
We now build STB image library directly in the `cart` module, so
we no longer need to build it as a static library.
</content>
</entry>
<entry>
<title>Instantiate Test WASM Module</title>
<updated>2026-09-12T19:17:42Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-09-12T19:17:42Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=c3c1b6799f588cea69744a38a7f81207a0248ec6'/>
<id>urn:sha1:c3c1b6799f588cea69744a38a7f81207a0248ec6</id>
<content type='text'>
In order to play around and understand how to use WAMR and what
host functions are actually needed by the PICO-8 WASM module, add
some test code to PICO-w. **This will be removed**.
</content>
</entry>
<entry>
<title>Collapse png.c Into Main</title>
<updated>2026-06-27T19:42:29Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-06-27T19:42:29Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=02ac0ab99c1a7b727dc40b32138730401cb94d89'/>
<id>urn:sha1:02ac0ab99c1a7b727dc40b32138730401cb94d89</id>
<content type='text'>
The `png` module was tiny and not worth being on its own. Instead
build the STB image code into a `lib/stbi.c`. This was prompted
because we wanted to lint with `clang-tidy` and it was pulling in
STB code because it is a single header library.
</content>
</entry>
<entry>
<title>Update WAMR to 2.4.4</title>
<updated>2026-06-21T11:41:21Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-06-21T11:41:21Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=25d6188009ce36e0a59edb52b192c0738b4123cc'/>
<id>urn:sha1:25d6188009ce36e0a59edb52b192c0738b4123cc</id>
<content type='text'>
Update WAMR to the latest release (2.4.4). Note that we needed to
pull in a couple additional unused headers (AoT related stuff,
which we do not have enabled).
</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>Export Memory and Table</title>
<updated>2025-04-21T10:17:42Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-04-21T10:17:42Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=d666ebb2c314a7cc3129ddea3c704638f139c311'/>
<id>urn:sha1:d666ebb2c314a7cc3129ddea3c704638f139c311</id>
<content type='text'>
In our WAMR test, export memory and table to make sure the runtime works
with the PICO-8 WASM blob.
</content>
</entry>
<entry>
<title>Add Support For Global Imports</title>
<updated>2025-04-21T09:56:35Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-04-21T09:56:35Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=27e4f2e6e5430953cc8c6838bdf6359ea8d81347'/>
<id>urn:sha1:27e4f2e6e5430953cc8c6838bdf6359ea8d81347</id>
<content type='text'>
We now support global imports; this was quite a bit more complicatd than
expected:

1. `clang` does not have a built-in mechanism for emitting Wasm with
   global imports, so we need to do some manual `__asm__` in order to
   get it to work.
2. There are not runtime functions in WARM for linking global imports in
   a module. We added a runtime function for manually linking global
   imports with a specified list of native globals. In theory, it would
   have been nice to register the globals so that they get linked at
   module initialization time, but this would have been a lot more work
   as it would have required editing the loader code.
</content>
</entry>
</feed>
