cbm-transfer icon indicating copy to clipboard operation
cbm-transfer copied to clipboard

Files types other than PRG can not be copied via a ZoomFloppy

Open muellermartin opened this issue 4 years ago • 5 comments

I'm not able to copy files types other than PRG (e.g, SEQ, REL or DEL) from a D64 disk image to a Commodore 1570 disk drive connected via a ZoomFloppy adapter.

The transfer logs (cbmxferlog.txt, cbmxferout.txt, cbmxfererr.txt) do not indicate any errors.

The only thing I noticed is that when I use c1541.exe on the command line, e.g. by using attach test.d64 to load an image and using extract to dump all files, the c1541 program shows following error for each file type other than PRG:

ERR = 62, FILE NOT FOUND, 00, 00
cannot open `[filename]' on unit 8

So maybe this is an issue with the c1541 program and CBM Transfer is not involved at all.

I also encountered the problem in issue #3 where CBM Transfer was not able to list the contents of a D64 disk image at all (by showing a blank listing) unti I downgraded the version of c1541.exe as suggested in the other issue, so maybe this is somewhat related.

Used software versions:

muellermartin avatar Jun 01 '20 15:06 muellermartin

I have confirmed there is a problem transferring certain files. I am trying to track the problem down. However, transferring SEQ and USR files does work. The problem I have is when it tries to copy but fails, the program will no longer copy ANY files. Exiting CBM-Transfer and re-running will get it working again. cbmxfer-usr-seq

sjgray avatar Jun 02 '20 00:06 sjgray

Sorry, i cant test 1571 transfers right now as i dont have access to my 1571 drives right now.

Steve

On Jun 1, 2020, at 11:50 AM, Martin Müller [email protected] wrote:

I'm not able to copy files types other than PRG (e.g, SEQ, REL or DEL) from a D64 disk image to a Commodore 1570 disk drive connected via a ZoomFloppy adapter.

The transfer logs (cbmxferlog.txt, cbmxferout.txt, cbmxfererr.txt) do not indicate any errors.

The only thing I noticed is that when I use c1541.exe on the command line, e.g. by using attach test.d64 to load an image and using extract to dump all files, the c1541 program shows following error for each file type other than PRG:

ERR = 62, FILE NOT FOUND, 00, 00 cannot open `[filename]' on unit 8 So maybe this is an issue with the c1541 program and CBM Transfer is not involved at all.

I also encountered the problem in issue #3 where CBM Transfer was not able to list the contents of a D64 disk image at all (by showing a blank listing) unti I downgraded the version of c1541.exe as suggested in the other issue, so maybe this is somewhat related.

Used software versions:

CBM-Transfer: 1.10 cbmcopy, cbmctrl and cbmlink (from ZoomFloppy win32 install package): 0.4.99.93 cbmlink: 0.9.7 c1541: V4.2 (VICE 3.2 r34843) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sjgray avatar Jun 02 '20 01:06 sjgray

Good to know, that in principle the transfer of these files should work! For me the behaviour is a bit different, though: Initiating the copying of files always works and for each file the copy dialogue is shown, but only PRG files actually get copied. Other files simply seem to get ignored.

I skimmed through the source code of CBM Transfer and found the function Copy_ImgToX() (lines 3243-3245) that seems to be responsible for the copy process. As expected, the c1541 command is involved. I will check if the manual use of these commands works to rule out that CBM Transfer is misbehaving.

It would also help to know the versions of the programs on which CBM Transfer relies (e.g. cbmcopy, c1541, etc.) so we can make sure that the error is not related to a specific version of one of these tools.

muellermartin avatar Jun 02 '20 08:06 muellermartin

Im using the v2 beta copy and things look good. using a xoom adapter. Does xoom floppy or the cbmxfer not support REL files?

I also try to just read the floppy and make a image but it does get past making the image file name. Other than that this is great. everything works fine

shawnhenson73 avatar Feb 09 '23 00:02 shawnhenson73

In the past REL files could not be copied, but I recently read that they may have added the feature to OpenCBM so I'll have to test it. CBM-Transfer does check the file type and currently does not let you copy REL files, but that should be a simple fix. I need to do a real V2 release so should work on it again, but not sure when. If need to copy a REL file you could try the commandline directly (if you enable command preview you can see what the commandline looks like for normal PRG files then just change the name to your REL file)

sjgray avatar Feb 09 '23 03:02 sjgray