diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-26 09:21:18 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-26 09:21:18 +0100 |
| commit | 78a0be33a3b729272f022c7a49e827be1971f90a (patch) | |
| tree | 75e176454d23177301dc4ab92c76c94bd3ac6988 | |
| parent | 4957ca8373273721017fc8106b52d5bc6b2a0180 (diff) | |
Update Journal Entry
| -rw-r--r-- | doc/journal.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/journal.md b/doc/journal.md index a0d18b5..a55cb81 100644 --- a/doc/journal.md +++ b/doc/journal.md @@ -1,3 +1,13 @@ +# 26.10.2026 + +We are able to boot! It was mostly mechanically porting the Emscripten glue code to C+SDL3, and not weird surprises. One issue I _do_ have right now is that there is no "QUIT" entry in the pause menu like there is when you export as `.BIN`; I would _love_ for this to work so that I can use this entry as a mechanism to navigate back to the cart selection menu from a running game. + +I would need to look at the Wasm decompilation to see whether or not this is possible; and how to hook into it with the exports to make it happen (I may have just copied over one of the imports from Emscripten which makes it behave like the HTML exports (which also do not have a "QUIT" entry). + +There other issue I have is around multicarts that load with BBS ids (so `LOAD("#FOO")`). These do not appear to search in the usual embedded cart data like for regular `LOAD("FOO.P8")` multicarts; and go over the `wget` download mechanism. My hope is that PICO-8 just fetches some BBS metadata and would be able to find the embedded cart via its digest (for context, all of the embedded carts get a `mount_embedded_cart: $NAME.p8 ($SIZE chars) $SHA256SUM` line, and on a BBS load, a `codo_wget_onerror: /user_data/bbs/carts/temp-$NAME.nfo` error after attempting to `wget /bbs/cpost_lister3.php?nfo=1&version=000207e&lid=$NAME` over ASM consts; I was under the impression that PICO-8 would cache BBS downloads, so I hope that this `.nfo` file has some metadata that would allow PICO-8 to reuse the mounted embedded cart). + +The final issue is around clipboard support. It appears that POOM in particular makes use of the clipboard (maybe to send data over loaded carts?), so we should probably implement it. I don't think it would be too challenging, and would mostly revolve around keeping some clipboard data loaded in `pw_input` so that we can properly implement the ASM constants. + # 12.10.2026 Looking at the exported Emscripted glue code, it encodes the pixel format as `0x86462004` which is `SDL_PIXELFORMAT_RGBA8888` - an endian-independent pixel format. For example, the PICO-8 baby blue is encoded as: |
