Re: Fast copy routine needed

From: silverdr_at_wfmh.org.pl
Date: Sat, 22 Aug 2015 21:49:30 +0200
Message-ID: <55D8D24A.50606@wfmh.org.pl>
On 2015-08-22 10:35, Ruud@Baltissen.org wrote:

> Who has experience in reading (and writing) sectors as fast as 
> possible and is willing to share his knowledge, preferably his 
> source codes as well? 

I make a D64 in 21.3 seconds... on a real C64/1541 because I haven't
found time to do more of what I want to do to get well below 20secs ;-)

The common trick is to ignore the order completely. You keep a table of
sectors already processed [on a given track] and read what falls under
your (magnetic) head. If it's one that's already been processed, you
wait until the one that hasn't, obviously marking it in the table when
finished. When all of the expected sectors are read you don't wait
anymore, obviously ;-)

> Note: I need the real data in the end, so it has to be GCRed first.

You mean de-GCRed, I guess. Correct. That's when I haven't done my
homework yet...

-- 
SD!

       Message was sent through the cbm-hackers mailing list
Received on 2015-08-22 20:01:40

Archive generated by hypermail 2.2.0.