Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:41 27 Jun 2025 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 V6.00.02 release candidates - all versions

     Page 18 of 52    
Author Message
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 299
Posted: 05:34pm 31 Mar 2025
Copy link to clipboard 
Print this post

HDMI/USB/2350 RC8

Being in Picomite editor, I made too long line (you know, when you are editing and spliting too long lines then joining again) I needed dummy data for some test ~ 240 symbols in string variable.

After F2, system message informed :Not enough memory"
On return to editor all program lines below that too long line were completely deleted.
Had some hope to see full program again after power cycle, but no joy.  
2 hrs lost  

So this was bad traps next time remember to avoid.
Easy to rpelicate with or without program loaded.  
I understand, what I did, but did not expected such drastic punishment
Did not tested what would happen if too long line created in notepad++ and loaded.

It`s. OK for me. Will be carefull next time.
My MMBasic 'sand box'
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2928
Posted: 07:51pm 31 Mar 2025
Copy link to clipboard 
Print this post

@Peter,

RC8 on one of your  latest ‘reference design’ PCBs (I2S HDMI USB) and am seeing an error (screenshot below) with ‘LIST PINS’.

Note I seem to remember this being reported already so maybe you’ve fixed it but not for RC8?



Edited 2025-04-01 05:52 by WhiteWizzard
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5011
Posted: 09:16am 01 Apr 2025
Copy link to clipboard 
Print this post

@Peter,

Played with RC8 last night on 2040 VGA PS2 platform and found absolutely nothing.
Everything worked stable. Ran the (stack/heap hungry) MMBasic chess program over night, and no issues.

We have a winner here.

I will see if this week I get to put it on as 2350 USB/HDMI platform and see how that performs (although I have the opinion many /have done/are doing/ that already).

I assume Tom will try this on his Game*Mite platform. There may be need for some tweaking since the A:/ drive got a bit smaller.

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 10:03am 01 Apr 2025
Copy link to clipboard 
Print this post

Harm: thanks for the report - good news. I just need to post the LIST PINS fix and we should be good to go for 6.00.02
 
bfwolf
Regular Member

Joined: 03/01/2025
Location: Germany
Posts: 75
Posted: 10:12am 01 Apr 2025
Copy link to clipboard 
Print this post

I hope, you left the new "FRAME" command out for this release, so it couldn't introduce new incompatibilities/bugs?  
https://www.thebackshed.com/forum/ViewTopic.php?PID=236676#236676#236691

And my idea for a "ON CONOUT target" was also for a possible future release..
https://www.thebackshed.com/forum/ViewTopic.php?PID=236676#236676#236676

Greetings and many thanks again for your (and Geoff's) great work so far!

bfwolf
 
mozzie
Senior Member

Joined: 15/06/2020
Location: Australia
Posts: 131
Posted: 06:56am 02 Apr 2025
Copy link to clipboard 
Print this post

G'day Peter,
Have finally been able to load V6.00.02 on to a Pico and have a play, so far so good with everything thrown its way.

The new byte / bit commands mentioned in the intro sound like a great addition, especially to those who have come across from PICs / PLCs etc.

The BYTE command / function lists and works as shown in the example.

The Bit command / function are not listed, however FLAG() is listed but have been unable to test any further.

As others have mentioned, subs/funcs written and stored in the library for bit manipulation work but having it built in would be far superior, and I imagine faster.

My thanks once again for the time and effort put in to this truly great project by all involved.  

Regards,
Lyle.

P.S. Library routines:
Modbit, Sub, Set = Variable
SetBit, Sub, Set
ClrBit, Sub, Clr
TogBit, Sub, Toggle
ChkBit, Fun, Check bit status

These are modified versions from "Fruit of the Shed".
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7804
Posted: 06:59am 02 Apr 2025
Copy link to clipboard 
Print this post

Library routines run a bit faster than the same routines in the main program. That's a bonus. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 07:01am 02 Apr 2025
Copy link to clipboard 
Print this post

  Quote  The Bit command / function are not listed, however FLAG() is listed but have been unable to test any further.


Forgot to mention. I've got rid of the bit command and replaced it with the FLAG command and function

FLAG(n)=0/1 'n=0 to 63
? FLAG(n)

This gives you 64 flag bits without having to allocate a variable
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5011
Posted: 07:10am 02 Apr 2025
Copy link to clipboard 
Print this post

@Peter, others,

Did any of you have problems (using v6.00.02RC8) with XMODEM SEND ?
I am using MMEdit/MMCC and it is happy to work with RC8. Except the MMCC filemanager, that throws block errors when transferring data from Pico to PC.

So XMODEM RECEIVE has no problems, but XMODEM SEND has.

Anyone experience the same ?
This is on 2040 VGA PS2 version.

Volhout
PicomiteVGA PETSCII ROBOTS
 
mozzie
Senior Member

Joined: 15/06/2020
Location: Australia
Posts: 131
Posted: 07:12am 02 Apr 2025
Copy link to clipboard 
Print this post

G'day,
@Mick
Thanks Mick, wasn't aware of that so I'll embed more in the library in future.

@Peter,
Thanks Peter, I imagine 64 should be heaps for nearly all use cases.
Is the FLAG variable accessible in any other way? just curious...  

Regards,
Lyle.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 07:37am 02 Apr 2025
Copy link to clipboard 
Print this post

  Quote  Is the FLAG variable accessible in any other way? just curious...


No: that's the whole point. As it is an internal value it makes the command much faster. I could add an MM.FLAGS to return all the bits if it would be of any use
Edited 2025-04-02 17:47 by matherp
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2565
Posted: 07:41am 02 Apr 2025
Copy link to clipboard 
Print this post

Re Xmodem Send,  haven't got a 2040 VGA PS2 version setup at the moment but it works with a 2350 VGA PS2 version. Tested with both MMCC File Manager & Tera Term.
 
ville56
Senior Member

Joined: 08/06/2022
Location: Austria
Posts: 220
Posted: 07:42am 02 Apr 2025
Copy link to clipboard 
Print this post

  Volhout said  
So XMODEM RECEIVE has no problems, but XMODEM SEND has.


at least not on
PicoMite MMBasic RP2350A Edition V6.00.02RC8

tried file sizes between 1kb and 1 Mb, no problems

Gerald
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 07:52am 02 Apr 2025
Copy link to clipboard 
Print this post

  Quote  So XMODEM RECEIVE has no problems, but XMODEM SEND has.


Just tested 70K file in RP2040 VGA to teraterm - both from A: and from loaded program  - works fine
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5011
Posted: 08:05am 02 Apr 2025
Copy link to clipboard 
Print this post

About XMODEM SEND:

Thanks for your quick response, I will do some more testing.
Also tried duplicate the problem on a GEEK (2040) but have not seen it.

See if I can find out a bit more. After a re-power of the VGA unit it went away (all works fine now). Maybe something I did before the XMODEM caused this problem.
I will try to trace back my steps...

Volhout
Edited 2025-04-02 18:08 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 10:33am 02 Apr 2025
Copy link to clipboard 
Print this post

V6.00.02RC9 is available on
https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip

Fixes bug in LIST PINS
Removes BIT command and BIT functions

Adds
FLAG(n)=0/1 'n=0 to 63
? FLAG(n)
? MM.FLAGS

This gives you 64 flag bits without having to allocate a variable. MM.FLAGS returns the value of all 64 flag bits. NB: this will appear as a negative integer is flag 63 is set. All flags are set to zero when a program is run.
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 467
Posted: 10:51am 02 Apr 2025
Copy link to clipboard 
Print this post

  Quote  
Beside that I can confirm, that after more than 20 hours playing with RC8, it runs rock solid at 360Mhz. Just tried shortly and the PGA2350 also runs at RESOLUTION 640,378000


Hello,

after now 60 hour net usage time I can confirm that it runs solid on a PGA2350 at RESOLUTION 800 in MODE 3. I was testing framebuffer usage so I think, that PSRAM is involved all the time. I also attached a SSD1963 to it some time ago testing BLIT and using PSRAM in full extend. This never showed a problem but on VGA and RC8 the problem persist that it crashes continuously when exiting the editor.
Now I like to use this editor very much! And these crashes make me  
But as nobody has confirmed yet, I will take it as it is.

Editor: I have a wish, would it be possible to have "find and replace"? And the question if there is a way, to copy/paste more than one line?

Regards



edit:
..I'll test RC9 immediatly
Edited 2025-04-02 20:55 by dddns
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 11:06am 02 Apr 2025
Copy link to clipboard 
Print this post

  Quote  This never showed a problem but on VGA and RC8 the problem persist that it crashes continuously when exiting the editor.


Please post your full option list and a program that when you edit causes a crash
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5011
Posted: 11:06am 02 Apr 2025
Copy link to clipboard 
Print this post

Hi dddns,

Use MMEDit (on Windows or Linux). It has find/replace.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7804
Posted: 11:18am 02 Apr 2025
Copy link to clipboard 
Print this post

Copy/paste more than one line: Use F4 to mark a block of text.
Manual pages 19/20

Once you have copied a block you can paste it multiple times.

There's no find/replace in the internal editor but you can jump to the next found point very fast with <shift>F3.

I'm another fan of the internal editor. I've loved it since I first used it on the Micromite. :)

.
Edited 2025-04-02 21:20 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
     Page 18 of 52    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025