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

[BAD SECTOR] Thoughts #373

Open
GeoKM opened this issue Nov 1, 2023 · 2 comments
Open

[BAD SECTOR] Thoughts #373

GeoKM opened this issue Nov 1, 2023 · 2 comments

Comments

@GeoKM
Copy link

GeoKM commented Nov 1, 2023

Hi keirf, I can see the benefits of this in certain situations, but is there an option to switch this behavior off?

ie. for 1541 often we want to keep the bad sectors etc in their true representation within the flux (scp) image.

In the future you may want to know that a file has been corrupted, and if the blocks now have good CRC's etc they might be slipped into a file as good data. Or obviously, as you would know, many C64 protections (especially the simple ones) rely on finding a specific block error in a certain location.

I've just started imaging all of my C128 & C64 disks as flux SCP's, granted 99% of my disks are not protected, but I do want to know that bad blocks are bad blocks.

Prehaps, keep the bad sector flux data in the SCP by default, and provide an option to replace it with [BAD SECTOR] on convert or write?

8-)

Thanks for a great device BTW 8-)

Originally posted by @GeoKM in #264 (reply in thread)

@keirf
Copy link
Owner

keirf commented Nov 1, 2023

If you dump to raw flux then no conversion happens anyway. So for example you can validate against a --format during gw read, but if you also specify --raw then the exact raw flux coming off disk is what will be saved into your new image file.

@GeoKM
Copy link
Author

GeoKM commented Nov 6, 2023 via email

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

2 participants