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:
@@ -44,7 +44,12 @@ final class HeadlessWire {
|
||||
case "float64", "string" -> data.isTextual();
|
||||
case "boolean" -> data.isBoolean();
|
||||
case "null" -> data.isNull();
|
||||
case "heap_ref" -> { uint(data); yield true; }
|
||||
case "heap_ref" -> {
|
||||
if (data.isObject()) {
|
||||
yield uint(data.path("index")).bitLength() <= 32 && uint(data.path("generation")).bitLength() <= 32;
|
||||
}
|
||||
uint(data); yield true;
|
||||
}
|
||||
default -> false;
|
||||
};
|
||||
if (!valid) throw invalid("Invalid typed stack value");
|
||||
|
||||
Reference in New Issue
Block a user