Page 1 of 1

Quick n Dirty SD performance test

Posted: Sat Jan 21, 2023 1:45 am
by TomXP411
I was curious to see exactly how fast the CX16 could load from SD, compared to some previous tests in older versions of the ROMs.

So I threw together a quick and dirty BASIC program to write out 504KB to disk (bank 0 is used by the OS) and then read it back into banked memory

This is the result. It builds a 128-byte string, the writes that about 4000 times to fill a 504KB file.

Then it uses BLOAD to read the data back in at machine language speed. The time it takes to load is presented in seconds.

I get 5.5 seconds to load 504KB, which is around 91KB/s.
BLOAD-TEST.BAS
(675 Bytes) Downloaded 175 times

Re: Quick n Dirty SD performance test

Posted: Sat Jan 21, 2023 2:26 am
by desertfish
Here's the program I wrote to mainly test VLOAD and difference between optimized LOAD and sequential loading with CHRIN() vs MACPTR() . VLOAD is blazing fast by the way, (on the emulator) it reaches > 100.000 bytes/sec