Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
muellermartin opened this issue Jun 1, 2020 · 5 comments
Open

Comments

@muellermartin
Copy link

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:

@sjgray
Copy link
Owner

sjgray commented Jun 2, 2020

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
Copy link
Owner

sjgray commented Jun 2, 2020 via email

@muellermartin
Copy link
Author

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.

@shawnhenson73
Copy link

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

@sjgray
Copy link
Owner

sjgray commented Feb 9, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants