Skip to content

runtime: add opt-in 8 MB main RAM mod - #251

Draft
mstan wants to merge 1 commit into
masterfrom
integrate/8mb-ram-opt-in
Draft

runtime: add opt-in 8 MB main RAM mod#251
mstan wants to merge 1 commit into
masterfrom
integrate/8mb-ram-opt-in

Conversation

@mstan

@mstan mstan commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • ports the rbengine 8 MB main RAM enhancement as a focused, master-targeted change
  • adds the hidden/default-off builtin package psx.enhancement.8mb-ram
  • makes runtime RAM mapping, save/load, netplay digest sizing, and generated dispatch canonicalization respect the live 2 MiB vs 8 MiB mode

Source

Adapted from the rbengine 8 MB RAM work, especially commits 8fb75061, 76945d3a, and the hidden-by-default follow-up 45253daf. This intentionally leaves out rbengine-only rollback/bank-switching pieces.

Validation

  • runtime build: psx-runtime, mod_packages_test, mod_runtime_test, gte_register_access_test, ws_ui_group_test, psx_ram_runtime_map_test, psx_memory_geometry_retail_test, psx_memory_geometry_expanded_test
  • CTest runtime focused set: 7/7 passed
  • py -3 runtime/tests/test_mod_load_acceleration.py
  • recompiler build: psxrecomp-game, recompiler_patch_test, full_function_emitter_test, emitter_directive_line_test
  • CTest recompiler focused set: 3/3 passed
  • git diff --check

Review needed from Cobalt/tetrisgm on whether this should land and whether the hidden/default-off package shape is the right policy.

Adapt the 8 MB RAM work from the rbengine branch into a master-targeted change. The builtin package is disabled by default, activation requests expanded RAM before memory init, and runtime/state/digest/dispatch paths respect the live RAM map.
@mstan
mstan marked this pull request as draft August 28, 2026 04:55
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.

1 participant