Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user eightbitswide ! (Registered 2024-12-24) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Interleaved File Copy
2003-12-27 14:28
yago

Registered: May 2002
Posts: 333
Interleaved File Copy

Hello Disk Wizards,
i am currently testing some irqloaders, and want to see how fast they can get with different interleaves.
The only tool I found is intcopy/taboo, but it is c64-native and seems to have problems with already allocated Blocks.

Any Ideas which Tools (preferable cross-development) I could use to write to a Disk while specifying the interleave ?

TIA,
Zed Yago

PS: All cross-development tools I checked write with interleave 1!!!
--
If everything is worth money
money is worth nothing
2003-12-27 15:21
cadaver

Registered: Feb 2002
Posts: 1160
Hi, check out prg2d64 and makedisk from my tool collection. prg2d64 always writes with a fixed interleave but it can be recompiled. makedisk has interleave as a command line option.

http://covertbitops.c64.org/tools/c64tools.zip

No responsibility is taken for possible wrong BAM-allocations etc. :)
2003-12-27 16:34
Cybernator

Registered: Jun 2002
Posts: 154
Speaking of xdev tools, I think Star Commander has configurable sector-interleave.
2003-12-27 17:04
cadaver

Registered: Feb 2002
Posts: 1160
But AFAIK because there's no batch processing or commandline operation (or they at least aren't documented), building images with SC at each interleave will be a royal pain :) Same for 64COPY. I wouldn't have made my own utilities if I knew a sane alternative :)
2003-12-28 12:19
Cybernator

Registered: Jun 2002
Posts: 154
In that case, prg2d64 would be even greater pain, Agent C. :) Anyway, Makedisk should do the job.
2003-12-28 12:33
cadaver

Registered: Feb 2002
Posts: 1160
Yes, but it is easy to modify & recompile for selectable interleave, unlike some filecopy utilities with no source.. In fact I'm doing this myself now & uploading updated tools.
2003-12-28 12:58
Steppe

Registered: Jan 2002
Posts: 1510
Wait, didn't Joe add a batch processing feature to SC in one of the latest beta? I don't know if the interleave can be controlled from the commandline, but at least some sort of batch-processing is there, I'm sure.
2003-12-28 13:43
cadaver

Registered: Feb 2002
Posts: 1160
Ah, there actually is a function to set a variable (which can control interleave) so I was wrong. Anyway, cool to see that SC keeps progressing..

Still, I'd wish c1541 from VICE would get ability to configure interleave. It's probably most versatile command line oriented disk image manipulator.
2003-12-28 15:43
raven
Account closed

Registered: Jan 2002
Posts: 137
If you need to change the interleave on the C64 (or emu)
before save, do the following:

open 1,8,15:print#1,"m-w"chr$(105)chr$(0)chr$(1)chr$(interleave):close1
2003-12-29 19:19
yago

Registered: May 2002
Posts: 333
Thanks for the various infos!

As I am currently in leisure Time without internet, i thought about the problem a little bit, and coded myself the desired tools :-)

If anybody is interested in copy2d64, or its analysis companions readts, writets and printbam, leave me a PM.
copy2d64 has commandline-options for interleave, rawmode(without loadaddress nor chaining), direction, use track18 and so on. It has even an option for specifying how long it takes to move the head one track further!

Seems to work, and dreamload and plushdos got a huge speed-improvement compared to interleave=1.

Happy new year 2003!
Zed Yago/K2
2003-12-30 09:26
HCL

Registered: Feb 2003
Posts: 728
Heh.. Using the normal interleave 8 will also double the speed comparing to using 1 :).
 
... 1 post hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Guests online: 121
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 X-Mas Demo 2024  (9.5)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.033 sec.