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
This version will be the release. The only change will be to force an option reset when loading the first time
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
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
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
I think that's one we can live with as-is
Posted: 03:51pm 09 May 2025 Copy link to clipboard
electricat Senior Member
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
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:
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
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.
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.