Sega Saturn Core in Development

Xbytez
Site Admin
Posts: 479
Joined: Wed May 20, 2020 3:36 pm
Has thanked: 227 times
Been thanked: 805 times

Re: Sega Saturn Core in Development

Unread post by Xbytez »

Another update from Sega Saturn core update from Sergey, fixes in VDP1 and VDP2.

If can please support his efforts by joining his Patreon here: https://www.patreon.com/srg320/posts

hiddenbyleaves
Posts: 121
Joined: Mon Nov 02, 2020 11:25 am
Has thanked: 48 times
Been thanked: 19 times

Re: Sega Saturn Core in Development

Unread post by hiddenbyleaves »

I don't think I have anticipated anything game related as much as the possibility of this core being realised.
FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: Sega Saturn Core in Development

Unread post by FoxbatStargazer »

Is this the first we've seen of a commercial game running?
Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 209 times
Been thanked: 87 times

Re: Sega Saturn Core in Development

Unread post by Neocaron »

FoxbatStargazer wrote: Mon Jul 26, 2021 2:44 pm Is this the first we've seen of a commercial game running?
YES! Amazing! Still a long way to go, but WOOOOA!

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

User avatar
aberu
Core Developer
Posts: 1192
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 247 times
Been thanked: 411 times
Contact:

Re: Sega Saturn Core in Development

Unread post by aberu »

I think technically Earthworm Jim 2 was shown running before at the end of this video:

https://www.youtube.com/watch?v=FPrGh3L15Ag
birdybro~
Hellz
Posts: 16
Joined: Fri Sep 04, 2020 2:35 pm
Been thanked: 8 times

Re: Sega Saturn Core in Development

Unread post by Hellz »

Another update : earthworm jim 2 gameplay

Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 209 times
Been thanked: 87 times

Re: Sega Saturn Core in Development

Unread post by Neocaron »

:o :o :o

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

Unessential
Posts: 1
Joined: Sun Aug 01, 2021 7:41 pm

Re: Sega Saturn Core in Development

Unread post by Unessential »

Was wondering what license you will be releasing this under...? (Wondering because cps3 apparently has same CPU and if you would allow portions of your work to be imported to other cores)
FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: Sega Saturn Core in Development

Unread post by FoxbatStargazer »

There's also video of the BUG demo playing, including some sound.

SSR852
Posts: 12
Joined: Tue Jun 02, 2020 9:42 am
Has thanked: 2 times
Been thanked: 1 time

Re: Sega Saturn Core in Development

Unread post by SSR852 »

so so so so so good! Just joined his Patreon!
throAU
Posts: 181
Joined: Fri Sep 11, 2020 1:06 am
Has thanked: 233 times
Been thanked: 27 times

Re: Sega Saturn Core in Development

Unread post by throAU »

this has had so much recent progress in such a short space of time.

i’m sure development has been going on for a long long time, but given the recent steps with actual running commercial software, surely it’s getting close now.
Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 209 times
Been thanked: 87 times

Re: Sega Saturn Core in Development

Unread post by Neocaron »

Saturn FPGA. Rayman (USA) demo play with music and sound effect (careful though it's not perfect, so watch your ears).
https://www.youtube.com/watch?v=FFxgvZ_H1vU

Saturn FPGA. Daytona USA.
https://www.youtube.com/watch?v=rWU0bri9CW4

Too much joy currently, between this and Robert's work. This is just too much happiness for us. :mrgreen:

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

ExCyber
Posts: 232
Joined: Sun May 24, 2020 3:33 pm
Has thanked: 12 times
Been thanked: 77 times

Re: Sega Saturn Core in Development

Unread post by ExCyber »

throAU wrote: Mon Jul 19, 2021 3:29 pm
softtest9 wrote: Tue May 11, 2021 4:54 pm I don't think the Saturn has that much RAM.
Would likely be more about bandwidth than capacity
Not just bandwidth, but the ability to have consistent access timings with the various concurrent things that are happening. There are 6 physically independent RAMs if I haven't somehow double-counted: CPU async RAM, CPU+SCU SDRAM, VDP1 RAM, VDP2 RAM, framebuffer RAM, sound RAM. A bunch of later games also have cartridge ROM/RAM, but I'll bet that's fine being in DDR3 (I'm not aware of anything that actually runs directly from cartridge space).
Slipard
Posts: 53
Joined: Tue Jun 09, 2020 9:45 am
Has thanked: 6 times
Been thanked: 10 times

Re: Sega Saturn Core in Development

Unread post by Slipard »

ExCyber wrote: Sun Sep 12, 2021 6:45 pm I'm not aware of anything that actually runs directly from cartridge space).
KOF and Ultraman?
throAU
Posts: 181
Joined: Fri Sep 11, 2020 1:06 am
Has thanked: 233 times
Been thanked: 27 times

Re: Sega Saturn Core in Development

Unread post by throAU »

Given rom is generally slower than ram it should be fine with the slower shared ddr3 - layman’s guess.

I just remember a thing back in the day with PCs was to shadow the bios into ram to speed it up for DOS doing bios calls into it.
ExCyber
Posts: 232
Joined: Sun May 24, 2020 3:33 pm
Has thanked: 12 times
Been thanked: 77 times

Re: Sega Saturn Core in Development

Unread post by ExCyber »

Slipard wrote: Mon Sep 13, 2021 5:41 am
ExCyber wrote: Sun Sep 12, 2021 6:45 pm I'm not aware of anything that actually runs directly from cartridge space).
KOF and Ultraman?
I haven't specifically looked at games, but Sega told developers to never store code in cartridges, and graphics/sound assets would need to be copied to an internal RAM before use. Action Replay obviously runs code stored on a cartridge, but I believe it also copies itself to RAM before actually running.
User avatar
Captain FPGA
Top Contributor
Posts: 373
Joined: Sun Apr 11, 2021 9:19 pm
Has thanked: 195 times
Been thanked: 25 times

Re: Sega Saturn Core in Development

Unread post by Captain FPGA »

Daytona USA outta nowhere! Daytona USA outta nowhere! There I was enjoying my day and then I stumble upon this. I believe it's by the same wonderful developer bringing us this core.

Dreams don't die!
Image
User avatar
Chris23235
Top Contributor
Posts: 983
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 127 times
Been thanked: 197 times

Re: Sega Saturn Core in Development

Unread post by Chris23235 »

Captain FPGA wrote: Tue Sep 14, 2021 3:03 am I believe it's by the same wonderful developer bringing us this core.
Yes it was linked in the last Patreon post.
User avatar
Captain FPGA
Top Contributor
Posts: 373
Joined: Sun Apr 11, 2021 9:19 pm
Has thanked: 195 times
Been thanked: 25 times

Re: Sega Saturn Core in Development

Unread post by Captain FPGA »

Chris23235 wrote: Tue Sep 14, 2021 5:50 am
Captain FPGA wrote: Tue Sep 14, 2021 3:03 am I believe it's by the same wonderful developer bringing us this core.
Yes it was linked in the last Patreon post.
I know decided to post it here too. :)
Dreams don't die!
Image
User avatar
douglasamcintosh
Posts: 35
Joined: Sun Jul 12, 2020 12:40 pm
Has thanked: 19 times

Re: Sega Saturn Core in Development

Unread post by douglasamcintosh »

When (if) this core is released will it accept CHD files like most of the other disc based consoles?
cathrynmataga
Posts: 114
Joined: Fri Aug 06, 2021 5:30 pm
Has thanked: 150 times
Been thanked: 20 times

Re: Sega Saturn Core in Development

Unread post by cathrynmataga »

Woah, did this guy build the CPU and the graphics chips both from scratch? Saturn has a pretty oddball CPU.
zakk4223
Posts: 289
Joined: Sun May 24, 2020 10:55 pm
Been thanked: 120 times

Re: Sega Saturn Core in Development

Unread post by zakk4223 »

douglasamcintosh wrote: Tue Sep 14, 2021 4:48 pm When (if) this core is released will it accept CHD files like most of the other disc based consoles?
CHD and BIN/CUE support is implemented entirely within Main_MiSTer, so it's basically independent of the core. There's a bit of 'glue' in Main that's specific to each core (since they all have some quirks) but the majority of the heavy lifting is non-core specific.

Assuming this core is implemented like other CD based cores, if the initial release doesn't include CHD support I'll add it like I did for the current CD-based cores.
User avatar
jdeberhart
Posts: 40
Joined: Sun Jun 21, 2020 11:41 pm
Been thanked: 5 times

Re: Sega Saturn Core in Development

Unread post by jdeberhart »

cathrynmataga wrote: Tue Sep 14, 2021 5:00 pm Woah, did this guy build the CPU and the graphics chips both from scratch? Saturn has a pretty oddball CPU.
All of the CPUs in the Saturn are normal CPUs: it uses a pair of Hitachi SH-2s, an SH-1, and a 68000. Maybe you're thinking about the VDPs? Most machines of this and previous generations used custom chips for the graphics, but the CPUs are all normal parts that are used in many other devices.
mic_
Posts: 33
Joined: Thu May 28, 2020 8:45 am
Has thanked: 1 time
Been thanked: 5 times

Re: Sega Saturn Core in Development

Unread post by mic_ »

The SH family isn't all that common though - nothing like the M68k. So I could well imagine that srg wrote his own SH-1 and SH-2 implementations. Fortunately they have pretty small instruction sets, so as far as processors go, those should be pretty easy to implement. At least that's my experience from writing software emulators, though I don't know how well that carries over to FPGA development.
throAU
Posts: 181
Joined: Fri Sep 11, 2020 1:06 am
Has thanked: 233 times
Been thanked: 27 times

Re: Sega Saturn Core in Development

Unread post by throAU »

mic_ wrote: Wed Sep 15, 2021 8:10 am The SH family isn't all that common though - nothing like the M68k. So I could well imagine that srg wrote his own SH-1 and SH-2 implementations. Fortunately they have pretty small instruction sets, so as far as processors go, those should be pretty easy to implement. At least that's my experience from writing software emulators, though I don't know how well that carries over to FPGA development.
The SH-2 has an open source implementation now (J-Core) as Hitachi let the patents expire.

https://j-core.org/

The 68000 has already been done

The VDP1 and VDP2 would definitely need re-implementing from scratch
srg320
Core Developer
Posts: 10
Joined: Sun May 24, 2020 6:24 pm
Location: Ukraine
Has thanked: 2 times
Been thanked: 114 times

Re: Sega Saturn Core in Development

Unread post by srg320 »

throAU wrote: Wed Sep 15, 2021 9:38 am
mic_ wrote: Wed Sep 15, 2021 8:10 am The SH family isn't all that common though - nothing like the M68k. So I could well imagine that srg wrote his own SH-1 and SH-2 implementations. Fortunately they have pretty small instruction sets, so as far as processors go, those should be pretty easy to implement. At least that's my experience from writing software emulators, though I don't know how well that carries over to FPGA development.
The SH-2 has an open source implementation now (J-Core) as Hitachi let the patents expire.

https://j-core.org/

The 68000 has already been done

The VDP1 and VDP2 would definitely need re-implementing from scratch
SH1/SH2 is not only a SuperH processor core, but also contains some peripheral modules.
Снимок.PNG
Снимок.PNG (33.08 KiB) Viewed 30392 times
J-Core does not match me because it has separate buses for instructions and data as well as the caches, also does not contain most of the peripheral modules.

For 68000 I use fx68k core of course.
Jeruro
Posts: 26
Joined: Mon May 25, 2020 7:24 am
Has thanked: 31 times
Been thanked: 7 times

Re: Sega Saturn Core in Development

Unread post by Jeruro »

Thanks for the info!
User avatar
Mr. Encyclopedia
Posts: 111
Joined: Thu Aug 05, 2021 1:52 am
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Sega Saturn Core in Development

Unread post by Mr. Encyclopedia »

The Cyclone V in the De10-Nano has 41,910 ALMS in 110k LEs, so according to srg's chart the SH1/SH2 chips seem to take up about one fourth of the FPGA capacity.

Also worth pointing out that the 32X and CPS-3 also use SH-2 processors so this hard work is paving the way for those cores in the future.
retro
Posts: 148
Joined: Fri Jun 04, 2021 5:19 am
Location: Kuala Lumpur, Malaysia
Has thanked: 47 times
Been thanked: 14 times

Re: Sega Saturn Core in Development

Unread post by retro »

Mr. Encyclopedia wrote: Wed Sep 15, 2021 6:57 pm Also worth pointing out that the 32X and CPS-3 also use SH-2 processors so this hard work is paving the way for those cores in the future.
Did not know that! :)

It would be great to see CPS3 reproduced in MiSTer
User avatar
madmax
Posts: 27
Joined: Tue Jun 08, 2021 11:32 am
Location: Miyazaki - Japan
Has thanked: 6 times
Been thanked: 4 times

Re: Sega Saturn Core in Development

Unread post by madmax »

I hope we ll see SF3.3 CPS3 for the MiSTer.
Post Reply