Genesis / Megadrive core ported to MiST

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

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

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 150
Joined: Tue Jan 24, 2017 1:38 pm

Re: Genesis / Megadrive core ported to MiST

Postby Higgy » Wed Nov 21, 2018 10:11 pm

Duplicate post. Please delete.
Last edited by Higgy on Wed Nov 21, 2018 10:13 pm, edited 1 time in total.

desUBIKado
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 116
Joined: Sat Jan 06, 2018 11:49 pm

Re: Genesis / Megadrive core ported to MiST

Postby desUBIKado » Wed Nov 21, 2018 10:12 pm

Awesome job! The sound of Micro Machines 2 is perfect again. Thanks a lot.

phoboz
Atari User
Atari User
Posts: 36
Joined: Sun Jan 15, 2017 10:52 pm

Re: Genesis / Megadrive core ported to MiST

Postby phoboz » Thu Nov 22, 2018 7:52 am

I have not been able to play Sonic the Hedgehog 3 on fpgagen, including on the latest version (I tried it yesterday)
Has anyone else tried this game?
Can it be that the cartridge contains some special chip that is required in order to run the game?

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

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Thu Nov 22, 2018 10:35 am

I play NTSC USA version:
Sonic3.jpg
You do not have the required permissions to view the files attached to this post.

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

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Thu Nov 22, 2018 3:18 pm

slingshot wrote:I could fix the T80, so reset now OK, Titan demos have music. Jotego updated jt12 to 0.61. I've adjusted the memory timing, and seems the sound of Micro Machine and Super Skidmarks is good now. New release uploaded:

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


Wow! :cheers: Thanks very much!
Just a computer and videogame lover :)

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

User avatar
jotego
Captain Atari
Captain Atari
Posts: 185
Joined: Wed May 04, 2016 10:02 am
Location: Valencia (Spain)
Contact:

Re: Genesis / Megadrive core ported to MiST

Postby jotego » Sat Nov 24, 2018 8:00 am

And Titan 2 demo sounded correctly...

This has been an interesting week. After discussing it with the demo author and his insistance about real hardware writting correctly in less than 24 FM ticks; I made the hypothesis that YM2612 was indeed using two circular shift registers (CSR) in series copied from YM2203. So total length is 24 bits but it can be updated every 12 stages. I brought the discussion to spritesmind, the forum for YM2612 and Sauraen was able to spot an update point in the middle of the CSR in a YM2612 die shot. So I modified JT12 to be updatable in the middle too. Now Titan 2 demo sound is perfect.

There have been another couple of changes. Sorgelig suggested latching the part selection bit in the address write phase, instead of the data phase. This is not documented anywhere, but he said it was working better for him so I took his word for it. I also amplify the sound by 1.25 now, which will give an extra boost for MiSTer users. MiST users were already experimenting this through a different approach.

I have released it as version 0.62. Now, I really think there is nothing left to be done for YM2612. JT12 will go on to support other OPN chips like YM2203 (mostly done now) and YM2610 (NeoGeo). I hope we will see more cores using them soon.

Sorgelig (MiSTer) is aware of this and I have made a pull request in harbaum's github for FPGAgen to use v0.62 so I guess you will get a new FPGAgen released soon for both MiST and MiSTer.
--
Source code of all my cores here.
My Patreon page here.

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 150
Joined: Tue Jan 24, 2017 1:38 pm

Re: Genesis / Megadrive core ported to MiST

Postby Higgy » Sat Nov 24, 2018 8:49 am

Excellent work jotego. I love hearing it when everyone clubs together and solves issues. Glad you got in contact with TiTAN, I was not successful in making contact.

Looking forward to Slingshot doing his thing and releasing an update. I must allocate some time to plug in some decent speakers, turn down the lights and use my CRT and watch Overdrive 2 and listen to some game music.

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

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Sat Nov 24, 2018 9:16 am

Good Jotego, so now it's possible that the sound of SuperStreetFughter 2 is correct too, is it right ?
Thanks for your effort to improve the YM2612 sound.

lips2k15
Atari maniac
Atari maniac
Posts: 82
Joined: Tue Mar 29, 2016 10:19 am

Re: Genesis / Megadrive core ported to MiST

Postby lips2k15 » Sat Nov 24, 2018 11:11 am

quick question folks... would this support the ultimate mortal kombat trilogy hack as its a large rom that needs a special emulator or a more advanced flacecart usually to run?

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 150
Joined: Tue Jan 24, 2017 1:38 pm

Re: Genesis / Megadrive core ported to MiST

Postby Higgy » Sat Nov 24, 2018 11:28 am

Lips2k15 - it runs Overdrive 2 demo which is a 8mb file so a 64mbit Rom? So I expect it should be fine.
You can test on the current Core release.

slingshot
Atari God
Atari God
Posts: 1039
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Sat Nov 24, 2018 3:31 pm

lips2k15 wrote:quick question folks... would this support the ultimate mortal kombat trilogy hack as its a large rom that needs a special emulator or a more advanced flacecart usually to run?

If it uses the SSF 2 mapper, then probably yes. If uses other mapper, then not.

slingshot
Atari God
Atari God
Posts: 1039
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Sat Nov 24, 2018 3:32 pm

jotego wrote:And Titan 2 demo sounded correctly...

This has been an interesting week. After discussing it with the demo author and his insistance about real hardware writting correctly in less than 24 FM ticks; I made the hypothesis that YM2612 was indeed using two circular shift registers (CSR) in series copied from YM2203. So total length is 24 bits but it can be updated every 12 stages. I brought the discussion to spritesmind, the forum for YM2612 and Sauraen was able to spot an update point in the middle of the CSR in a YM2612 die shot. So I modified JT12 to be updatable in the middle too. Now Titan 2 demo sound is perfect.


Great! So that's why the Titan 2 docs says the busy bit is useless - it indicates a busy state for 32 cycles, when it is possible to have a successful update in less.

User avatar
Sheldon
Atari freak
Atari freak
Posts: 59
Joined: Mon Mar 30, 2015 10:41 pm

Re: Genesis / Megadrive core ported to MiST

Postby Sheldon » Mon Nov 26, 2018 12:22 pm

Hello,
Some one has try successfully the Legend ofr Thor ?

Best Regard

slingshot
Atari God
Atari God
Posts: 1039
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Mon Nov 26, 2018 1:03 pm

Sheldon wrote:Hello,
Some one has try successfully the Legend ofr Thor ?

Best Regard

Is it the same as Story of Thor? I remember from two months ago, it was reported as working.

User avatar
Higgy
Captain Atari
Captain Atari
Posts: 150
Joined: Tue Jan 24, 2017 1:38 pm

Re: Genesis / Megadrive core ported to MiST

Postby Higgy » Mon Nov 26, 2018 1:48 pm

Slingshot - am I correct in thinking a Core with 0.62 sound has not been compiled yet?

How long does it take to compile? I have a 5ish year old PC with AMD 3800(i think) with integrated GPU. The Sam Coupe Core was pretty quick to compile.

Also another question, not on this Core, but is it easy to reposition the horizontal (left right) screen positioning ? For example some Cores on my CRT are offset say 20Mk1 compared to others. Is there a common Video section of code that dictates this or is it unique to each Core? Atari 2600 is the main one offset.

Thanks

slingshot
Atari God
Atari God
Posts: 1039
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Mon Nov 26, 2018 1:53 pm

Higgy wrote:Slingshot - am I correct in thinking a Core with 0.62 sound has not been compiled yet?

How long does it take to compile? I have a 5ish year old PC with AMD 3800(i think) with integrated GPU. The Sam Coupe Core was pretty quick to compile.

Also another question, not on this Core, but is it easy to reposition the horizontal (left right) screen positioning ? For example some Cores on my CRT are offset say 20Mk1 compared to others. Is there a common Video section of code that dictates this or is it unique to each Core? Atari 2600 is the main one offset.

Thanks

During development, I'm using the Fast Fit option, that compiles the whole core in 6 minutes. For a release, I turn on Extra Effort and Standard Fit for more stability, but that also doesn't take more than 12 minutes on my not-so-new AMD FX-8350 machine (multi-core doesn't count at all).

The centering is specific to the video chip implemented in the core, no universal switch for it.

User avatar
jotego
Captain Atari
Captain Atari
Posts: 185
Joined: Wed May 04, 2016 10:02 am
Location: Valencia (Spain)
Contact:

Re: Genesis / Megadrive core ported to MiST

Postby jotego » Mon Nov 26, 2018 2:15 pm

DanyPPC wrote:Good Jotego, so now it's possible that the sound of SuperStreetFughter 2 is correct too, is it right ?
Thanks for your effort to improve the YM2612 sound.


I think it is correct, but that game has very low volume settings so you may need external amplification.
--
Source code of all my cores here.
My Patreon page here.

User avatar
Sheldon
Atari freak
Atari freak
Posts: 59
Joined: Mon Mar 30, 2015 10:41 pm

Re: Genesis / Megadrive core ported to MiST

Postby Sheldon » Mon Nov 26, 2018 3:29 pm

slingshot wrote:
Sheldon wrote:Hello,
Some one has try successfully the Legend ofr Thor ?

Best Regard

Is it the same as Story of Thor? I remember from two months ago, it was reported as working.


Yes same Game, i have a red screen

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

Re: Genesis / Megadrive core ported to MiST

Postby DanyPPC » Mon Nov 26, 2018 4:21 pm

Switch to EU (PAL) and the game works !

slingshot
Atari God
Atari God
Posts: 1039
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Mon Nov 26, 2018 4:21 pm

Sheldon wrote:
Yes same Game, i have a red screen

Set the region to EU.

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

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Mon Nov 26, 2018 10:11 pm

Have you tried Earth Defense? Intro doesn't work and it's not playable.

This game: https://m.youtube.com/watch?v=phQzFYXgbPQ

Regards,

Salva
Just a computer and videogame lover :)

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

slingshot
Atari God
Atari God
Posts: 1039
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Postby slingshot » Tue Nov 27, 2018 1:05 am

vebxenon wrote:Have you tried Earth Defense? Intro doesn't work and it's not playable.

This game: https://m.youtube.com/watch?v=phQzFYXgbPQ

Regards,

Salva

This game has some kind of custom mapper/hw register/copy protection/whatever. Better to find a cracked version (as I read the game is pretty rubbish, I won't spend time to make it work).

Here's a list of similar "protected" games:
https://segaretro.org/Mega_Drive_Unlice ... _Registers
They all have some custom hardware in the cart, implementing them all is a huge work.

User avatar
Estrayk
Captain Atari
Captain Atari
Posts: 235
Joined: Mon Nov 23, 2015 2:52 pm
Location: Spain

Re: Genesis / Megadrive core ported to MiST

Postby Estrayk » Tue Nov 27, 2018 1:13 am

TITAN Overdrive 2 demo
MIST core fpgagen_20181121-fx68k.rbf

https://www.youtube.com/watch?v=GOj_TS8hnr4

・Falcon ct60e・Atari MegaSTE ・Atari STe ・MIST ・

User avatar
Sheldon
Atari freak
Atari freak
Posts: 59
Joined: Mon Mar 30, 2015 10:41 pm

Re: Genesis / Megadrive core ported to MiST

Postby Sheldon » Tue Nov 27, 2018 11:03 am

slingshot wrote:
Sheldon wrote:
Yes same Game, i have a red screen

Set the region to EU.


Sorry but don't work with any region with eprom fake enable.

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

Re: Genesis / Megadrive core ported to MiST

Postby vebxenon » Tue Nov 27, 2018 2:15 pm

slingshot wrote:
vebxenon wrote:Have you tried Earth Defense? Intro doesn't work and it's not playable.

This game: https://m.youtube.com/watch?v=phQzFYXgbPQ

Regards,

Salva

This game has some kind of custom mapper/hw register/copy protection/whatever. Better to find a cracked version (as I read the game is pretty rubbish, I won't spend time to make it work).

Here's a list of similar "protected" games:
https://segaretro.org/Mega_Drive_Unlice ... _Registers
They all have some custom hardware in the cart, implementing them all is a huge work.


Ok, don't worry, thanks for the answer :D . And well, now it's really outstanding the quality of this core :D :cheers:
Just a computer and videogame lover :)

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


Return to “MiST”

Who is online

Users browsing this forum: SchneiderCPC664 and 1 guest