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

CHD: fix block address calculations #215

Merged
merged 1 commit into from
Mar 19, 2022

Conversation

aitorciki
Copy link
Contributor

CHDs tracks are padded to a 4-frame boundary, causing physical and CHD block addresses to differ after track 1. Adjusting sector reading to account for this offset fixes support of multi-data-track CHDs like Last Bronx (#162).

I've tested against ~30 CHDs successfully, but would be definitely good to further check compatibility against a wider sample.

In CHDs tracks are padded to a 4-frame boundary, causing physical and CHD
block addresses to differ after track 1. Adjusting sector reading to
account for this offset fixes support of multi-data-track CHDs like Last
Bronx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants