Quick n Dirty SD performance test

All aspects of programming on the Commander X16.
Post Reply
TomXP411
Posts: 1807
Joined: Tue May 19, 2020 8:49 pm

Quick n Dirty SD performance test

Post 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
User avatar
desertfish
Posts: 1123
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Quick n Dirty SD performance test

Post 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
Attachments
DISKSPEED.PRG
(3.24 KiB) Downloaded 188 times
Post Reply