floppy: detect the format from image size instead of always reporting 1.44MB - #421
Open
erichelgeson wants to merge 1 commit into
Open
floppy: detect the format from image size instead of always reporting 1.44MB#421erichelgeson wants to merge 1 commit into
erichelgeson wants to merge 1 commit into
Conversation
… 1.44MB MODE SENSE page 05h was a fixed constant claiming 1 head, 18 sectors and 8192-byte sectors. Match the image against the standard formats so page 05h, the medium type and the CHS geometry describe the mounted disk. Fixes #33
Test this PRFlash the firmware built from
Must be signed in to GitHub. Build expires after 90 days. BlueSCSI Memory ReportCompared against release Memory Usage
Symbol Region ChangesPico_Audio_SPDIF: 4 symbols moved RAM → FLASH (-312 B RAM)
Pico_DaynaPORT: 4 symbols moved RAM → FLASH (-312 B RAM)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MODE SENSE page 05h was a fixed constant claiming 1 head, 18 sectors and 8192-byte sectors. Match the image against the standard formats so page 05h, the medium type and the CHS geometry describe the mounted disk.
Fixes #33