| |
Shadow Account closed
Registered: Apr 2002 Posts: 355 |
Commad-line util to create D64?
I'm doing some tests with IRQ-loading, and it is a bit cumbersome to test. As it is now, I build my source (a bat-file that compile the different sources using KickAssembler, then run a bit of exomzier etc.), then use D64 editor to insert the files in a .D64, and then test using Vice with true drive emulation.
It would be nice to be able to skip that middle step, and just add an extra step in the bat file that would create the D64.
So I am looking for a command-line utility that takes a number of files as argument and then creates a D64 with those files.
Does such a utility exist?
|
|
| |
hollowman
Registered: Dec 2001 Posts: 474 |
I use c1541 from the vice package and have a line in my .bat file that says
c1541.exe < commands.txt
the commands.txt has the commands for c1541 to delete and add files to the .d64
|
| |
cadaver
Registered: Feb 2002 Posts: 1160 |
You could also try makedisk & prg2d64 from http://cadaver.homeftp.net/tools/c64tools.zip
C1541 is otherwise superior in functionality, but those programs allow you set the interleave as you wish, so you can experiment what interleave gives best IRQ-loading speed. |
| |
Burglar
Registered: Dec 2004 Posts: 1101 |
I use Jackasser's cc1541, it has proper and configurable interleave settings. dunno if he released it though... |
| |
Shadow Account closed
Registered: Apr 2002 Posts: 355 |
Thanks a lot to you all! Seems like there are a lot of options. For now makedisk seems like the easiest choice, and it worked just as I wanted right away.
Man, this is why I love CSDB! |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
c1541 in the current vice uses interleave 1 for writing which is not a very accurate emulation of a 1541.
This and track allocation order has been corrected in the viceplus repository.
There seems to be a lot of tools producing non 1541 identical interleaves and track allocations.
cbmconvert misses every other sector on tracks with an even number of sectors for instance.
They only get filled when the rest of the disk has filled up.
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
@Burglar: I'm glad you use it. It has been released in the source for S:T Lars Meeting III - Invite. Mind you that there is a bug in that version causing the BAM to have reversed bit order in each byte. Krill has fixed this in the version he bundle with his loader. This will still create a perfectly readable and copyable disk, however running a validation on the disk will cause mayhem. ;D Sorry for that! |
| |
Burglar
Registered: Dec 2004 Posts: 1101 |
Quote: @Burglar: I'm glad you use it. It has been released in the source for S:T Lars Meeting III - Invite. Mind you that there is a bug in that version causing the BAM to have reversed bit order in each byte. Krill has fixed this in the version he bundle with his loader. This will still create a perfectly readable and copyable disk, however running a validation on the disk will cause mayhem. ;D Sorry for that!
I use the one from krill's loader, so I should be ok ;) thanks for the tool! |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
Is this tool-by-jackasser-but-patched-by-krill available somewhere? I would lööööööööööööööööve to have it.
Yep! |
| |
doynax Account closed
Registered: Oct 2004 Posts: 212 |
This is one of those things you may want to consider writing your own tool for, well eventually anyway. The 1541 filesystem is really quite straightforward, check out Inside Commodore DOS, and a D64 file is merely dump of the sectors.
In other words you can control the interleave on a per-file basis, bypass the filesystem entirely for certain files, use extended tracks, shuffle file data bits to better suit your loader, generate minimal patches for previous versions, gather profiling data from your drivecode and lay out the files accordingly, and so forth.
Nothing major perhaps but having full control of your floppy contents and tools gives you a lot of power. Okay, so I admit to suffering from a severe case of the NIH syndrome, but still.. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: This is one of those things you may want to consider writing your own tool for, well eventually anyway. The 1541 filesystem is really quite straightforward, check out Inside Commodore DOS, and a D64 file is merely dump of the sectors.
In other words you can control the interleave on a per-file basis, bypass the filesystem entirely for certain files, use extended tracks, shuffle file data bits to better suit your loader, generate minimal patches for previous versions, gather profiling data from your drivecode and lay out the files accordingly, and so forth.
Nothing major perhaps but having full control of your floppy contents and tools gives you a lot of power. Okay, so I admit to suffering from a severe case of the NIH syndrome, but still..
@doynax: My tool lets you control the interleave per file and optionally choose dir track and use track 18 for data. Split or not split files over track 18 etc. |
... 5 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |