You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Real-time Disk Visualization
Replaces the old rectangular BAM grid with a circular floppy disk visualization that shows real-time drive activity.
Changes:
DiskVisualizer.h/cpp - New rendering engine with track/sector layout, BAM coloring, and animated read head
FileBrowser.cpp - Integrated into DisplayDiskInfo() for full disk render on load
main.cpp - Added UpdateHead() hook in UpdateScreen() for real-time head movement
Features:
Concentric rings show D64 track layout (21/19/18/17 sectors per track zone)
BAM-based coloring: green=allocated, black=free, cyan=directory track
Red highlighting for active sector during drive LED activity
Moving read head on south edge with current track number
Integer-only math (no floating point dependencies)
Files Added:
hi, looks pretty cool - don't know what Steve will do with it;
You may give it a try to merge into my https://github.com/pottendo/pottendo-Pi1541
...though, pls. be aware: users are very sensitive when compatibility is degrading. I found that the whole GFX output impedes real-time responsiveness on the timing critical I/Os and therefore implemented the option to turn off the local Pi output; the average user won't connect a display anyways, so no need to waste cycles. Steve implemented a similar option in his 1.25, which is now also the base for my fork. Compatibility is pretty good... whatever you do pls. test high-end loaders, bitnax, etc. in combination with your code running and check if the system performance remains stable.
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
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.
Add Real-time Disk Visualization
Replaces the old rectangular BAM grid with a circular floppy disk visualization that shows real-time drive activity.
Changes:
DiskVisualizer.h/cpp - New rendering engine with track/sector layout, BAM coloring, and animated read head
FileBrowser.cpp - Integrated into DisplayDiskInfo() for full disk render on load
main.cpp - Added UpdateHead() hook in UpdateScreen() for real-time head movement
Features:
Concentric rings show D64 track layout (21/19/18/17 sectors per track zone)
BAM-based coloring: green=allocated, black=free, cyan=directory track
Red highlighting for active sector during drive LED activity
Moving read head on south edge with current track number
Integer-only math (no floating point dependencies)
Files Added:
src/DiskVisualizer.h (91 lines)
src/DiskVisualizer.cpp (500+ lines)
Files Modified:
src/FileBrowser.cpp (+20 lines)
src/main.cpp (+5 lines)
See attached MP4 and screenshots for the visual improvements.
Tested on:
Pi Zero 2 W
20260415_193337.mp4