MMBasic on Pimoroni and Luckfox Lyra?

Early days I know yet has anyone got PicoMite (with the latest MMBasic) working on the Pimoroni Pico Plus 2 and Luckfox Lyra RK3506G2 ?

The Pimoroni has a larger flash chip and extra 8Mb psram already onboard that both might cause issues. Does the onboard psram add to the psram on the Picocalc main board giving you 16Mb or data copied to both in parallel so still 8Mb ??

The Luckfox should be MUCH faster but of course a completely different processor.

1 Like

not a basic, but linux on Luckfox Lyra

And from there, you can run mmbasic on linux. I’ve been having a bit of fun with it on my uconsole.

2 Likes

The latest MMBasic runs on that under Linux with no issues ??

I’m using @thwill’s build on his github.

You just put the executable where you put your executables and put the nano config files at ~/.mmbasic. I am running it with no problems except one. The controller is properly detected, but the A and B buttons are swapped. This is not intentional due to a ABXY vs. BAYX layout difference as the basic programs archive he posted has a controller test which lays out the controller visually. I haven’t begun to troubleshoot it.

1 Like

Amongst other things I guess it depends on whether the Luckfox Lyra has enough oomph to run SDL2.

… but the A and B buttons are swapped.

Hmm, I checked on my build machine and they seem to be fine there. I don’t have a uConsole but possibly a bad SDL controller mapping ? … though I would have thought you’d have seen that as an issue elsewhere.

Note that the Controller Test utility, like most of the other programs in my MMBasic Game*Pack, uses OPTION SIMULATE “PicoMiteVGA” to tell MMB4L to pretend it is a PicoMiteVGA driving an attached SNES controller (with its two 8-bit shift-registers) via GPIO … so there is some scope for me to have messed it up.

Best wishes,

Tom

I don’t think anyone has tried MMBasic on the Lyra yet. Note that @YoelFievelBenAvram said they have tried it on a uConsole.

1 Like

There was a video of pico 8 running on a luckfox lyra, and that also depends on sdl2, so I imagine it would be more than enough for mmbasic. I set the sdl mapping with a graphical program and it works with everything else. I can export a map with a and b swapped and it fixes the problem. The other programs I use let me set the map in a sdl controllers file, so I just swapped the a and b in .bashrc, and that is an acceptable bandaid.