Skip to content

Keep empty floppy drives in no-media state#148

Merged
LinuxJedi merged 1 commit into
mainfrom
fix/issue-119-empty-floppy
Jul 7, 2026
Merged

Keep empty floppy drives in no-media state#148
LinuxJedi merged 1 commit into
mainfrom
fix/issue-119-empty-floppy

Conversation

@LinuxJedi

Copy link
Copy Markdown
Owner

Summary

  • initialize connected empty floppy mechanisms with /CHNG asserted
  • keep empty-drive step polling from clearing the media-change latch
  • add internal/external empty-drive regressions and document the hardware behavior

Testing

  • cargo test disk_change --lib
  • cargo test --lib
  • cargo fmt --check
  • cargo clippy --all-targets --all-features --locked -- -D warnings
  • git diff --check

Closes #119

Initialize connected empty floppy mechanisms with the disk-change line asserted and preserve that no-media state across empty-drive step polling. This lets trackdisk distinguish an empty drive from unreadable inserted media.

Add regressions for empty internal and external mechanisms, and document that a step only clears the change latch once media is present.
@LinuxJedi LinuxJedi merged commit 55ea4d6 into main Jul 7, 2026
7 checks passed
@LinuxJedi LinuxJedi deleted the fix/issue-119-empty-floppy branch July 7, 2026 07:07
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

Successfully merging this pull request may close these issues.

[Bug]: Empty floppy drives are not really empty

1 participant