Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulate Capcom CX4 SNES enhancement chip #12145

Open
cuavas opened this issue Mar 17, 2024 · 0 comments
Open

Emulate Capcom CX4 SNES enhancement chip #12145

cuavas opened this issue Mar 17, 2024 · 0 comments

Comments

@cuavas
Copy link
Member

cuavas commented Mar 17, 2024

Segher, Overload and Ikari have reverse-engineered enough of the CX4’s behaviour to get the games that use it running (Mega Man X2 and Mega Man X3).

@dinkc64 has written an emulator for it in the style of old, pre-C++ MAME CPU cores: https://github.com/dinkc64/LakeSnes/blob/10f4a9dcc36d173057df2b01bf1a2dbb71c08abe/snes/cx4.c

It might be a fun task to make a MAME CPU core for it. @dinkc64’s code could be used as a starting point:

  • It obviously needs to be turned into a C++ cpu_device implementation rather than a collection of mostly static things.
  • The instruction decoding and execution parts are a pretty good starting point.
  • Memory and SFR access stuff needs to make use of address maps, etc.
  • Timer stuff should use MAME timers or work off the execute loop, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant