|
Forum Index : Microcontroller and PC projects : MMBasic V6.03.00 release candidates
| Author | Message | ||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5975 |
Thanks, works great.... This ... is coming for Game*Mite (and any other ILI9341 LCD equiped mite). ![]() Volhout PicomiteVGA PETSCII ROBOTS |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 400 |
Hi Peter, Thanks for the clarification, on reflection it makes sense so error messages etc are not lost when the screen updates. Also my apologies, I had convinced myself earlier versions waited for the CR/LF before clearing the LCD, possibly confusing the action of PRINT@() with the TEXT command. Testing has confirmed it was always this way. (As far back as V6.00.01) Sorry for any confusion. Regards, Lyle. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11603 |
I decided to go with one more release candidate as I have added a couple of things V6.03.00RC26 PicoMiteRP2040V6.03.00RC26.zip PicoMiteRP2350V6.03.00RC26a.zip PicoMiteRP2350V6.03.00RC26b.zip Mod to list pins to switch to font 7 if the display is <=40 chars wide WebMite RP2040 now supports TLS. Note this uses up to 40K of ram while making the connection so defer setting up large arrays until after the connection is established New GUI commands GUI LISTBOX and GUI SLIDER |
||||
| JanVolk Guru Joined: 28/01/2023 Location: NetherlandsPosts: 384 |
Is this just me? > update firmware PicoMite MMBasic RP2350A V6.03.00RC26 Copyright 2011-2026 Geoff Graham Copyright 2016-2026 Peter Mather Formatting the A: drive > memory Program: 0K ( 0%) Program (0 lines) 300K (100%) Free Saved Variables: 16K (100%) Free RAM: 0K ( 0%) 0 Variables 0K ( 0%) General 347K (100%) Free > files A:/ <DIR> . <DIR> .. 00:00 01-01-2024 4 boot count 2 directories, 1 file, 1822720 bytes free > option list PicoMite MMBasic RP2350A V6.03.00RC26 OPTION FLASH SIZE 4194304 OPTION COLOR CODE ON OPTION CPU SPEED (KHz) 200000 > list pins [LIBRARY] CLS Error : Display not configured > An update was also done on the Olimex HDMIUSB. The previous versions (V6.03.00RC23 – V6.03.00RC25) were unstable. The issue was that spontaneous resets would occur, seemingly resulting in a loss of video signal—almost like an `OPTION RESET` had been triggered. Sometimes I could fix it blindly by typing `OPTION RESET OLIMEX USB` (Enter) `Y` (Enter), but often I had to re-flash the firmware. The PicoMiteHDMI MMBasic USB RP2350A Edition V6.03.00RC26 version has been much more stable so far; I haven't experienced any resets yet. There is occasional jitter in the video signal in `MODE 3`, but everything returned to normal after a power cycle. This phenomenon occurred a few times but hasn't been reproducible since. I did change `OPTION GUI CONTROLS` from 100 to 50. I am using an automotive display; for my setup, `OPTION RESOLUTION 1280` and `OPTION DEFAULT MODE 3` provide the best readability. I also noticed that `OPTION PLATFORM OLIMEX USB` no longer appears in the option list, though it can easily be added. I also observed that the option disk save "file.opt" is no longer a fixed 896 bytes but is now variable in size and smaller. I’ll let you know if there are any updates. > option list PicoMiteHDMI MMBasic USB RP2350A Edition V6.03.00RC26 OPTION SERIAL CONSOLE COM1,GP0,GP1 OPTION SYSTEM I2C GP20,GP21 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION DEFAULT COLOURS GREEN, BLACK OPTION MOUSE SENSITIVITY 1.0000 OPTION KEYBOARD US OPTION HEARTBEAT OFF OPTION RESOLUTION 1280x720 @ 372000KHz OPTION DEFAULT MODE 3 OPTION DISPLAY 30, 80 OPTION HDMI PINS 1, 3, 7, 5 OPTION GUI CONTROLS 50 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION RTC AUTO ENABLE OPTION MODBUFF ENABLE 192 OPTION F1 help OPTION F5 list commands OPTION F6 list functions OPTION F7 list pins OPTION F8 option list OPTION F9 fm Jan. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11603 |
|
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 547 |
Yes, CLS without a configured display throws an error. The library code could/should be changed to if mm.display=1 then CLS 73 de OE1HGA, Gerald |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 400 |
G'day, Spent a bit of time playing around with different versions of the "list pins" code originally supplied by Peter, this is the latest version and seems to work on everything tested so far: No Display VGA / HDMI in different modes ILI9341 / ILI9488 / ST7798 / ST7789 : Landscape / Portrait, Console / NoConsole, Scroll / NoScroll This has been saved to the Library: ' sub to list pins Sub ListPins Local _q% if mm.info$(LCDPANEL)<>"" then CLS For _q%=0 To MM.Info(max gp) Print "GP"+Str$(_q%)+Choice(_q%<10," "," "); Print LEFT$(Str$(MM.Info(pinno "GP"+Str$(_q%)))+" ",3); Print LEFT$(MM.Info(pin MM.Info(pinno "GP"+Str$(_q%))),mm.width-8) If (_q%+1) Mod (MM.HEIGHT-1)=0 And _q%<>0 Then Print "Press any key"; Do Loop Until Inkey$<>"" EndIf Next End Sub Takes out as much whitespace as possible and aligns the columns on console and display output, also chops off anything that won't fit on the screen width. Will allow large fonts on narrow displays within sensible (and not so sensible) limits. Will fit font 1 with 40 char width screen, no need for font 7 (I need more powerful glasses for that one) I use this command quite a bit when messing around with ideas, hopefully someone finds it useful. Ville56 - MM.Display is a better solution, must have missed that one. Always learning new things on here Regards, Lyle. Edited 2026-07-01 04:04 by mozzie |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 3316 |
@JanVolk Random resets appear to be due to the RUN pin drifting low. Perhaps due to static charge at times of low humidity. The cure is a 10k pullup resistor to 3V3 and/or 100nF capacitor to Gnd. If there is no room on your PCB solder to the top of the Pico pins. |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 3316 |
A workaround for the firmware LIST PINS command on a Pico without a display attached is OPTION LCDPANEL VIRTUAL_M or _C. If you can spare the buffer memory. > list pins [LIBRARY] CLS Error : Display not configured > library list > > OPTION LCDPANEL VIRTUAL_M > list pins GP0 1 OFF GP1 2 OFF GP2 4 OFF GP3 5 OFF ... |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11603 |
Though I'd fixed that. Will do a update to the release. I'll post on that thread when done. |
||||
| Briano Newbie Joined: 20/01/2026 Location: CanadaPosts: 15 |
I'm having problems using STRUCT when there is a largish program in the Library. I think the problem started with 6.03.00RC0. I'm using a PicoCalc with a Pico 2W. The problem occurs with the Website and the non-website versions. Sample files are attached. 1) Run "abug.bas" with the library empty, and it works fine. A 16 but structure is created 2) Load "ulib2.bas" into the library, then run "abug.bas" and the structure created has size 0, then a heal error occurs. The ABUG.BAS program doesn't even call and functions in ULIB2. I have other programs which use the ULIB2 functions and they run fine (but they don't use structures) I noticed with 6.02.02B6 and earlier, when I do a LIBRARY SAVE it tells me 6692 bytes saved. With 6.03.00RC0 and beyond, LIBRARY SAVE tells me 7128 bytes saved. In all cases MM.INFO(HEAP) says there is lots of heap space after the error. Am I doing something wrong or is this a bug? Oh...If I have a very small program in the library, there is no problem. Thank you! abug.zip |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5975 |
The ARC command is not robust Parameters a1 and a2 must be between 0 and 359, or you get an error RADIANS. They mut be degrees. Not radians. They cannot be the same. Volhout PicomiteVGA PETSCII ROBOTS |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11603 |
From the manual The error is RADIALS not RADIANS |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5975 |
Peter, When used as a gauge, you have to prevent that a1 equals a2. Because this is not protected in mmbasic. Maybe a note in the manual. Volhout PicomiteVGA PETSCII ROBOTS |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11603 |
Are you using the release version? Just tested and I can't replicate - works fine |
||||
| Briano Newbie Joined: 20/01/2026 Location: CanadaPosts: 15 |
Yes I am. I tried the webmite and non-web versions. In my testing, I installed a firmware, then tested without setting any options. 6.02.02.B8 worked - Library Save says 6692 bytes saved 6.03.00RC0 failed - Library Save says 7128 bytes saved With the latest 6.03, how many bytes get saved by LIBRARY SAVE ? |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |