aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2025-04-24 21:54:42 +0200
committerNicholas Rodrigues Lordello <[email protected]>2025-04-24 21:54:42 +0200
commitaf7506df87baaceba404108333abb14019c93891 (patch)
tree266e99617e63f526f12c0c36fbefa801363aafc1 /doc
parentd666ebb2c314a7cc3129ddea3c704638f139c311 (diff)
Some More Notes
And small build system changes.
Diffstat (limited to 'doc')
-rw-r--r--doc/journal.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/journal.md b/doc/journal.md
index 697c27c..c38e841 100644
--- a/doc/journal.md
+++ b/doc/journal.md
@@ -1,3 +1,11 @@
+# 24.04.2025
+
+It looks like PICO-8 _does_ support labels with the extended colors (as a fun fact, it uses the characters `g` to `v` to encode the colors from the secret palette. This means that, unfortunately, we cannot use a pure PICO-8 boot cart, as we cannot guarantee we will be able to display all the colors necessary for a splash image.
+
+# 21.04.2025
+
+Implementing a cart loader in PICO-8 would be ideal - we can use the existing runtime to control everything from drawing to reading the file system. The current idea is to have special `$/` paths for loading system data (such as file lists and PNG labels for carts). There are some open questions about how this would work with the secret palette, so some additional investigation is needed.
+
# 20.04.2025
After some painful debugging, I figured out that `invokeNative` implementation in WAMR relied on platform and ABI specific semantics, and that `invokeNative_general.c` implementation was not portable. Instead, there is a `_raw` variant for native functions where the arguments and returns need to be manually setup and extracted, but this is portable and doesn't rely on platform specifics - so I will use this instead. Note that I stubbed out the `invokeNative` implementation so that you get runtime errors if you try and use it.