Repository navigation
docs(spec): add virtual segment incbin carve-out specification - #2
Merged
Merged
Conversation
… ripper
- Unify CarveRange/UncarveAtCursor/Undo under SQLite transactions with full cell, comment, label, and project.json Carves restoration (including straddling cells and overlapping re-carves)
- Wire Bitplane Viewer 'K' to ModalCarveName with '; Bitmap:' metadata block comments (geometry, BPLCON0/modulos, VIS/SYNC masks, plane pointers, palette/invert/bias) and full round-trip on 'B'
- Add TUI Music Ripper modal ('M' -> ModalMusicRipper) with j/k/PgUp/PgDn/Home/End navigation, Enter jump, 'w' module export, and 'K' incbin carve
- Update MANUAL.md, README.md, ARCHITECTURE.md, TESTING.md, and VIRTUAL_SEGMENTS_SPEC.md
mikolas
force-pushed
the
feat/virtual-carves
branch
from
October 25, 2026 21:02
0b82921 to
cbe6a4a
Compare
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.
Summary
Adds
VIRTUAL_SEGMENTS_SPEC.mddefining the unified virtual segment carve-out workflow using existinghunksprimitives (db.CellIncbin,Label, andBlockComment):v+K): Mark start address withv, navigate to end address (j/k,g,/,←/→), and pressKto prompt for a label/stem viaModalCarveNameand carve[Start, End)into a singleincbinrow.KinModalBitplane): Pre-fills[Start, End)fromst.ByteSpan(), opensModalCarveNamewith defaultgfx_<W>x<H>x<BPU>[i], attaches bitmap geometry/register summary as aBlockCommentabove the label, and invokesCarveRange(flat binaries only).u/U): Includesproject.Carverestoration on undo and cleans up auto-generated labels/block comments on uncarve.