Reply 480 of 481, by FreddyV
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 […]
FreddyV wrote on 2026-11-16, 15:42:Hi, […]
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 slutteringThe 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 operationPlus 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 busyAnd 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