Skip to content

Conversation

@ChetSimpson
Copy link
Contributor

Updates cartridge loader and clients (pakinterface, mpi) to support loading a cartridge implementing the cartridge interface.

  • Adds cartridge_context to provide a fluent interface to the host environment.
  • Adds cartridge factory definitions for the functions exported by the dll to create a cartridge.
  • Updates cartridge_loader to search for GetPakFactory in the loaded dll and if present use it to construct a cartridge.
  • Updates rom_cartridge to use the cartridge_context interface instead of callbacks.
  • Adds basic support for loading a ROM image (separate from loading a ROM cartridge/program pak).
  • Updates MPI implementation to provide addition implementations of cartridge_context for use in mounting a cartridge.

…he `cartridge` interface

* Adds `cartridge_context` to provide a fluent interface to the host environment.
* Adds cartridge factory definitions for the functions exported by the dll to create a `cartridge`.
* Updates `cartridge_loader` to search for `GetPakFactory` in the loaded dll and if present use it to construct a `cartridge`.
* Updates `rom_cartridge` to use the `cartridge_context` interface instead of callbacks.
* Adds basic support for loading a ROM image (separate from loading a ROM cartridge/program pak).
* Updates MPI implementation to provide addition implementations of `cartridge_context` for use in mounting a cartridge.
@ejaquay ejaquay merged commit 487ee2f into VCCE:main Oct 23, 2025
1 check passed
@ChetSimpson ChetSimpson deleted the cs/core/refactor-loader-to-support-cartridge-inteface/01 branch October 26, 2025 02:44
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.

2 participants