VOGONS


PicoMEM : Pi Pico on ISA, with full Memory and I/O bus access

Topic actions

Reply 480 of 481, by FreddyV

User metadata
Rank Oldbie
Rank
Oldbie
Acorns wrote on 2026-11-18, 05:20:
The source change is on the linked branch: https://github.com/Elendilon/ISA-PicoMEM/tree/pm-pr 1 commit ahead of your upstream r […]
Show full quote
FreddyV wrote on 2026-11-16, 15:42:
Hi, […]
Show full quote

Hi,

Where can I find the source change ?

Also, why do you want to stop the audio mix during disk access ?
The Goal is to avoid sound sluttering

The source change is on the linked branch:
https://github.com/Elendilon/ISA-PicoMEM/tree/pm-pr
1 commit ahead of your upstream repo. The name changed, as in my later post, because it stopped being only for picomem 1x, sorry!

This change does not *stop* the audio mix during disk access, but rather *keeps it going* (it stops right now during parts of the I/O operation, which causes stuttering).

* Increase the SB buffer sizes so the sound doesn't underrun during a standard operation (128 to 512, and 512 to 2048)
* Feed the buffer during an I/O operation

Plus the three bugfixes:
* Don't decode DMA cycles as register writes
* Don't leave the sound buffer filled with previous data
* Don't stop reading I/O data when the CPU is busy

And one performance lift:
* Batch read from the SD card while the CPU copies the previous data (instead of one sector at a time; ~10% throughput increase)

I will try most of your changes but not all (All the added audio mix, increased buffer size)

We had clause working on the Multi sector read.
It also corrected bugs (missing retry)
Plus added a "Stream mode" that keep the multi sector read opened as long as needed (even between 2 Int13)
Speed increase is quite big

Reply 481 of 481, by Acorns

User metadata
Rank Newbie
Rank
Newbie
FreddyV wrote on Today, 18:52:

Plus added a "Stream mode" that keep the multi sector read opened as long as needed (even between 2 Int13)
Speed increase is quite big

Glad to hear! I'll try it whenever you have it ready, on both the systems I have a Picomem V1 and Picomem V2 in.