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 : New Firmware Release for the PicoMite Family - V5.08.00
Page 4 of 5 | |||||
Author | Message | ||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 213 |
Geoff and Peter, Is it possible to implement in PicoMite a mode for accessing the contents of an SD card from a computer via USB? This mode is available in this bootloader that I use for my board. https://github.com/xrip/pico-launcher Regards, Java |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4233 |
Re imaged the pico, and now it does work There is a bad aura around me lately… Volhout PicomiteVGA PETSCII ROBOTS |
||||
mozzie Regular Member Joined: 15/06/2020 Location: AustraliaPosts: 68 |
G'day, My thanks to Peter, Geoff and everyone else who has made the latest version of MMBasic for the picomite possible, the new functions add to what is already a very capable platform. Now the learning curve begins figuring out how to use all this power Regards, Lyle. |
||||
heli Newbie Joined: 02/02/2024 Location: AustriaPosts: 1 |
Thank you very much for this great project! So much fun to do low-effort IOT programming -- without the need for an IDE. I have just one question: is it currently possible to run a "WebMite VGA"? With the WebMite firmware I have WIFI, but I don't get a VGA output (and no "option vga pins"), and with the PicoMite VGA firmware I have VGA output, but the "option wifi" is not available. So I guess one can currently not have both in one project ... or am I doing something wrong? Thank you very much! |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Yes, you are quite correct. You can have VGA or WiFi but not both in the same firmware. Geoff Geoff Graham - http://geoffg.net |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
hi Geoff and Peter, am i right in saying that tabstops on the picomite VGA are set at every 2 columns on the VGA screen, as opposed to the every 8 columns normal on a VT terminal? cheers, rob :-) |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6787 |
From the 5.07.03 manual, which applies to both PicoMite and PicoMite VBGA: OPTION TAB 2|3|4|8 Default is 2 Remember that a VT terminal will normally assume a 80-column screen. Edited 2024-02-05 22:28 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
thanks Mixtel90, is good to known that this can be fixed with an OPTION setting. i wonder why it was defaulted to 2 for the Picomite on VGA (and presumably also LCDs on non-VGA picomites)? cheers, rob :-) |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9115 |
It's been 2 in every version of MMBasic from the original Maximite onwards and for the avoidance of doubt, TAB characters are not stored but are converted by the firmware into the requisite number of space characters Edited 2024-02-06 00:39 by matherp |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
i've been using micromites for what must be 10 years now, and i've always seen TAB characters expand out to multiples of 8. to prove it to myself, i just ran a test: Micromite MKII MMBasic Ver 5.05.03 Copyright 2011-2020 Geoff Graham > list Print "0000000001111111111222222222233333333334" Print "1234567890123456789012345678901234567890" A=-1: B=-2: C=-3: D=-4: E=-5 Print A,B,C,D,E > > RUN 0000000001111111111222222222233333333334 1234567890123456789012345678901234567890 -1 -2 -3 -4 -5 > > and capturing the raw output: user@HP-stream11-392758:~$ ./Desktop/GFXterm64\ \(2023-04-30\) 04:30:07.091ms 27 bytes RUN<CR><LF>0000000001111111111222 04:30:07.111ms 60 bytes 222222233333333334<CR><LF>1234567890123456789012345678901234567890 04:30:07.131ms 20 bytes <CR><LF>-1<TAB>-2<TAB>-3<TAB>-4<TAB>-5<CR><LF>> them there TAB characters ain't being expanded into spaces, and that there VT compatible terminal emulator is expanding the TABs out to multiples of 8. as does every other VT compatible terminal emulator out there. it is fair to say that your VGA code is the exception, although i just checked with your latest VGA/USB code and it is expanding the TAB characters on screen to multiples of 4! perhaps i got 2 and 4 mixed up, or perhaps in VGA 5.07.07 it was multiples of 2. Mixtel90: adjusting OPTION TAB 2|3|4|8 has no effect upon screen/terminal output from PRINT statements. all it does is change how the tab key on the keyboard indents within the mmbasic editor. cheers, rob :-) Edited 2024-02-06 01:47 by robert.rozee |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6787 |
As you've seen, they are used for different things. OPTION TAB sets the tab spacing for the editor. This defaults to 2 as any more can get silly when indenting code. TAB() sets how far to pad to the next position in a PRINT or PRINT# statement. GW-BASIC uses print zones of 14 spaces by default. MMBasic uses 8 spaces by default. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
nope, it appears that mmbasic on pico with VGA output uses 4 when displaying on an attached VGA screen. what CMM2 does, i have no idea. or micromite E100 et al on an attached LCD panel. or some of the PIC MZ variants - did any of them have VGA output? cheers, rob :-) |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6787 |
From the latest VGA manual Appendix 1 (page 149): This may be out of date, of course. AFAIK only the CMM and Pico series have used VGA. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
see, tab stops every 4 columns: Geoff - you may wish to update your manual for the PicoMite VGA to match the behaviour of Peter's code. after all the palaver here and elsewhere on the forum, i certainly won't be bothering to waste my time report any other bugs, errors, or inconsistencies again! guessing by the reduced traffic on here i assume most others have already arrived at the same conclusion. cheers, rob. |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
Normal PRINT statements on the CMM2 obey whatever the OPTION TAB x is set to when seen on the VGA output. When seen by a terminal emulator, it depends on whatever the terminal is set to. Most seem to default to 8. With a terminal emulator, you could clear all tabs and set your own tabs at any column. Jim VK7JH MMedit MMBasic Help |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
I think that few saw it as a significant issue and it wasn't helped by the confusion between tabs in the editor and tabs in PRINT statements. Regardless, you certainly found the answer. Geoff Edited 2024-02-06 15:58 by Geoffg Geoff Graham - http://geoffg.net |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9115 |
The code currently is set to 4 but should probably respect OPTION TAB both for print and the editor as per other variants. These means by default the print tab is 2 for other variants and will be for the Pico when I change it. It has never defaulted to 8 on any version of MMbasic for a local screen but of course a tab sent to a remote console will, as Jim says, do whatever the terminal is set up for Edited 2024-02-06 18:12 by matherp |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6787 |
I'll be quite honest, I've never really noticed the tab setting. By and large it doesn't matter on the console - they are what they are. On any local display I almost always position text using PRINT@ or TEXT. Even when I want console output I often use ANSI codes. The only time I really use TAB is for putting temporary PRINT statements in for debugging. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
TheMonkeys Regular Member Joined: 15/12/2022 Location: AustraliaPosts: 59 |
Hi all, A quick question: What causes [CYW43] do_ioctl(2, 263, 16): timeout as over the last few updates, I've been seeing a few. The Heartbeat freezes, although each time I hit Enter in the console, the Heartbeat toggles. Left to its own devices, the Webmite will eventually re-start, but it can take a while. Cheers, Chris. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9115 |
I wish I knew The error means that the wifi unit hasn't responded to a command as expected. The I/F uses PIO and is part of the RP2040 SDK. This error is at the route of all the instability in the WebMite. It happens infrequently and doesn't seem to be associated with any specific web activity. We can only hope that a new version of the sdk sometime in the future will fix it |
||||
Page 4 of 5 |
Print this page |