On Fri, 29 Dec 2023 at 15:40, MartinR <
marti...@gmail.com> wrote:
>
> Just out of curiosity I decided to compare the speed of the SD card interface and Alan Cox's CH37x USB interface on my SC126. The SC126 was booted into CP/M 2.2 using the Dev40 version of RomWBW.
>
> [Caveat] My experiment was not particularly rigorous in its methodology.....
>
> The uSD card is a Kingston 64GByte 'Canvas Select Plus' (USB2.0), and the USB-stick is a SanDisk Cruzer Blade 16GB USB Flash Drive. These are what I had to hand. I ought to confirm the access times for those devices, but I suspect that it won't be the limiting factor.
>
> Each transfer was of a 323,387byte file from the SC126 RAM disk to a freshly CLRDIR'ed drive on either the uSD card or the USB-stick.
>
> Using my phone as a stopwatch (I said it wasn't rigorous!), I recorded times of 12.9sec for the uSD card and 9.0sec for the USB-stick.
>
> I wasn't expecting that! Not entirely sure why, but I did expect that the uSD interface would be the faster. On this basis, the USB-stick is about 40% faster.
used for SPI to the SD card is pretty slow. It runs at a fraction of
the bus clock and does bitwide transfers. Adding a CF adapter or using