PicoMite RP2040: V6.00.00 betas


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11330
Posted: 08:15am 18 Sep 2024      

Harm

I've found the problem. In your code you create the framebuffer and then set to write to it.
Sometime later in set_screen you call MODE 1
In the new release changing mode resets the framebuffers and layer buffers because the contents are meaningless after a mode change.
If you remove the framebuffer create and framebuffer write from the top of the program and include them in set_screen after the call to MODE then everything will work as before.
This is not a change I intend to undo as it should have been in previously. I could special case where the MODE command is to the same as before but this could hide bugs where the program was run from a different mode.

Martin
Could this also be the cause of your issue?