Genesis / Megadrive core ported to MiST

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

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

Post Reply
javidoom
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 122
Joined: Thu Dec 15, 2011 3:16 pm

Re: Genesis / Megadrive core ported to MiST

Post by javidoom »

OMG!

I have to test this core the weekend!!!

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

Re: Genesis / Megadrive core ported to MiST

Post by jotego »

alexh wrote:
jotego wrote:I have some YM2612 chips to take measurement but I do not have a board built for it.
The author of that VHDL "sauraen" makes YM2612 boards.

https://www.youtube.com/watch?v=1nM5-QfIv_c
I have made contact with him. He read the original look-up tables for the sine wave and the exponential functions from the chip. That's critical for accuracy. That part of the information is public now.
--
Source code of all my cores here.
My Patreon page here.
Brt
Atarian
Atarian
Posts: 8
Joined: Wed May 25, 2016 1:22 pm

Re: Genesis / Megadrive core ported to MiST

Post by Brt »

Great news! :-)
Thanks for all involved and keep up the good work! :-)
User avatar
jotego
Captain Atari
Captain Atari
Posts: 234
Joined: Wed May 04, 2016 10:02 am
Location: Valencia (Spain)
Contact:

Re: Genesis / Megadrive core ported to MiST

Post by jotego »

I have got the first sine wave out of the OPN (FM synthesizer operator of YM2612). This is based on the work Sauraen made reverse engineering the OPN. This is the first milestone. You can check an image of it on my twitter account here

I found some minor errors on Sauraen interpretation of the die picture and send them back to him. So I'm glad I could help debugging the OPN.

For the rest of the YM2612 there are no reverse engineered data so I will just replicate the chip functionality using my own code. Nonetheless, the OPN is critical for sound fidelity so I'm glad we have this part of the circuit exact.
--
Source code of all my cores here.
My Patreon page here.
User avatar
fury23
Atari nerd
Atari nerd
Posts: 44
Joined: Sun Jan 10, 2016 2:08 pm

Re: Genesis / Megadrive core ported to MiST

Post by fury23 »

Great news, thank you!
User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 734
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Genesis / Megadrive core ported to MiST

Post by DrOG »

Just tried DuneII, altought it has some graphic glitches, it is well playable. With sound it would be even more fascinating!

Thanks for your fantastic work!!!
mahen
Captain Atari
Captain Atari
Posts: 252
Joined: Mon Aug 26, 2013 3:11 pm
Location: France

Re: Genesis / Megadrive core ported to MiST

Post by mahen »

Hehe, by any chance, if someone could add 15 KHz support... I know it's not the priority, I'll be patient :-)
Amiga user non-stop since 1993 ;-)
Win 1997-2001 / MorphOS 2002-2005 / Linux since 2005
User avatar
jotego
Captain Atari
Captain Atari
Posts: 234
Joined: Wed May 04, 2016 10:02 am
Location: Valencia (Spain)
Contact:

Re: Genesis / Megadrive core ported to MiST

Post by jotego »

Sound update 29-Jan-2017

I found out this week the correct way of calculating FM feedback combining the information Sauraen got from inspecting the die and the data I had collected from YM2151. Now I can make an operator without hacks. By hacks I mean that in JT51 I had to write some nasty verilog lines to fit the output to the original. JT12 is going to have a much cleaner implementation, with a smaller area footprint.

I think I will have the operator fully working with FM feedback during this coming week. That is the second milestone.

Coming milestones:

-FM feedback in operator and channel accumulator
-Phase generator
-Envelope generator
-Register interface and timers
-PCM output and noise
-Testing
-Release

It will probably take about a week to complete each one of them as I have to work on this on my spare time. Bear with me.
--
Source code of all my cores here.
My Patreon page here.
Gehstock
Captain Atari
Captain Atari
Posts: 436
Joined: Wed Dec 21, 2016 7:18 pm
Location: EastGermany

Re: Genesis / Megadrive core ported to MiST

Post by Gehstock »

:cheers:
mahen
Captain Atari
Captain Atari
Posts: 252
Joined: Mon Aug 26, 2013 3:11 pm
Location: France

Re: Genesis / Megadrive core ported to MiST

Post by mahen »

Woohoo, great work :-)
Amiga user non-stop since 1993 ;-)
Win 1997-2001 / MorphOS 2002-2005 / Linux since 2005
User avatar
Newsdee
Atari God
Atari God
Posts: 1561
Joined: Fri Sep 19, 2014 8:40 am

Re: Genesis / Megadrive core ported to MiST

Post by Newsdee »

Tried the core briefly and it's super promising! Keep up the good work!
User avatar
vebxenon
Atari God
Atari God
Posts: 1052
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

jotego wrote:Sound update 29-Jan-2017

I found out this week the correct way of calculating FM feedback combining the information Sauraen got from inspecting the die and the data I had collected from YM2151. Now I can make an operator without hacks. By hacks I mean that in JT51 I had to write some nasty verilog lines to fit the output to the original. JT12 is going to have a much cleaner implementation, with a smaller area footprint.

I think I will have the operator fully working with FM feedback during this coming week. That is the second milestone.

Coming milestones:

-FM feedback in operator and channel accumulator
-Phase generator
-Envelope generator
-Register interface and timers
-PCM output and noise
-Testing
-Release

It will probably take about a week to complete each one of them as I have to work on this on my spare time. Bear with me.
Great!! :cheers: :cheers: :cheers:
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
barbaro00
Atariator
Atariator
Posts: 20
Joined: Tue Feb 07, 2017 10:34 am

Re: Genesis / Megadrive core ported to MiST

Post by barbaro00 »

Wow!! it's impresive. Great work!!
User avatar
vebxenon
Atari God
Atari God
Posts: 1052
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

Any news on progress? :)
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Gehstock
Captain Atari
Captain Atari
Posts: 436
Joined: Wed Dec 21, 2016 7:18 pm
Location: EastGermany

Re: Genesis / Megadrive core ported to MiST

Post by Gehstock »

https://github.com/jotego/jt12/tree/656 ... 31/fpgagen

Sound quality is Great but Core Unstable(Loading Error)
Last edited by Gehstock on Fri Feb 24, 2017 7:40 pm, edited 1 time in total.
User avatar
vebxenon
Atari God
Atari God
Posts: 1052
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

Wow, outstanding!!! :cheers: :cheers: :cheers:

I'll try it later :D
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
retrorepair
Atari freak
Atari freak
Posts: 57
Joined: Wed Sep 29, 2010 1:27 pm

Re: Genesis / Megadrive core ported to MiST

Post by retrorepair »

Wow! This is seriously very cool, thanks to everyone involved and especially jotego for his amazing Yamaha synth models!
foobar
Atarian
Atarian
Posts: 8
Joined: Sun Jul 03, 2016 7:47 pm

Re: Genesis / Megadrive core ported to MiST

Post by foobar »

Awesome! Can't say how happy I am.

Thank you!
Gehstock
Captain Atari
Captain Atari
Posts: 436
Joined: Wed Dec 21, 2016 7:18 pm
Location: EastGermany

Re: Genesis / Megadrive core ported to MiST

Post by Gehstock »

This is not my work, thanks must go to jotego and phoboz
User avatar
Sheldon
Atari freak
Atari freak
Posts: 71
Joined: Mon Mar 30, 2015 10:41 pm

Re: Genesis / Megadrive core ported to MiST

Post by Sheldon »

Very nice, with this core:"clkfeo con warnings.rbf" music is closer than Real Sega Genesis/Megadrive.
There are some glitch and with Sonic game, rings fx are different but wonderful !!!
Computers : Mega STE+(4Mo +HXC SLim and UltraSatan), Atari 1040 STe+( 4Mo + HXC SLim and UltraSatan), Atari 1040 Stf+(HXC SLim , Mega ST1+(HXC SLim and UltraSatan), FPGA Mist+Mistery Core( and other ...)
http://www.amedia-computer.com
User avatar
Newsdee
Atari God
Atari God
Posts: 1561
Joined: Fri Sep 19, 2014 8:40 am

Re: Genesis / Megadrive core ported to MiST

Post by Newsdee »

the core file name translates to "ugly clock, with warnings" :D I shall try this when I get a chance...
User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 734
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: Genesis / Megadrive core ported to MiST

Post by DrOG »

Outstanding result, unfortunately I can not test it now (my MIST is far away, I lent it to my friend, and he didn't bring it back yet). Keep up the good work, have a nice weekend!
User avatar
vebxenon
Atari God
Atari God
Posts: 1052
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

I tested yesterday the "clk nuevo mio sin warnings.rbf" (Actually I don't know what are the differences between the cores) core. Sound needs still work in pitch, speed and notes, but that's outstanding :). Core is still unstable, but wow! :D

Thanks Phoboz and Jotego! :)

Regards,

Salva
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
lips2k15
Atari maniac
Atari maniac
Posts: 89
Joined: Tue Mar 29, 2016 10:19 am

Re: Genesis / Megadrive core ported to MiST

Post by lips2k15 »

Guys this is great and all but i cant use it as my set up is a 15khz rgb system can somebody please add the scandoubler disabled option to this core?
retrorepair
Atari freak
Atari freak
Posts: 57
Joined: Wed Sep 29, 2010 1:27 pm

Re: Genesis / Megadrive core ported to MiST

Post by retrorepair »

Oh is it not 15khz enabled? That's a shame, I too am using my MIST on a CRT TV.
Post Reply

Return to “MiST”