Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:32 02 Dec 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 : PicoMite V7.00.00 Release

     Page 1 of 2    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12306
Posted: 03:11pm 18 Nov 2026
Copy link to clipboard 
Print this post

PicoMite V7.00.00 released

V7.00.00 is the first full release since V6.03.01 in August, and gathers everything from the 6.04.00 and V7 test releases since then. The attached pdf,PicoMite MMBasic V7.00.00: what has changed since V6.03.01,
PicoMite_V7.00.00_Changes_since_V6.03.01.pdf
lists every change by subject: what is new, what can affect an existing program, and what is fixed. The firmware for all 18 builds, the manual and the release notes are on GitHub: https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V7.00.00

Back up before you upgrade. Coming from V6.03.01 or earlier, every board is reset on its first boot of V7.00.00: the options return to their defaults, saved variables, the flash slots and program memory are cleared, and the A: drive is reformatted. Copy anything you need from A: to an SD card or your PC, and while the board still runs V6.03.01 save your settings with OPTION DISK SAVE "B:/myoptions.txt"; after upgrading, OPTION DISK LOAD "B:/myoptions.txt". V6.03.01 saved some values wrongly: after loading, give OPTION MOUSE SENSITIVITY again and recalibrate a touch screen if it is off. The PDF has the details.


The main changes
• Faster on every board. Against V6.03.01 on an RP2040 PicoMiteVGA, PETSCII Robots takes 16% less time per frame and Solar eclipse about 18% less. Every build also has more heap for variables, arrays and strings.
• A compiler on the RP2350. With OPTION COMPILE ON most of a program runs as native code, unchanged: you write and edit BASIC as before, and whatever the compiler cannot take runs as it always did.
• The language. Whole-array assignment (b%() = a%()), FUNCTIONs that return arrays, dimensions of a single element, LIBRARY LOAD to install a library from files (and a library in RAM on boards with PSRAM), BASE$, MATH CLAMP, MM.ERRLINE, and labels no longer counted towards the SUB and FUNCTION limit.
• The console. A HELP file, Print Screen (Ctrl-\), listings to a printer, serial port or file (LIST ALL #n and others), and a file manager that plays a track list.
• Graphics. Smaller SAVE IMAGE files and 32 DRAW3D objects; on the RP2350, SAVE PNG, PNG images of any size, FRAMEBUFFER MERGE on VGA and HDMI, and image slots in PSRAM.
• Sound. The BBC Micro's SOUND and ENVELOPE as PLAY BBC SOUND and PLAY BBC ENVELOPE, on every build.
• Files. ZMODEM transfers, and the A: drive on littlefs 2.11.3, which closes several ways a power failure could damage it.
• USB. A new USB host stack: hubs, USB drives (several hundred KB/s) and USB serial adapters are faster and more reliable, and more serial adapters and gamepads work.
• Bluetooth. On the Bluetooth host builds, Classic keyboards as well as BLE ones, speakers and headphones (OPTION AUDIO BLUETOOTH), and a Bluetooth serial device as COM7.
• Serial ports. A program's COM output is now sent before the ports close at its end, and CLOSE and FLUSH wait for the last character.
• Stepper (RP2350). Arcs blend with the moves around them, and the stepper works with I2S audio.
• mmb2csub. A tool that compiles one SUB or FUNCTION of your program into a CSUB, with no C to write.
• Two new builds. The PicoMitePC3 runs the Pico Computer 3 (HDMI, USB, WiFi and Bluetooth in one firmware, with a 256 KB program), and also the Pico Computer 2 and Olimex's RP2350pc, setting itself up for whichever it is on. The PicoMiteHDMIBTH brings Bluetooth keyboards, mice and speakers to the HDMI PicoMite.


Check your programs
A few changes can make a program that ran on V6.03.01 behave differently. They are all in the PDF's first chapter; the ones most likely to matter:

• -2^2 is now -4, as in mathematics (write (-2)^2 for 4).
• /* and */ must start their line, followed by a space, and /* cannot be used inside a SUB or FUNCTION; a program that breaks the rule is refused when it is loaded.
• Text after a SUB's bracketed arguments, as in MySub (a), b, is now an error rather than ignored.
• The same label twice is an error, names are limited to 31 characters, and BOUND() gives an error for a dimension an array does not have.
• OPTION TRACECACHE has gone, and MATH RANDOMIZE now gives the standard generator's sequences.
• A program that used nearly all of its memory may need OPTION SYMBOLS OFF as its first line. Five RP2350 builds take programs of up to 208 KB.


Known limitation
On the RP2350, STEPPER arcs (G2, G3) run faster than their feed rate away from the axes, up to 1.41 times at 45 degrees. Straight moves are not affected. It is GitHub issue #161 and will be fixed in a later release.

Thanks to everyone who tested the betas and release candidates. Please keep the reports coming, especially from existing programs.
 
karlelch

Guru

Joined: 30/10/2014
Location: Germany
Posts: 375
Posted: 05:52pm 18 Nov 2026
Copy link to clipboard 
Print this post

Wonderful - Thanks!!  
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 739
Posted: 06:19pm 18 Nov 2026
Copy link to clipboard 
Print this post

Very very AWESOME!!

THX
 
bfwolf
Senior Member

Joined: 03/01/2025
Location: Germany
Posts: 290
Posted: 09:00am 19 Nov 2026
Copy link to clipboard 
Print this post

 

Thanks from me, too!
 
terekgabor
Senior Member

Joined: 02/01/2026
Location: Hungary
Posts: 177
Posted: 08:08pm 21 Nov 2026
Copy link to clipboard 
Print this post

Hello Peter!

Thank you for this release!

I have a program using MM.CMDLINE$ in the beginning, because I can run it with some inital options.
I just wanted to split declaration to a library.
But if I use library command in the first line, MM.CMDLINE$ returns with empty string even if I use RUN ,”cmdlinestring”.

I tried to put it into the library, but got empty string in this case also.
Without library line it works properly.

Can you check it please?

Webmite version of 7.00.00.

Thanks!
G@bor
 
flip
Senior Member

Joined: 18/07/2016
Location: Australia
Posts: 143
Posted: 05:22am 22 Nov 2026
Copy link to clipboard 
Print this post

Hello Peter, all
Starting to automate development, am encountering issue with Running files from RAM.
Maybe missing something obvious.

It's 6 lines of code, Line 3 prints MM.INFO$(LINE) correctly, but at Line 5 it suddenly thinks it's in the LIBRARY and crashes. But the Format of Lines 3 & 5 is exactly the same.
Line 4 correctly does the RAM FILE LOAD, as I can run it at the last part of screen-scrape below.
Colour GREEN is what I entered, BLUE is what the outputs are

> list "RamFileLoadBug.BAS"
'App File runner and editor -Requires RP2350 PC2/PC3 with PSRAM
? mm.ver
? "This is Line ";mm.info$(LINE);"...about to load file into ram slot 4"
Ram file load 4,"Hello.bas",OVERWRITE
? "This is line ";mm.info$(LINE);". File 'Hello.bas' is loaded in RAM slot 4. Now about to Run it."
Ram Run 4
> ram erase all
> Ram file load 2,"RamFileLoadBug.BAS"
> ram run 2
7.000099
This is Line 3...about to load file into ram slot 4

[LIBRARY Print "This is line ";MM.Info(?);". File 'Hello.bas' is loaded in RAM slot 4. Now about to Run it."
Error : Invalid syntax

> ram list
RAM Slot 1 available
RAM Slot 2 in use: "'App File runner and editor -Requires RP2350 PC2/PC3 with PSRAM"
RAM Slot 3 available
RAM Slot 4 in use: "'Hello World in Slot 4"
RAM Slot 5 available

> ram run 4
Hello World
>

Regards Phil
PS - Note that '[LIBRARY Print' above is actually '[LIBRARY] Print' but the forum removes closing square brackets (bug in the forum software - just reported it)
Edited 2026-11-22 15:40 by flip
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12306
Posted: 09:54am 22 Nov 2026
Copy link to clipboard 
Print this post

Thanks for the report - found and fixed. I will probably replace the V7.00.00 builds on github - will report when done
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12306
Posted: 10:22am 22 Nov 2026
Copy link to clipboard 
Print this post

V7.00.00 has been updated on Github with the fix to the bug Phil found

https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V7.00.00
 
mclout999

Guru

Joined: 05/07/2020
Location: United States
Posts: 539
Posted: 08:04pm 22 Nov 2026
Copy link to clipboard 
Print this post

Matherp: or anyone else:

I have a PicoCalc and was wondering if the USB version could work with the PicoCalc's USB GPIO pins to get some USB devices to work?
They call me Shai-Hulud (The maker)
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12306
Posted: 09:56pm 22 Nov 2026
Copy link to clipboard 
Print this post

  Quote  
I have a PicoCalc and was wondering if the USB version could work with the PicoCalc's USB GPIO pins to get some USB devices to work?


It may possibly work if you plug, for example, a keyboard into the Pico USB port. Then, if you can blind set up the options needed you will get the display but, basically, in practical terms, NO
 
mclout999

Guru

Joined: 05/07/2020
Location: United States
Posts: 539
Posted: 05:23pm 23 Nov 2026
Copy link to clipboard 
Print this post

  matherp said  
  Quote  
I have a PicoCalc and was wondering if the USB version could work with the PicoCalc's USB GPIO pins to get some USB devices to work?


It may possibly work if you plug, for example, a keyboard into the Pico USB port. Then, if you can blind set up the options needed, you will get the display but, basically, in practical terms, NO


Thanks. It would have been nice with those 2 GPIO pins designated for USB. Thanks for the info, though.

EDIT: I just noticed that maybe you may have misconstrued what I was asking. The GPIO pins have 2 pins set aside for USB USBDP and USBDM. So you could set USB to the specific pins indicated. That's what I was asking. I would make an adapter with a pin header that could be plugged into the GPIO on the side of the device. I don't think you answered the question I was asking. Either way, if it's not possible, that's fine.
Edited 2026-11-24 03:36 by mclout999
They call me Shai-Hulud (The maker)
 
terekgabor
Senior Member

Joined: 02/01/2026
Location: Hungary
Posts: 177
Posted: 07:40pm 23 Nov 2026
Copy link to clipboard 
Print this post

Hello Peter!

I made detailed tests with the issue of MM.CMDLINE$, here are the results:

1. No library, just main program
Main.bas:
PRINT MM.CMDLINE$

When run it like RUN ,”hello” it prints “hello” on the screen.

2 With library:
Lib.bas:
DIM C$ AS STRING
…etc, anything in the library

Main.bas:
LIBRARY LOAD “Lib.bas”
PRINT MM.CMDLINE$

When run it like RUN ,”hello” it prints “hello” on the screen.

3. With library load into RAM slot of PSRAM:
Lib.bas:
DIM C$ AS STRING
…etc, anything in the library

Main.bas:
LIBRARY LOAD “Lib.bas”,RAM
PRINT MM.CMDLINE$

When run it like RUN ,”hello” it prints empty string on the screen.

Same happening when I put MM.CMDLINE$ into the library:
Lib.bas
DIM C$ AS STRING
C$=MM.CMDLINE$

Main.bas:
LIBRARY LOAD “Lib.bas”
PRINT C$

When run it like RUN ,”hello” it prints “hello” on the screen.

But this is also not working when library loads to RAM slot.
It seems something happening when library loads to psram slot.

V7.00.00 Webmite2350, Ppp 2 w

Regards,
G@bor
 
flip
Senior Member

Joined: 18/07/2016
Location: Australia
Posts: 143
Posted: 09:16pm 27 Nov 2026
Copy link to clipboard 
Print this post

Peter,
Distilling my below ramblings, basically it seems a variable can't be used as the file name for RAM FILE LOAD.

Re my previous bug earlier in this thread, which was fixed thanks, the bug was actually found when trying to figure a workaround to an underlying issue - trying to create a menu to help when developing multiple programs (and modules) - my work to date is way too messy and incomplete to post, but the problem is shown below - just look at the green and red lines:


files
B:/Dev/bugs
17:50 23-11-2026        351  FrameBug.bas
07:35 28-11-2026         33  Hello.BAS
07:49 28-11-2026        449  Ramfileloadbug.bas
0 directories, 3 files
> list "Ramfileloadbug.bas"
'App File runner and editor -Requires RP2350 PC2/PC3 with PSRAM
Dim c%,f$
? mm.ver
f$="Hello.bas"
Input "1 works, 2 doesn't - type 1 or 2...",c%
? "This is Line ";mm.info$(LINE);"...about to load file into ram slot 4"
If c%=1 Then Ram file load 4,"Hello.bas",OVERWRITE
If c%=2 Then Ram file load 4,f$,OVERWRITE
RAM LIST
? "This is line ";mm.info$(LINE);". File 'Hello.bas' is loaded in RAM slot 4. Now about to Run it."
Ram Run 4
> ram erase all
> ram file load 2, "Ramfileloadbug.bas",o
> ram run 2
8.000004
1 works, 2 doesn't - type 1 or 2...1
This is Line 9...about to load file into ram slot 4
RAM Slot 1 available
RAM Slot 2 in use: "'App File runner and editor -Requires RP2350 PC2/PC3 with PSRAM"
RAM Slot 3 available
RAM Slot 4 in use: "'Hello.BAS"
RAM Slot 5 available
This is line 13. File 'Hello.bas' is loaded in RAM slot 4. Now about to Run it.
Hello World
> ram erase all
> ram file load 2, "Ramfileloadbug.bas",o
> ram run 2
8.000004
1 works, 2 doesn't - type 1 or 2...2
This is Line 9...about to load file into ram slot 4
Error : Could not find the file
>



Regards Phil
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 694
Posted: 12:05pm 28 Nov 2026
Copy link to clipboard 
Print this post

Peter,

there is something strange going on with the variables in b5.

> dim string fname
> list variables
DIM STRING FNAME

> fname="xx.bas"
> list variables
DIM STRING FNAME

> ram file load 4,fname,overwrite
Error : Expected a string
> list variables
DIM FLOAT FNAME
>

NOTE: the version I tested with was V8.00.00b5, so sorry for posting in the wrong thread.
Edited 2026-11-29 00:18 by ville56
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12306
Posted: 04:51pm 28 Nov 2026
Copy link to clipboard 
Print this post

Fixed in next beta
 
flip
Senior Member

Joined: 18/07/2016
Location: Australia
Posts: 143
Posted: 10:04pm 28 Nov 2026
Copy link to clipboard 
Print this post

Dear all,
Sorry if I managed to cause confusion by resurrecting thread from ancient previous release of 4 days ago  
The bug reported by ville56 is there on both V7 and V8 ...just retested on my PC2:
> ?mm.ver
7.000058
> dim string fname
> list variables
DIM STRING FNAME
> fname="xx.bas"
> list variables
DIM STRING FNAME
> ram file load 4,fname,overwrite
Error : Expected a string
> list variables
DIM FLOAT FNAME
>

(same as mine was there at v7)
I put my bug on V7 thread later (even though in my excitement I'd upgraded to 8 meanwhile where I re-tested my issue)

It could be that ville56's bug and mine are related as they use a variable as the RAM FILE LOAD command.

P.S. I sometimes get myself tangled in knots   ... but it's a happy problem to have when indulging in all these goodies...thanks Peter.


Regards Phil
Edited 2026-11-29 08:04 by flip
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 694
Posted: 08:53am 29 Nov 2026
Copy link to clipboard 
Print this post

The bug also affects variables not directly involved, they simply disappear. Seems all vars except the one used in ram file load are gone.

> list variables
DIM FLOAT DEF
DIM STRING FNAME
DIM INTEGER ABC
DIM STRING FN1
DIM STRING FN2

> ram file load 4,fname,overwrite
Error : Expected a string

> list variables
DIM FLOAT FNAME
>
Again tested with V8.00.00.b5
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12306
Posted: 09:04am 29 Nov 2026
Copy link to clipboard 
Print this post

It is supposed to be the first statement in a program before you declare variables. There is a bug in that you can't use a variable as the filename but that is the only bug.
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 694
Posted: 09:39am 29 Nov 2026
Copy link to clipboard 
Print this post

don't quite understand ... if it has to be the first statement then how to declare/assign a variable to be used with it? So a variable for filename would not make sense at all as it has to be a literal constant then. Or do I misinterpret your answer.
                                                                 
73 de OE1HGA, Gerald
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 422
Posted: 04:05pm 29 Nov 2026
Copy link to clipboard 
Print this post

I asked Google AI to create a comprehensive PLC logic program for an RP2040, incorporating an I2C OLED display, a DS3231 real-time clock, 6 push buttons, 6 inputs, and 4 outputs—specifically ensuring that the screen does not flicker.
I have managed to get the program working with a few adjustments, but the screen continues to flicker.
Google implemented a framebuffer to completely eliminate flickering, using:

FRAMEBUFFER CREATE     (Line 134 in the program)
FRAMEBUFFER WRITE F

I am using a 1.3-inch OLED display, configured as follows:
OPTION LCDPANEL SSD1306I2C, LANDSCAPE, 2

Here is the relevant subroutine; if further information is required, I can provide the entire program.

' --- DRAW SCREEN IN FRAME BUFFER (FLINK-FREE) ---
SubDRAW_UI
 Local k, x
 CLS
 ' Header with DS3231 Time & RUN/STOP status
 Text 0, 0, LEFT$(Time$, 5) + " " + LEFT$(Date$, 5),,7
 If RUN_MODE Then
   Text 96, 0, "RUN", ,7 , , 0, 1 ' Inverted text
 Else
   Text 92, 0, "STOP",,7
 EndIf
 Line 0, 10, 127, 10
 If SCREEN_ID = 0 Then
   ' SCREEN 0: I1-I6 and Q1-Q4 Status (LOGO! style)
   Text 0, 14, "IN :",,7
   For k = 1 To 6
     x = 24 + (k - 1) * 17
     If I_STAT(k) Then
       Box x, 13, 14, 11, 1, 1, 1
       Text x + 4, 15, Str$(k), ,7 , , 0, 1
     Else
       Box x, 13, 14, 11, 1, 1, 0
       Text x + 4, 15, Str$(k),,7
     EndIf
   Next k
   Text 0, 30, "OUT:",,7
   For k = 1 To 4
     x = 24 + (k - 1) * 24
     If Q_STAT(k) Then
       Box x, 29, 20, 11, 1, 1, 1
       Text x + 3, 31, "Q" + Str$(k), ,7 , , 0, 1
     Else
       Box x, 29, 20, 11, 1, 1, 0
       Text x + 3, 31, "Q" + Str$(k),,7
     EndIf
   Next k
   Text 0, 46, "AI1:" + Format$(AI_VAL(1), "%04g") + " AI2:" + Format$(AI_VAL(2), "%04g"),,7
   Text 0, 56, "<Page> OK:Run/Stop",,7
 ElseIf SCREEN_ID = 1 Then
   ' SCREEN 1: Markers M1-M6 & Block Status B01-B12
   Text 0, 14, "M :",,7
   For k = 1 To 6
     x = 24 + (k - 1) * 17
     If M_STAT(k) Then
       Box x, 13, 14, 11, 1, 1, 1
       Text x + 4, 15, Str$(k), ,7 , , 0, 1
     Else
       Box x, 13, 14, 11, 1, 1, 0
       Text x + 4, 15, Str$(k),,7
     EndIf
   Next k
   Text 0, 30, "BLK 1-6 :",,7
   For k = 1 To 6
     Text 54 + (k - 1) * 12, 30, Str$(BLK_OUT(k)),,7
   Next k
   Text 0, 41, "BLK 7-12:",,7
   For k = 1 To 6
     Text 54 + (k - 1) * 12, 41, Str$(BLK_OUT(k + 6)),,7
   Next k
   Text 0, 56, "<Page> OK:Run/Stop",,7
 ElseIf SCREEN_ID = 2 Then
   ' SCREEN 2: Function Block Editor (B01 - B12)
   Local b = SEL_BLK
   Text 0, 13, "BLOCK B" + RIGHT$("0" + Str$(b), 2) + " OUT:" + Str$(BLK_OUT(b)),,7
   ' Field 1: Type
   Text 0, 25, "TYP:" + TYPE_NAME$(BLK_TYPE(b)), ,7 , , (EDIT_FIELD = 1), 1
   ' Field 5: Target (Q or M)
   Text 64, 25, "DST:" + DST_NAME$(BLK_DST(b)), ,7 , , (EDIT_FIELD = 5), 1
   ' Field 2 & 3: Inputs
   Text  0, 37, "IN1:" + SRC_NAME$(BLK_IN1(b)), ,7 , , (EDIT_FIELD = 2), 1
   Text 64, 37, "IN2:" + SRC_NAME$(BLK_IN2(b)), ,7 , , (EDIT_FIELD = 3), 1
   ' Field 4:     Parameter (Time / Threshold)
   Text  0, 49, "PAR:" + Format$(BLK_PAR(b), "%03g") + " (0.1s/AI)", ,7 , , (EDIT_FIELD = 4), 1
 EndIf
 ' Copy framebuffer to OLED in one go (zero flickering!)
 FRAMEBUFFER COPY F, N
End Sub

I attempted to set the I2C to 400kHz mode, but that didn't help.
The firmware did display a message when I tried to switch to fast mode. (I don't see 'fast' [in the settings], so it's using the default)

> option list
PicoMite MMBasic RP2040 V7.00.00RC7
OPTION SYSTEM I2C GP20,GP21
OPTION AUTORUN  ON
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION HEARTBEAT OFF
OPTION PICO OFF
OPTION CPUSPEED (KHz) 200000
OPTION DISPLAY 50, 100
OPTION LCDPANEL SSD1306I2C, LANDSCAPE, 2
OPTION RTC AUTO ENABLE
OPTION F1 help
OPTION F6 list commands
OPTION F7 list functions
OPTION F8 option list
OPTION F9 fm
OPTION PLATFORM PicoMite Micro-RP2040-16MB

> option system i2c disable
Error : In use
> option lcdpanel disable
[134] FRAMEBUFFER CREATE
Error : Not enough memory for 0 bytes: put OPTION SYMBOLS OFF first

What does this message mean, and what might be causing the issue on an RP2040?

Does anyone have experience with this, am I doing something wrong, or is this a limitation in the current firmware?
I’ve noticed that 'FRAME' offers more capabilities on the RP2350, but it doesn't seem to work for the RP2040.

Jan.
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026