1
Thumby / Porting micropython thumby libraries to C?
« on: April 04, 2024, 11:40:06 AM »
I'm starting to look into how i want to make games for the thumby but I realized there's a lot of micropython only functionality like saves and sprites. (I'm addicted to C).
Could someone give me a few pointers and how to reimplement the micropython stuff in C? Here's some of the specific stuff I was trying to figure out:
Where in the micropython fork should I be looking for thumby specific stuff? there's a couple of branches and files, is it all just in rp2? Whats actually loaded on the thumby? there's probably something in the code editor repo i haven't found yet...
For hardware interaction I definitely need to figure out how to load littlefs or whatever filesystem abstraction micropython is using. Is there a specific place in the repo that deals with that? I might just try loading up a littlefs C library..
Also is there any other hardware interactions that C is missing besides the filesystem? I see a sprite system but maybe that's just a nice wrapper around loading sprites and writing them to the buffer.
(anyhow thanks for reading)
Could someone give me a few pointers and how to reimplement the micropython stuff in C? Here's some of the specific stuff I was trying to figure out:
Where in the micropython fork should I be looking for thumby specific stuff? there's a couple of branches and files, is it all just in rp2? Whats actually loaded on the thumby? there's probably something in the code editor repo i haven't found yet...
For hardware interaction I definitely need to figure out how to load littlefs or whatever filesystem abstraction micropython is using. Is there a specific place in the repo that deals with that? I might just try loading up a littlefs C library..
Also is there any other hardware interactions that C is missing besides the filesystem? I see a sprite system but maybe that's just a nice wrapper around loading sprites and writing them to the buffer.
(anyhow thanks for reading)