Genesis / Megadrive core ported to MiST

https://github.com/mist-devel/mist-board/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Mon Apr 22, 2019 9:16 pm

Wow! I assumed they finished with the Mega Drive. But I guess no new trick is used here.

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Tue Apr 30, 2019 9:26 am

CPU overclock option:

https://github.com/mist-devel/mist-bina ... 190430.rbf

Good for 3D games, like Race Drivin'

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 727
Joined: Tue Feb 21, 2017 7:02 am

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Tue Apr 30, 2019 10:39 am

Good ! Thanks ;)

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 620
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Genesis / Megadrive core ported to MiST

Postby DrOG » Tue Apr 30, 2019 11:08 am

WOW!!! :cheers:

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 727
Joined: Tue Feb 21, 2017 7:02 am

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Fri May 10, 2019 1:37 pm

Which games are fixed with latest release Slingshot ?

https://github.com/mist-devel/mist-bina ... 190510.rbf

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Fri May 10, 2019 1:57 pm

One scene at Rocket Knight Adventures:
https://github.com/MiSTer-devel/Genesis ... /issues/46
The left side of Kawasaki Superbike Challenge
And there's a possibility of others which are using 2 column VSCROLL mode together with horizontal scroll.

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 727
Joined: Tue Feb 21, 2017 7:02 am

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Fri May 10, 2019 4:17 pm

Many thanks for this fix :cheers:

ghogan42
Atari maniac
Atari maniac
Posts: 81
Joined: Wed Oct 17, 2018 7:27 pm

Re: Genesis / Megadrive core ported to MiST

Postby ghogan42 » Tue Jun 04, 2019 7:21 am

Hi All. On the MiSTer port of this core we've had a sound issue in Sonic and Knuckles and I was wondering if the same issue happens on the MiST port.

To get it, you'd have to run Sonic and Knuckles (I guess USA region?) not locked onto anything else. Then you'd have to beat the first two levels. After you beat the boss in Mushroom Hill 2, during the transition to the next stage there is some crackling.

You can also play the sound in the sound test from the level select screen

Code: Select all

Level Select (when not Locked-On to anything else)
In Mushroom Hill Zone, while hanging off one of the pulling machines, press left three times, right three times, and up three times. You should hear the ring sound. Pause and press A to be taken to the title screen. Highlight either Sonic or knuckles as your character, and press start while holding A. The menu shows all levels in the game, but some are specific to a certain character, so you can't play those if you picked an incompatible character. Any time you want to exit and select a different level, just repeat the code from right after the pulling machine part.


How to play the sample in the level select:

Code: Select all

