feat(studio): integrate memcard persistence and headless controls
Persist cartridge identity and slot configuration, add MemcardBoot and the MemcardBuffer SDK, and consume the runtime's negotiated memcard host controls with protected teardown. Qualify save/reopen and version upgrades through distinct configured runtime processes. Include specs, examples, regression evidence and the consolidated discussion lesson.
This commit is contained in:
@@ -206,9 +206,16 @@ See [Concrete generic structs and free functions](17.%20Generic%20Structs%20and%
|
||||
## Guest hook marker identity
|
||||
|
||||
LifecycleMarker explicitly distinguishes NONE, INIT, FRAME, BEFORE_PAUSE and
|
||||
BEFORE_RESUME. Preserve marker attributes and source spans alongside the marker;
|
||||
BEFORE_RESUME and MEMCARD_BOOT. Preserve marker attributes and source spans alongside the marker;
|
||||
never reconstruct the role from a function name or an import alias. Invalid
|
||||
attribute targets/combinations MUST be diagnosed rather than silently treated
|
||||
as ordinary functions. Generic substitution/import processing MUST preserve
|
||||
canonical source identity and marker metadata. No MemcardBoot marker is defined
|
||||
by this surface.
|
||||
canonical source identity and marker metadata. The additional MEMCARD_BOOT marker follows the dedicated memcard contract.
|
||||
|
||||
|
||||
## Memcard integration
|
||||
|
||||
The [Memcard Bootstrap and SDK contract](<26. Memcard Bootstrap and SDK Specification.md>)
|
||||
defines the additional [MemcardBoot] marker, exact signature, neutral once-only
|
||||
bootstrap, project identity/slot validation and complete installed mem ABI.
|
||||
Its requirements apply in addition to this chapter; pause/resume remain independent.
|
||||
|
||||
Reference in New Issue
Block a user