Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:26 27 Jul 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Next project: Micropython on the Pico Computer 3 - progress reports

     Page 3 of 3    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11668
Posted: 03:20pm 23 Jul 2026
Copy link to clipboard 
Print this post

yes, they share most of the code and should be in sync
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3829
Posted: 03:59pm 23 Jul 2026
Copy link to clipboard 
Print this post

Both Claude Code and Gemini report "out of memory" on every usqlite attempt, including opening. I'm reverting to 0.10.

Everything Gemini tried on v0.10 worked.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11668
Posted: 04:08pm 23 Jul 2026
Copy link to clipboard 
Print this post

  Quote  Both Claude Code and Gemini report "out of memory"

Have you got PSRAM? Try running it yourself rather than using AI. I guarantee your test program works
What are Claude and Gemini actually testing? Unless you give me actual programs that fail I can't do anything and your reports are pointless
Edited 2026-07-24 02:28 by matherp
 
okwatts
Regular Member

Joined: 27/09/2022
Location: Canada
Posts: 78
Posted: 04:46pm 23 Jul 2026
Copy link to clipboard 
Print this post

Sorry to nitpick but new download of the .v11 emulator has a banner claiming v.10
Is this the right version?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11668
Posted: 04:50pm 23 Jul 2026
Copy link to clipboard 
Print this post

It probably wasn't rebuilt after I changed the version but the code should be OK
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3829
Posted: 06:54pm 23 Jul 2026
Copy link to clipboard 
Print this post

  matherp said  Have you got PSRAM?


I have PSRAM. I flashed v0.11 again and the test program runs and the "Out of memory" errors aren't occurring, so I'd have to guess it was a flashing problem, although by appearance there was no issue.

Meanwhile, it's hard to keep up, but I'm trying to be a fast follower. Gemini  Antigravity CLI 1.1.5 with a Pro monthly subscription running in Windows PowerShell built this in about an hour, talking directly to the PicoCom3 over Com4.



Youtube Northwinds

I plugged in the usb RF module from this to get mouse and keyboard:



~
Edited 2026-07-24 05:02 by lizby
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 2012
Posted: 08:07pm 23 Jul 2026
Copy link to clipboard 
Print this post

@lizby

This is too    
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11668
Posted: 11:24am 24 Jul 2026
Copy link to clipboard 
Print this post

v0.12 released

https://github.com/UKTailwind/micropython/releases/tag/v0.12

New in v0.12

   SQLite hardened against resets and power loss — a full review of the on-device SQLite engine (import usqlite) fixed three classes of defect. A soft reset (Ctrl-D) with a database open no longer corrupts the engine (previously the next session could hard-lock on its first db.close()); connections and cursors are now fully garbage-collector-safe (a use-after-free on close(), and dropped connections leaking their memory for the rest of the session); INTEGER columns are now true 64-bit in both directions — millisecond timestamps stored from Python no longer overflow on write or silently wrap on read. Filesystem trouble (missing directory, full flash, an SD card pulled mid-query — pulling the card is a supported action) now raises a clean Python error and leaves the engine healthy instead of unwinding through SQLite's internals. And power-fail recovery now actually works: a power cut mid-write leaves a "hot journal" that is detected and rolled back on the next open, where previously a torn database could be served as valid — verified on hardware with physical power pulls during committed batch writes (clean rollback each time). The API is unchanged and existing databases are unaffected. On-device test suite included (tests/sqltest_a..e.py).

   USB mouse: high-resolution mice fixed, and any HID mouse now works — mice reporting 12- or 16-bit movement moved erratically: the firmware left the mouse in USB boot mode (plain 8-bit reports) while decoding the full-resolution format the mouse describes, so the two never matched. The mouse is now switched to report mode at connect (as MMBasic does), and the decoder has been generalised to read each mouse's own HID descriptor — any button count, movement resolution, wheel position or report-ID scheme — instead of recognising three fixed layouts. Combo receivers that share the mouse interface with media keys no longer jitter the cursor when those keys are pressed, and a mouse that refuses the mode switch falls back cleanly to 8-bit decoding.

   PC emulator — the refreshed pc3emu-linux-x64.tar.gz carries all of the above (banner v0.12). Runs on Linux, and on Windows via WSL2 — see INSTALL-WINDOWS.md inside the tarball. Needs glibc 2.43 / Ubuntu 26.04+ for the prebuilt binary; on older systems build from source (a few minutes, any distro).

   Manual and development notes updated (the mouse section now documents descriptor-driven support for any standard HID mouse).
Edited 2026-07-24 22:09 by matherp
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3829
Posted: 03:08pm 24 Jul 2026
Copy link to clipboard 
Print this post

Claude code reports that all the hangs it had encountered with v0.11 have been fixed in v0.12. The 56 queries from PicoDB all run successfully against the 64K dataset when both queries and data are converted to SQL.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS
 
Bleep

Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 820
Posted: 01:09pm 26 Jul 2026
Copy link to clipboard 
Print this post

Hi Peter,
I'm currently attempting to write bubble universe in Python, I have a, currently V.slow, working version. But I've found a problem when I Ctl-C out.
If I use fm() and go straight to the program and run it I can't Ctl-C out, if I edit it first I can? running it straight from the command line Ctl-C works fine. This is from a terminal or a USB keyboard on a HDMIUSBI2S V0.14
Regards Kevin.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 608
Posted: 02:34pm 26 Jul 2026
Copy link to clipboard 
Print this post

Can anyone with a pico 3 board run the Another World game port on it? I'm curious to know if it will run and if it will have a decent performance
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3829
Posted: 03:09pm 26 Jul 2026
Copy link to clipboard 
Print this post

Leo--I gave Claude Code the link to your post and asked it to get the program. It got that but said the data is under copywrite and it wouldn't get it.

(Note--I'm older than most of you guys, was over 30 when I made my first CP/M PC and never played any of these games on the PC, so 1) I don't know how, and 2) I don't have the hand/eye coordination memory. Plus no nostalgia impetus.)

Claude also said:
  Quote  Fair warning on speed: the Pico3 renderer writes all 64,000 pixels of each 320×200 frame in a Python loop, and the author hadn't tested on real hardware. It should run, but likely as a slow slideshow, not full speed. Sound isn't implemented.

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 608
Posted: 04:20pm 26 Jul 2026
Copy link to clipboard 
Print this post

To have access to the game files I bought the game here:

https://www.gog.com/en/game/another_world_20th_anniversary_edition

Theses files are not on the git repository. The post online is related to the game engine.

My post contains instructions on how to run the game.

Regarding performance, I will work on it after having the pico 3 board on hands.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11668
Posted: 05:10pm 26 Jul 2026
Copy link to clipboard 
Print this post

  Quote  'm currently attempting to write bubble universe in Python, I have a, currently V.slow, working version. But I've found a problem when I Ctl-C out.
If I use fm() and go straight to the program and run it I can't Ctl-C out, if I edit it first I can? running it straight from the command line Ctl-C works fine. This is from a terminal or a USB keyboard on a HDMIUSBI2S V0.14


firmware updated on https://github.com/UKTailwind/micropython/releases/tag/v0.14
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026