Sound Test, press C to play sample.
Sound Test 01, stops audio.
Sound Test BD, distorting sample (press C multiple times. It doesn't distort unless you play it a few times).


20190604_065918-Sonic & Knuckles (World).png


We think it might just be a YM2612 emulation problem because the sound is also different than a real Genesis. But I figured we could see if it was a shared problem between MiST and MiSTer to rule out MiSTer's digital audio issues.

Here's what it sounds like on mister: https://drive.google.com/open?id=1aGqnG ... sWl_6LUV4I

Here's a sample from the level select playing sample BD on an actual Model 2 Genesis: https://drive.google.com/open?id=1dmPLT ... rkAQZmCs7-

Here's what the waveform looks like when it distorts.
Sonic_Knuckles_Distortion.PNG


Anyone want to test this? :D

EDIT: I was asked to post how this sounds when you play it one time from the sound test (mister vs real hardware)

Mister: https://drive.google.com/open?id=1hzN3r ... JNL2NYJrVx

Model 2 Genesis: https://drive.google.com/open?id=1pTvZM ... FVpXAXXUGR
You do not have the required permissions to view the files attached to this post.

JamesF
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Sat Dec 15, 2018 6:46 am

Re: Genesis / Megadrive core ported to MiST

Postby JamesF » Tue Jun 04, 2019 7:32 am

EDIT: I was asked to post how this sounds when you play it one time from the sound test (mister vs real hardware)


@jotego

The two samples sound very different regardless the LPF,, sounds like the MiSTer (maybe MiST?) YM3438 has a problem with the envelope emulation,, and maybe that what creates the distortion.

Can someone please confirm this audio distoriton on the MiST?
A recording of this BD sample on the MiST would by best, single time, and multiple times (keep pressing C).
The YM3438 on the MiSTer is a direct port from the MiST.
Last edited by JamesF on Tue Jun 04, 2019 8:06 am, edited 2 times in total.

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Tue Jun 04, 2019 7:39 am

SVP support has been released on MiSTer. Will this support be included on MiST? :D
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Tue Jun 04, 2019 10:33 am

With another 128K RAM? I don't feel the force to convert it to SDRAM for only 1 game :)

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Tue Jun 04, 2019 12:30 pm

slingshot wrote:With another 128K RAM? I don't feel the force to convert it to SDRAM for only 1 game :)


Virtua Racing is one of my favorite games ever :oops: :oops: . But don't worry :cheers:
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Tue Jun 04, 2019 5:30 pm

vebxenon wrote:
slingshot wrote:With another 128K RAM? I don't feel the force to convert it to SDRAM for only 1 game :)


Virtua Racing is one of my favorite games ever :oops: :oops: . But don't worry :cheers:

Ok, so you can take the job then :D

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Wed Jun 05, 2019 11:02 am

slingshot wrote:
vebxenon wrote:
slingshot wrote:With another 128K RAM? I don't feel the force to convert it to SDRAM for only 1 game :)


Virtua Racing is one of my favorite games ever :oops: :oops: . But don't worry :cheers:

Ok, so you can take the job then :D


I don't have coding skills :( :( :( . Sorry.
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Sun Jun 09, 2019 2:47 pm

Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Tue Jun 11, 2019 7:04 pm

Made on MiST:
You do not have the required permissions to view the files attached to this post.

Gehstock
Captain Atari
Captain Atari
Posts: 389
Joined: Wed Dec 21, 2016 7:18 pm
Location: Germany

Re: Genesis / Megadrive core ported to MiST

Postby Gehstock » Tue Jun 11, 2019 8:44 pm

:cheers:

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 727
Joined: Tue Feb 21, 2017 7:02 am

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Wed Jun 12, 2019 7:43 am

slingshot wrote:Made on MiST:


WoW :cheers:

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Wed Jun 12, 2019 4:03 pm

Ok, here it is:

https://github.com/mist-devel/mist-bina ... 190612.rbf

I've decided to have a separate core because of some reasons:
- Adding an SVP OSD for only one game is a bit annoying, and I still didn't write any code for cart auto-detection.
- With SVP, the core fills about 98% of the FPGA, and the compiling time increased a lot, and it really hinders further developments.

But there's a plus from the separate core: you can have a GEN_SVP.ROM with Virtua Racing, and it'll auto load when you load the core.

Note: it won't load "normal" carts correctly, the SVP chip messes up VDP DMA.

hyperterminal
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 122
Joined: Sun Jul 09, 2017 1:43 pm

Re: Genesis / Megadrive core ported to MiST

Postby hyperterminal » Wed Jun 12, 2019 5:37 pm

Great, thank you! Virtua Racing is one of my favourite games and I never thought this would be possible on MiST.

A seperate core just for Virtua Racing has the additional advantage that you can set a custom joypad mapping just for this game in mist.ini. I always hated to shift gears with the dpad which is also used for steering.

This might be a dumb question, but where do I need to place the file "GEN_SVP.ROM"? I tried the root folder, the folder where the *.rbf resides and even a subfolder called "GEN_SVP", but nothing worked. With the subfolder "GEN_SVP" I can at least quickly select the desired rom.

There are still some small graphical glitches but I guess this is due to srg320 still working on the core.

slingshot
Atari Super Hero
Atari Super Hero
Posts: 958
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Wed Jun 12, 2019 5:58 pm

hyperterminal wrote:This might be a dumb question, but where do I need to place the file "GEN_SVP.ROM"? I tried the root folder, the folder where the *.rbf resides and even a subfolder called "GEN_SVP", but nothing worked. With the subfolder "GEN_SVP" I can at least quickly select the desired rom.

In the root folder, it works for me there.

There are still some small graphical glitches but I guess this is due to srg320 still working on the core.

I only see just some "wobbling" pixels, I think it just because using the SDRAM instead of internal BRAM, it won't be fixed (probably can be optimized a bit more, but I won't spend more time with it, for only one game - the source is there, if anyone interested, improve it). Actually I wonder it works so well. One year ago, even sprites were missed because the inadequate SDRAM bandwidth. Now it's (almost fully) enough for the SVP, too.

User avatar
krupkaj
Captain Atari
Captain Atari
Posts: 297
Joined: Wed Oct 22, 2003 11:00 pm
Location: Olomouc/Czech Republic
Contact:

Re: Genesis / Megadrive core ported to MiST

Postby krupkaj » Wed Jun 12, 2019 6:20 pm

wow, this is great news. have to test it now :)

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 727
Joined: Tue Feb 21, 2017 7:02 am

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Wed Jun 12, 2019 6:41 pm

PAL version is faster and has a few graphic glitches.
:cheers:

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Wed Jun 12, 2019 8:54 pm

Thanks very very mucho, Slingshot :D :cheers: :cheers:
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

seastalker
Captain Atari
Captain Atari
Posts: 270
Joined: Sun May 15, 2016 3:44 pm

Re: Genesis / Megadrive core ported to MiST

Postby seastalker » Wed Jun 12, 2019 9:04 pm

Thank you Slingshot! The overclock feature makes it fun to toggle between my MiST/MiSTer and Mega SG. :) I look forward to trying out the Virtua Racing core.


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 3 guests