![]() |
Forum Index : Microcontroller and PC projects : PicoMite/PicoMiteVGA V5.07.05 betas
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
led-bloon![]() Senior Member ![]() Joined: 21/12/2014 Location: AustraliaPosts: 207 |
Just finished re-compiling PicoMiteVGA V5.07.05b7 for other hardware and noticed that the instability of horizontal sync (126 MHz Mode 1) has been fixed, when compiling with a RaspberryPi Thanks Peter Miss you George |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3319 |
Thank you. That solves my problem. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4004 |
Oh, doesn't look good. Maybe post a short test to show it, so Peter can fix it? John |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10075 |
PicoMite V5.07.05b8 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip Fixes crashing bug if edit is used after running a program with IR input Removes support for the GDEH029A1 display as this controller is now obsolete Reduces available RAM for VGA version from 108Kb to 104Kb to solve memory corruption issue. Warning: this version will erase all flash and options - backup saved programs as required |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10075 |
PicoMite V5.07.05b9 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip Fixes bug in SDK that caused SPI clock to set to wrong level before first transaction Improved error checking of SETPIN command to avoid crashes SETPIN for PWM no longer needs to specify the channel and port e.g. "SETPIN 1,PWM" is now accepted |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4863 |
Hi Peter, That solved the problem with the screen corruption. Thanks.... However.. When I am playing a song (it runs in the background) I cannot list a directory at the same time. Is that intentional ? > play wav "track 1.wav" > files Error : Not enough memory > Volhout Edited 2022-06-17 20:33 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
cosmic frog Senior Member ![]() Joined: 09/02/2012 Location: United KingdomPosts: 300 |
I also have this problem. Sometimes it will actually work but most times says not enough memory. I thought it maybe limitations of the hardware. Dave. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7531 |
There will be a buffer in RAM for the WAV data. How big it is I've no idea. I suppose that it might have to be a reasonable size, to read a certain numbers of sectors from the SDcard. The entire WAV file won't be loaded at once unless it's a brief sound effect - most are much bigger than the available RAM as WAV is uncompressed. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4863 |
I am not sure if Peter can make this work at all, hence the question. Maybe it is a matter of RAM allocation, but maybe it is MMBasic trying to access the sd card to get the FAT, and at tje same time the WAV player tries to read new data. And that is quite frequent if you immagine that WAV files can be 50Mbyte for 3 minutes = 180 seconds. That is 300k per second. With RAM buffers sized 60k, that is 5x per second. So very frequent. PicomiteVGA PETSCII ROBOTS |
||||
Michal Senior Member ![]() Joined: 02/02/2022 Location: PolandPosts: 125 |
And can picomite play mp3? For 128kbps it is only 16kB per second from the SD card. Michal |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7531 |
No, sorry. It's wav files only on the PicoMite. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2430 |
"And can picomite play mp3?" The manual makes no mention, perhaps it can be done if you write a CSub. For true retro sound get the background music from a radio-cassette player sitting behind the monitor. ;-) |
||||
Michal Senior Member ![]() Joined: 02/02/2022 Location: PolandPosts: 125 |
The processor power should be enough: https://learn.adafruit.com/mp3-playback-rp2040 Michal |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7531 |
Remember how MP3 works. It's compressed. You don't play the MP3 itself, you decompress it on the fly and play the resulting bit stream. That decompression process needs two things - processor power and RAM. The Pico may well be able to handle the processing, but it may not have enough spare RAM for decompression once things like a display, the user program, variables and MMBasic itself have taken their share. There's only 264K in total. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10075 |
The CMM2 has MP3. MMB4W has MP3. If the PicoMite could do it, it would have MP3. It can't. Note I said the. PicoMite not the RP2040 Edited 2022-06-18 21:21 by matherp |
||||
Michal Senior Member ![]() Joined: 02/02/2022 Location: PolandPosts: 125 |
Maybe some less memory-hungry compression method and algorithm? Michal Edited 2022-06-18 22:41 by Michal |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7531 |
Why? You're still extremely limited for RAM. It's pointless decompressing any music files when you can't fit them into RAM. You may as well just stream WAV from a SD card, use less processor power and less RAM and stand a chance of getting get better sound quality too. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10075 |
PicoMite V5.07.05b11 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip Fixes bug when using "ON KEY int" command Enables operation up to 378MHz Maximum program sizes now 100Kb(PicoMiteVGA) and 124Kb(PicoMite) |
||||
fred777 Regular Member ![]() Joined: 01/07/2021 Location: United KingdomPosts: 57 |
I know that linux users will complain but shouldn't those "/" characters shown in CWD$ and FILES really be "\"? I mean its FAT after all... > files A:/STUFF 0 directories, 0 files should be > files A:\STUFF 0 directories, 0 files |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Peter, Is there room to discuss the Program/RAM split ? personally I'd rather give up some of the Program RAM in exchange for getting to ~160K of variable RAM. Also am I correct in believing that processed CSUBs take up space in the variable RAM segment ? Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |