| |
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?
|
|
... 5 posts hidden. Click here to view all posts.... |
| |
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. |
| |
Burglar
Registered: Dec 2004 Posts: 1101 |
I'm wondering though, are speedtests done in vice accurate as opposed to testing on the real thing?
Just done a few tests and the results seem to make sense. Interleave 9 wins on loading + exodecrunch with a rather simple 2bitatn loader. |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Vice is not accurate on this.
The simulated rotational speed in ~306 RPM, and all intersector gaps are 6 bytes.
Furthermore there is no additional tail gap at all. |
| |
Burglar
Registered: Dec 2004 Posts: 1101 |
hmmm, I figured as much... if vice true drive emu is faster than a real 1541, I'll probably just use the default interleave of 10. |
| |
HCL
Registered: Feb 2003 Posts: 728 |
Well hmm, sorry i'm late. But if it should appear that all priorly mentioned tools would suddenly stop working, you can have my own disk-tool with source and all :P. I didn't release it (yet?), but just ask :). |
| |
Ninja
Registered: Jan 2002 Posts: 411 |
Same goes for the tool Doc Bacardi wrote :D |
Previous - 1 | 2 - Next |