Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:44 01 Jul 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 44 of 52    
Author Message
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 299
Posted: 07:57pm 08 May 2025
Copy link to clipboard 
Print this post

HDMI/USB/2350 RC23  default options

I must be doing something wrong but it`s so simple I do not see what ??  


Print @(0,0) "a"
Sprite read 1,0,0,8,12

Print @(0,0) "b"
Sprite read 2,0,0,8,12

Sprite show 1,50,50,1
Sprite show 2,90,90,1
Sprite SWAP 1,2
Pause 1000


[9] Sprite SWAP 1,2
>Error: New buffer already displayed
My MMBasic 'sand box'
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10180
Posted: 09:31am 09 May 2025
Copy link to clipboard 
Print this post

Swap swaps a hidden sprite for a showing one. It is not a two way thing

  Quote  The RP2040 VGA version works great. It has been running in the test for 1 hour, without problems, and I played 1 level of petrobot using the WII classic controller.
It tested several programs including logic analyzer and several larger games, chess, and all work with this version.


This version will be the release. The only change will be to force an option reset when loading the first time

  Quote  Of course this is really small, since the display is only 128x64 but for my application it is enough to edit things on the go


It never occurred that anyone would use a 128 pixel display as a console
Various people have reported getting into a mess try to edit when there are very few characters on a line but I'll perhaps relax this now we have continuation characters
Edited 2025-05-09 19:56 by matherp
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 576
Posted: 11:22am 09 May 2025
Copy link to clipboard 
Print this post

  matherp said  
It never occurred that anyone would use a 128 pixel display as a console
Various people have reported getting into a mess try to edit when there are very few characters on a line but I'll perhaps relax this now we have continuation characters


It is really possible with font 8 and is enough for editing on the go. The main reason is that there is not a single display out there, which can be read in direct sunlight, which is a must for my application. With those displays (yellow/green version) reading in direct sunlight is no problem.

Greetings
Daniel
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4298
Posted: 11:45am 09 May 2025
Copy link to clipboard 
Print this post

  matherp said  This version will be the release ...


When it does finally come out of RC I don't suppose you can be persuaded to find another hobby for 6 months whilst we poor users write some software to use all the latest and greatest without the sands shifting any further ;-)

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10180
Posted: 01:18pm 09 May 2025
Copy link to clipboard 
Print this post

There is one bit of functionality to go in after this release which is the text based graphics support. It is pretty much completely stand-alone though.
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 234
Posted: 01:33pm 09 May 2025
Copy link to clipboard 
Print this post

Peter,

Maybe you missed my message a bit back on page 39 at the top?
I have only been able to test LIST PINS on an HDMI screen because I have not been able to test VGA yet. Tera Term works fine.
Thanks.

Greetings,

Jan.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10180
Posted: 01:57pm 09 May 2025
Copy link to clipboard 
Print this post

  Quote  Maybe you missed my message a bit back on page 39 at the top?


I think that's one we can live with as-is
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 299
Posted: 03:51pm 09 May 2025
Copy link to clipboard 
Print this post

  matherp said  Swap swaps a hidden sprite for a showing one. It is not a two way thing


Understood.
Result I am observed at first was merge, not swap.


Print @(0,0) "a"
Sprite read 1,0,0,8,12
Print "spr a"
Sprite show 1,50,50,1
Pause 1000
Sprite hide 1
Print @(0,0) "b"
Sprite read 2,0,0,8,12
Print "spr b"
Sprite show 2,80,50,1
Pause 1000
Sprite hide 2
Pause 1000
Print "Swap a <> b"
Sprite show 1,50,50,1
Sprite SWAP 1,2
End




This made me confuse and I dived into old forum records.
It seems manual is somehow incomplete/unclear, as optional [,orientation] is not explained

Sprite SWAP 1,2,4  <-- makes it swap correctly
0,1,2,3 MERGE (!) 2 to 1 with orientation  

Another observation was - after Sprite SWAP 1,2 I can SPRITE HIDE 2 which is not displayed  but I can not SPRITE HIDE 1 which is displayed.
My MMBasic 'sand box'
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 234
Posted: 10:04pm 10 May 2025
Copy link to clipboard 
Print this post

Peter,

Thanks for the response.
Unfortunately it is not different but I appreciate the amount of work and time you have put into this project.

Greetings,

Jan.
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 11:06pm 10 May 2025
Copy link to clipboard 
Print this post

  matherp said  There is one bit of functionality to go in after this release which is the text based graphics support. It is pretty much completely stand-alone though.
Do you mean ANSI for the console screen?

One question and no answer is ok. Is it thinkable you extend the family with a hdmi graphic server? My idea would be to use the existing ssd routines for the clients.

Do you see any solution to extend the ram of a 2350?
Edited 2025-05-11 09:19 by dddns
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3347
Posted: 11:15pm 10 May 2025
Copy link to clipboard 
Print this post

What is an "hdmi graphic server"?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7817
Posted: 07:09am 11 May 2025
Copy link to clipboard 
Print this post

The "normal" RAM on the RP2350 cannot be extended because it's on an internal bus that isn't available externally. The only expansion possible is via the QSPI system (i.e. like the flash but using PSRAM). Consequently it will always be much slower than the internal RAM.
Mick

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

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 09:47am 11 May 2025
Copy link to clipboard 
Print this post

After sleeping a night over my stupid questions I would like to reduce it to:
  dddns said  Do you see any solution to extend the ram of a 2350?


Would GPIOs be fast enough and possible to interface some fast ram?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7817
Posted: 10:09am 11 May 2025
Copy link to clipboard 
Print this post

GPIO is way too slow.
The internal bus has the CPU "sockets" and the RAM on it, together with the peripherals. One of the peripherals handles QSPI, which is used for the flash. A second chip select can be brought out for the PSRAM, which is also on the QSPI. You can't get to the internal bus at all so the operational RAM can never be extended.

The HSTX opens up the possibility of Write-Only memory. :)

You *can* hang memory off the GPIO pins, I'd suggest SPI flash or RAM, but it's generally tiny and dreadfully slow. It makes PSRAM look lightning fast.

If you want external fast RAM then the RPxxxx family is the wrong way to go. Look at the CMM2, which does have extendable RAM.
Mick

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

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 11:09am 11 May 2025
Copy link to clipboard 
Print this post

Thanks Mixtel!

I precise my question: is it possible to feed the screen buffer with ram attached to GPIOs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10180
Posted: 11:20am 11 May 2025
Copy link to clipboard 
Print this post

If you are talking about HDMI or VGA then the answer is categorically NO
Edited 2025-05-11 21:21 by matherp
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 469
Posted: 11:26am 11 May 2025
Copy link to clipboard 
Print this post

Thank you, no more words :)
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1566
Posted: 06:16pm 11 May 2025
Copy link to clipboard 
Print this post

Hi Peter,
Can you please tell me the default values ​​for (USB) keyboard repeatstart and repeatrate?
Thanks!
Michael
causality ≠ correlation ≠ coincidence
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 424
Posted: 03:11am 12 May 2025
Copy link to clipboard 
Print this post

  matherp said  V6.00.02RC23 is available on

https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip


When I put the command
DRIVE B:

in my library, it disappears after a reboot. The rest of the library is there but not the DRIVE B: line.

My Options:
WebMite MMBasic RP2350A Edition V6.00.02RC23
OPTION SERIAL CONSOLE COM1,GP0,GP1
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP6,GP7, SLOW
OPTION FLASH SIZE 4194304
OPTION LIBRARY_FLASH_SIZE  34000
OPTION COLOURCODE ON
OPTION CONTINUATION LINES ON
OPTION CASE UPPER
OPTION TAB 3
OPTION DEFAULT COLOURS GREEN, BLACK
OPTION KEYBOARD I2C
OPTION CPUSPEED (KHz) 252000
OPTION LCDPANEL CONSOLE ,, FF00
OPTION DISPLAY 26, 40
OPTION LCDPANEL ILI9488P, PORTRAIT,GP14,GP15,GP13,,INVERT
OPTION WIFI MySpectrumWiFie0-2G, **************, RP2350A
OPTION SDCARD GP17, GP18, GP19, GP16
OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5


My Library (including the DRIVE B: line):
CONST TRUE=-1
CONST FALSE=0
OPTION ESCAPE
OPTION BASE 1
DRIVE "B:"
SUB MM.STARTUP
WEB NTP -4,"time.nist.gov"
PRINT
END SUB
SUB MM.END
PRINT
PRINT
PRINT "END PROGRAM"
PRINT
END SUB
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2579
Posted: 03:47am 12 May 2025
Copy link to clipboard 
Print this post

Try putting all above SUB MM.STARTUP in MM.STARTUP. Perhaps that will help.
I think items in the library only get read when called so they need to be in a Sub of some sort.
SUB MM.STARTUP
 WEB NTP -4,"time.nist.gov"
 CONST TRUE=-1
 CONST FALSE=0
 OPTION ESCAPE
 OPTION BASE 1
 DRIVE "B:"
 PRINT DateTime$(now)
END SUB

SUB MM.END
 PRINT
 PRINT
 PRINT "END PROGRAM"
 PRINT
END SUB

Edited 2025-05-12 15:02 by phil99
 
     Page 44 of 52    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025