PIOs Rock! - Blazingly fast retro ROM serving with no CPU and just 18 bytes of PIO code
Iβve added PIO support to One ROM Fire - and not just any PIO support, but a completely autonomous PIO+DMA chain that is over twice as performant as the existing CPU-based algorithm.
This is a deep dive into how I use the PIOs and DMA together on the RP2350 for maximum performance, beating any other algorithm Iβve seen for ROM serving on microcontrollers.
I also show off an anomoly that I canβt explain in one of my VIC-II video chips, exposed by this algorithm.
π Links
One ROM website: https://onerom.org/
π Buy One ROMs
Keep an eye on my online store if you want to buy One ROMs when they are available:
https://www.packom.net/product/one-rom-ice-usb/
If you sell a version of One ROM, let me know so I can publicise it on youtube and at https://onerom.org/
β° Timestamps
00:00 π¬ Introduction
01:25 β‘ PIO+DMA performance
02:22 βοΈ PIO introduction
05:30 π DMA introduction
06:13 π PIO+DMA algorithm
15:58 π» PIO code walkthrough
26:57 ποΈ DMA configuration walkthrough
34:48 βοΈ PIO+CPU comparison
38:53 β οΈ Marginal video chip?
41:12 π Final thoughts
Video content copyright (c) 2025 piers.rocks Limited. All rights reserved.
comments powered by Disqus