Posted: 06:08pm 25 Oct 2026 Copy link to clipboard
matherp Guru
Not aware of any change, can you connect a usb-uart to gp8/gp9 to see what is going on?
Posted: 06:23pm 25 Oct 2026 Copy link to clipboard
Frank N. Furter Guru
Unfortunately, not right now. I'll have to make an adapter first...
Frank
Posted: 06:28pm 25 Oct 2026 Copy link to clipboard
Frank N. Furter Guru
Since when have /* and */ been prohibited in a library? I updated my PioCalc and wanted to use my existing library, which had been working fine until now. I couldn't load it into the editor using LOAD, so I had to load it using EDIT [filename] to make changes...
Frank
Posted: 06:51pm 25 Oct 2026 Copy link to clipboard
matherp Guru
The Picomite has always stripped comments when saving to the library but previously forgot multi-line comments. Now it strips those as well to save space. The code is also more rigorous in imposing the multi-line comment rules as per the manual description as previously things like /*do without a space could cause runtime errors. Now they are caught when the code is tokenised.
Edited 2026-10-26 04:54 by matherp
Posted: 07:14pm 25 Oct 2026 Copy link to clipboard
Frank N. Furter Guru
Okay, but does it make sense that you can't even load a file like that with LOAD to edit it?
Frank
Posted: 07:37pm 25 Oct 2026 Copy link to clipboard
matherp Guru
If you allow it then the checking has to be at runtime with performance overhead. You can edit it with EDIT fname$ save the file and then load it.
Posted: 09:18pm 25 Oct 2026 Copy link to clipboard
Mixtel90 Guru
I've always kept my original library file because I want the comments in it. In that respect there's no point in editing a library file. Edit the original, save it (important!) then create a new library from it.
Posted: 07:55am 26 Oct 2026 Copy link to clipboard
Frank N. Furter Guru
That's how I did it.
I used /* and */ to comment out a section of code that I didn't necessarily want to delete...
Frank
Posted: 08:54am 26 Oct 2026 Copy link to clipboard
Volhout Guru
Peter,
I am not sure this item has surfaced before. But is there a random generator built in MMBasic that is deterministic (repeatable)? I know I can write one myself (i.e. use MATH CRC), so if there is none, don't worry.
I am looking at javavi's latest program that generates mazes randomly. And for forensic research I would like to be able to repeat a certain maze (from a seed). But the RND(n) and MATH RANDOMIZE n do not provide me a repeatable RND sequence.
Volhout
Posted: 08:56am 26 Oct 2026 Copy link to clipboard
ville56 Guru
Peter,
thanks for the milliseconds correction to WEB NTP and RTC GETTIME
But, the TIME$ command still does not reset the milliseconds to 0 as stated in the manual. This would be very helpful in case one wants to sync the internal clock from an external signal like a DCF77 input pin. You then set the time at the start of the first seconds pulse at a new minute implicitly resetting the milliseconds counter to 0. Edited 2026-10-26 19:23 by ville56
Posted: 09:56am 26 Oct 2026 Copy link to clipboard
ville56 Guru
sorry Peter,
forget the post above ... must have accidentially reflashed RC3 yesterday evening, was too late and my brain was already shut off, so it seems ... have to test with RC5 now
mea culpa, mea maxima culpa Gerald Edited 2026-10-26 20:02 by ville56
Posted: 01:00pm 26 Oct 2026 Copy link to clipboard
Bleep Guru
Hi Peter, Is it correct that the OPTION RESET HDMIUSBI2S does not include the OPTION PSRAM PIN GP47, V7.00.00RC5 I was trying to test Matthias Backgammon and it wouldn't run, then I realised the PSRAM hadn't been activated, now runs ok. Regards Kevin. Edited 2026-10-26 23:13 by Bleep
Posted: 01:50pm 26 Oct 2026 Copy link to clipboard
matherp Guru
Yes, Only the PC3 build makes an assumption about what it is being run on
Posted: 04:15pm 26 Oct 2026 Copy link to clipboard
Frank N. Furter Guru
I figured out the problem with the RP2040-PICO-PC. I manually set the HDMI pins to OPTION HDMI PINS 1, 3, 7, 5 and called the command. Once I had a picture on the screen, I was able to call OPTION RESET OLIMEXUSB.
Now a message appears saying that the flash will be completely erased, which you have to confirm with “Y” - that message wasn't there before, and I couldn't see it! Now everything works...
Thanks!
Frank
Posted: 10:14pm 26 Oct 2026 Copy link to clipboard
homa Guru
> option list PicoMitePC3 MMBasic USB RP2350B Edition V7.00.00RC6 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION SYSTEM I2C GP20,GP21 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION KEYBOARD GR, 0, 1, 200, 75 OPTION HEARTBEAT OFF OPTION PICO OFF OPTION RESOLUTION 640x480 @ 315000KHz OPTION HDMI PINS 1, 3, 5, 7 OPTION WIFI behofam, *****************, Pico3, DE OPTION TELNET CONSOLE ON OPTION SDCARD GP33, GP30, GP31, GP28 OPTION KEYBOARD REPEAT 200,75 OPTION AUDIO I2S GP10,GP22', ON PWM CHANNEL 11 OPTION RTC AUTO ENABLE OPTION COUNT GP34,GP35,GP36,GP37 OPTION COMPILE ON OPTION PRINTSCREEN FORMAT PNG OPTION PLATFORM PICO COMPUTER 3 OPTION PSRAM PIN GP47 >
RC6: PNG from Print Screen can't be viewed in the file manager
Firmware: PicoMiteHDMI MMBasic USB RP2350A Edition V7.00.00RC6
OPTION PRINTSCREEN FORMAT PNG
Print Screen (also from a running program with OPTION PRINTSCREEN ON) saves SCREEN_yyyymmdd_hhmmss.PNG in the SD root - fine.
But opening that file in the file manager (FM) gives:
Error: Invalid format, must be RGBA8888 or indexed PNG
The same file copied to the PC (XMODEM) opens without problems, with the correct colours. So the file itself is OK - it seems the PNG viewer in FM doesn't accept the format that SAVE PNG / Print Screen writes (probably 24-bit RGB without alpha).
It would be great if FM could show the PNG files the firmware writes itself. Thanks for the new Print Screen feature - it even captures in the middle of an animation, perfect for manual screenshots!
Matthias
Posted: 11:44pm 26 Oct 2026 Copy link to clipboard
flip Senior Member
Peter, Just to round off, since writing I have had no more problems with touch (other than the normal extra disconnect and reconnect at startup which is not an issue) - so please disregard.
Thanks too for the Screen-Print .png and the selective area which will help all of us with efficient posts on this forum.
One very minor request with the FRAME subsystem (I think the limitations of TILE subsystem should rightly prevent smaller fonts, but) it would be nice if it could allow for other (higher-resolution) fonts - as long as the box-drawing characters are catered for...e.g. I tried FONT 4 (10x16) - which has those chars - but when using FRAME the system automatically reverted to FONT 1 (8x12)