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

MD+ support for 32X games #11

Open
viciious opened this issue Apr 21, 2022 · 13 comments
Open

MD+ support for 32X games #11

viciious opened this issue Apr 21, 2022 · 13 comments

Comments

@viciious
Copy link

I know this is way too early in the project's life to issue requests such as this one, but maybe it would be possible to add MD+ support to the core, given that the addition of Sega CD is highly unlikely? That would enable 32X games to feature CD audio playback without having to rely on Sega CD Mode 1.

@thehughhefner
Copy link

There aren't any MD+ patches for 32x games so I don't think it is relevant for the 32x core. This is an enhance request that should be asked in the genesis repo

@viciious
Copy link
Author

The upcoming version of Doom 32X Resurrection will feature MD+ support.

I wasn't sure which repository this repository this request was supposed to be asked. For all I know, TerraOnion devs had to make some special amendments in MegaSD firmware in order to get MD+ to work with the 32X, so I figured it was worth asking here as well.

@thehughhefner
Copy link

You posted the comment into the wrong issue ticket. :D

@viciious
Copy link
Author

Oh well, I googled for MD+ support on the Genesis core for MiSTer prior to opening this issue, and was fooled into believing that it had one, but apparently people often confuse MSU-MD with MD+, and only the former is supported.

@Kitrinx
Copy link
Member

Kitrinx commented Jun 2, 2022

this isn't going to happen any time soon I think, you'd have to merge the sega cd and 32x cores and I think that may never happen due to size.

@sorgelig
Copy link
Member

sorgelig commented Jun 2, 2022

MD+ is a basically Mega CD core. There is not enough resources to merge 32X and Mega CD.

@viciious
Copy link
Author

viciious commented Jun 3, 2022

MD+ is a basically Mega CD core. There is not enough resources to merge 32X and Mega CD.

Not quite exactly. MD+ is just the CD audio portion of Mega CD. Meaning no 68000, ASIC or word RAM, that would eat away the precious FPGA resources, would be needed.

@sorgelig
Copy link
Member

sorgelig commented Jun 3, 2022

i can evaluate the possibility. I need some 32X patch for MD+

@viciious
Copy link
Author

viciious commented Jun 3, 2022

i can evaluate the possibility. I need some 32X patch for MD+

Thanks!

Doom 32X Resurrection (comes with MD+ support): https://www.romhacking.net/hacks/6269/

Implementation example from D32XR, which uses the newly introduced command 0x2700 for obtaining the number of CDA tracks: https://github.com/viciious/d32xr/blob/master/src-md/megasd.c

Mortal Kombat II 32X+ patch: https://www.zeldix.net/t2305-mortal-kombat-ii-md-32x-msu-md

MegaSD dev manual: https://downloads.terraonion.com/public/MegaSD_DEV_Manual.pdf

@sorgelig
Copy link
Member

sorgelig commented Jun 3, 2022

MegaSD is NOT supported in MegaCD. It has special HW not found in original Mega CD. I can talk only about MD+ library from krikkz which requires only CD HW and nothing else.

@Kitrinx
Copy link
Member

Kitrinx commented Jun 3, 2022

I think there's some terminology confusion. MSU-MD is the mega cd compatible version supported by everdrives, and that's what mister has support for. MD+ will probably never be supported as it's just some proprietary stuff for one flash cart. You should encourage the developers of that game hack to use MSU-MD instead as it's a much better standard.

@viciious
Copy link
Author

viciious commented Jun 3, 2022

I think there's some terminology confusion. MSU-MD is the mega cd compatible version supported by everdrives, and that's what mister has support for. MD+ will probably never be supported as it's just some proprietary stuff for one flash cart. You should encourage the developers of that game hack to use MSU-MD instead as it's a much better standard.

I'm aware of the dichotomy between MSU-MD and MD+ and I'd argue that while MD+ is indeed proprietary, on the upside it doesn't require a fullblown SegaCD attachment to work. We're pretty much in the same situation with the 32X core for MiSTer right now: we can't have the MegaCD core integrated due to space constraints and we can't have CD audio playback due to MD+ being a non-standard implementation.

As an alternative solution, would a limited support for SegaCD Mode 1 support be feasible instead? It's basically what MSU-MD uses to provide CDA support. No ASIC or word RAM functionality, no nothing. Granted, it does require the sub 68000 CPU.

@sorgelig
Copy link
Member

sorgelig commented Jun 3, 2022

Yeah, it was my misunderstanding.. I always confuse between MD+ and MSU-MD.
MSU-MD by krikkz uses only standard Sega hardware, and that's what i was talking about. There almost no BRAM left in 32x core, so if required CD parts don't need additional RAM then PROBABLY it's possible. But with additional 68000 CPU it should need some RAM which is bad..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants