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
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

I just "reported" that because it's a bit funny how it looked impossible some years ago, now the SDRAM controller doesn't even sweat to perform cycle-exact memory access :)
User avatar
Total Eclipse
Captain Atari
Captain Atari
Posts: 307
Joined: Tue Jul 20, 2004 2:20 pm
Location: Sheepy Magna, UK

Re: Genesis / Megadrive core ported to MiST

Post by Total Eclipse »

Total Eclipse wrote:The only thing I've found that completely fails so far is the Stuck Somewhere In Time demo. That reports that it's being run in an emulator, presumably due to checking CPU timings?
Just over a year on and I've tried the last release and noticed that it's been fixed. I'm not sure which update in the past 12 months resolved it, but well done to all involved. :cheers:
Atari 1040STfm, Power Computing PC720B external floppy. 40MB HDD
Now playing with MiST :)
Televicious
Atari maniac
Atari maniac
Posts: 93
Joined: Sun Sep 24, 2017 6:18 pm

Re: Genesis / Megadrive core ported to MiST

Post by Televicious »

Just curious, is anyone trying to bring sega cd addition to MiST? Is it possible? I'm betting 32x is way over spec for size.
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

Televicious wrote:Just curious, is anyone trying to bring sega cd addition to MiST? Is it possible? I'm betting 32x is way over spec for size.
Probably Sega CD alone would fit. But where to put the base Genesis? :)
Televicious
Atari maniac
Atari maniac
Posts: 93
Joined: Sun Sep 24, 2017 6:18 pm

Re: Genesis / Megadrive core ported to MiST

Post by Televicious »

Oh so it does need both 68000's to run and that's too much.
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

Televicious wrote:Oh so it does need both 68000's to run and that's too much.
Not just 2 68000s, but 2 VDPs, 2 sound chips, and memory bandwidth for both parts.
User avatar
vebxenon
Atari God
Atari God
Posts: 1078
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

Hello:

I'm using last core version, and I've found some problems using for example these games:

- Mega Games 2 (I need to load the cart several times before booting)
- Mega Games 3 (I need also to load the cart several times, and It sounds baldy)
- MegaMan The Wily Wars (PAL, It doesn't load at all)

Do you have the same problems??
Last edited by vebxenon on Tue Feb 04, 2020 9:17 pm, edited 1 time in total.
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 God
Atari God
Posts: 1078
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

vebxenon wrote:Hello:

I'm using last core version, and I've found some problems using for example these games:

- Mega Games 2 (I need to load the cart several times before booting)
- Mega Games 3 (I need also to load the cart several times, and It sounds baldy)
- MegaMan The Wily Wars (PAL, It doesn't load at all)

Do you have the same problems??
Using fpgagen_20190815.rbf core these games works perfect, just tested. Both Mega Games compilations load at first time and no sound/load issues.

MegaMan The Willy Wars works using Fake EEPROM. :shrug:
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 God
Atari God
Posts: 1078
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

Well, Slingshot has fixed these problems :cheers: :D

https://github.com/mist-devel/mist-bina ... 200204.rbf
FPGAGen: fix fake EEPROM, disable refresh emulation - causes troubles
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
DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 999
Joined: Tue Feb 21, 2017 7:02 am

Re: Genesis / Megadrive core ported to MiST

Post by DanyPPC »

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

Re: Genesis / Megadrive core ported to MiST

Post by DrOG »

Nice job! :cheers:
User avatar
vebxenon
Atari God
Atari God
Posts: 1078
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

I've found that Joe and Mac rom hangs using last core :shrug:

I'm using this file (uploaded just for testing purposes) : https://mega.nz/#!IQBhBApb!MpUvzz5R2F3g ... 46-260ZkDo

Can you test it, please?

Regards,

Salva
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 999
Joined: Tue Feb 21, 2017 7:02 am

Re: Genesis / Megadrive core ported to MiST

Post by DanyPPC »

I confirm.
User avatar
vebxenon
Atari God
Atari God
Posts: 1078
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

New update on Mega Drive core :cheers: :cheers: https://github.com/mist-devel/mist-bina ... es/fpgagen

Let's try it!! :cheers: :cheers:
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Chris23235
Captain Atari
Captain Atari
Posts: 241
Joined: Thu Aug 07, 2014 6:52 pm

Re: Genesis / Megadrive core ported to MiST

Post by Chris23235 »

Oh great, many thanks, the changelog says
FPGAGen: another attempt for refresh delay emulation
What exactly does this mean?
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

Chris23235 wrote:Oh great, many thanks, the changelog says
FPGAGen: another attempt for refresh delay emulation
What exactly does this mean?
On the real Genesis, the CPU is halted when the bus controller issues a refresh cycle to the internal RAM, and even to the external ROM (which doesn't need refresh, but still...). This slows down the CPU a bit, and if it's not simulated for an extent, some games doesn't work properly.
Hopefully Joe&Mac will work again, and other games won't break (but who knows).
Chris23235
Captain Atari
Captain Atari
Posts: 241
Joined: Thu Aug 07, 2014 6:52 pm

Re: Genesis / Megadrive core ported to MiST

Post by Chris23235 »

Thanks for the explanation.
User avatar
Xtro
Atari maniac
Atari maniac
Posts: 95
Joined: Fri Jan 09, 2015 11:47 am
Location: Spain

Re: Genesis / Megadrive core ported to MiST

Post by Xtro »

Just found that fpgagen_200523.rbf with latest firmware breaks sound on some games, for example with ESWAT: City under Siege
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

Xtro wrote: Sat Aug 15, 2020 5:27 pm Just found that fpgagen_200523.rbf with latest firmware breaks sound on some games, for example with ESWAT: City under Siege
Hehe, this bloody bus controller never will be perfect. The 315-5364 chip should be really decapped and reverse-engineered.
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

Xtro wrote: Sat Aug 15, 2020 5:27 pm Just found that fpgagen_200523.rbf with latest firmware breaks sound on some games, for example with ESWAT: City under Siege
Well, this game is buggy, as it writes to the ZRAM, it forgets to disable interrupts and suddenly the Z80 bus request is cancelled. I wonder what will happen if I enable the Z80 bus access for the 68k even if its bus is not acquired. Currently you can enable Turbo CPU, then the ZRAM access will finished before the interrupt messes it up.
User avatar
Xtro
Atari maniac
Atari maniac
Posts: 95
Joined: Fri Jan 09, 2015 11:47 am
Location: Spain

Re: Genesis / Megadrive core ported to MiST

Post by Xtro »

You are right, enabling CPU=Turbo fixes sound on ESWAT
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

Xtro wrote: Mon Aug 17, 2020 9:15 pm You are right, enabling CPU=Turbo fixes sound on ESWAT
I've developed a fix for the buggy ZRAM access (bit of oxymoron), what are the other games which are wrong currently?
User avatar
Xtro
Atari maniac
Atari maniac
Posts: 95
Joined: Fri Jan 09, 2015 11:47 am
Location: Spain

Re: Genesis / Megadrive core ported to MiST

Post by Xtro »

Sorry, I only had this problem with ESWAT but as was one of the few games I tried thought other games could be wrong too
slingshot
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2014
Joined: Mon Aug 06, 2018 3:05 pm

Re: Genesis / Megadrive core ported to MiST

Post by slingshot »

Xtro wrote: Fri Aug 21, 2020 9:28 pm Sorry, I only had this problem with ESWAT but as was one of the few games I tried thought other games could be wrong too
OK. Well, this should fix it:
https://github.com/mist-devel/mist-bina ... 200821.rbf
User avatar
vebxenon
Atari God
Atari God
Posts: 1078
Joined: Fri Apr 24, 2015 12:10 pm

Re: Genesis / Megadrive core ported to MiST

Post by vebxenon »

slingshot wrote: Sat Aug 22, 2020 5:24 pm
Xtro wrote: Fri Aug 21, 2020 9:28 pm Sorry, I only had this problem with ESWAT but as was one of the few games I tried thought other games could be wrong too
OK. Well, this should fix it:
https://github.com/mist-devel/mist-bina ... 200821.rbf
Great! Thanks very much! :cheers:
Just a computer and videogame lover :)

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

Return to “MiST”