Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : PicoMite V6.00.02 release candidates - all versions

   Page 44 of 52    
Posted: 07:57pm
08 May 2025
Copy link to clipboard
electricat
Senior Member


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
 
Posted: 09:31am
09 May 2025
Copy link to clipboard
matherp
Guru

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
 
Posted: 11:22am
09 May 2025
Copy link to clipboard
Amnesie
Guru

  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
 
Posted: 11:45am
09 May 2025
Copy link to clipboard
thwill
Guru


  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
 
Posted: 01:18pm
09 May 2025
Copy link to clipboard
matherp
Guru

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.
 
Posted: 01:33pm
09 May 2025
Copy link to clipboard
JanVolk
Senior Member

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.
 
Posted: 01:57pm
09 May 2025
Copy link to clipboard
matherp
Guru

  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
 
Posted: 03:51pm
09 May 2025
Copy link to clipboard
electricat
Senior Member


  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.
 
Posted: 10:04pm
10 May 2025
Copy link to clipboard
JanVolk
Senior Member

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.
 
Posted: 11:06pm
10 May 2025
Copy link to clipboard
dddns
Guru

  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
 
Posted: 11:15pm
10 May 2025
Copy link to clipboard
lizby
Guru

What is an "hdmi graphic server"?
 
Posted: 07:09am
11 May 2025
Copy link to clipboard
Mixtel90
Guru


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.
 
Posted: 09:47am
11 May 2025
Copy link to clipboard
dddns
Guru

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?
 
Posted: 10:09am
11 May 2025
Copy link to clipboard
Mixtel90
Guru


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.
 
Posted: 11:09am
11 May 2025
Copy link to clipboard
dddns
Guru

Thanks Mixtel!

I precise my question: is it possible to feed the screen buffer with ram attached to GPIOs
 
Posted: 11:20am
11 May 2025
Copy link to clipboard
matherp
Guru

If you are talking about HDMI or VGA then the answer is categorically NO
Edited 2025-05-11 21:21 by matherp
 
Posted: 11:26am
11 May 2025
Copy link to clipboard
dddns
Guru

Thank you, no more words :)
 
Posted: 06:16pm
11 May 2025
Copy link to clipboard
twofingers
Guru


Hi Peter,
Can you please tell me the default values ​​for (USB) keyboard repeatstart and repeatrate?
Thanks!
Michael
 
Posted: 03:11am
12 May 2025
Copy link to clipboard
toml_12953
Guru

  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
 
Posted: 03:47am
12 May 2025
Copy link to clipboard
phil99
Guru


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    
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025