Page 2 of 34

Re: Sega Saturn Core in Development

Posted: Mon Jul 26, 2021 2:23 pm
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


Re: Sega Saturn Core in Development

Posted: Mon Jul 26, 2021 2:30 pm
by hiddenbyleaves
I don't think I have anticipated anything game related as much as the possibility of this core being realised.

Re: Sega Saturn Core in Development

Posted: Mon Jul 26, 2021 2:44 pm
by FoxbatStargazer
Is this the first we've seen of a commercial game running?

Re: Sega Saturn Core in Development

Posted: Mon Jul 26, 2021 2:53 pm
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!

Re: Sega Saturn Core in Development

Posted: Mon Jul 26, 2021 3:00 pm
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

Re: Sega Saturn Core in Development

Posted: Thu Jul 29, 2021 5:49 pm
by Hellz
Another update : earthworm jim 2 gameplay


Re: Sega Saturn Core in Development

Posted: Thu Jul 29, 2021 9:26 pm
by Neocaron
:o :o :o

Re: Sega Saturn Core in Development

Posted: Sun Aug 01, 2021 7:43 pm
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)

Re: Sega Saturn Core in Development

Posted: Mon Aug 02, 2021 6:18 pm
by FoxbatStargazer
There's also video of the BUG demo playing, including some sound.


Re: Sega Saturn Core in Development

Posted: Fri Aug 06, 2021 11:13 am
by SSR852
so so so so so good! Just joined his Patreon!

Re: Sega Saturn Core in Development

Posted: Fri Aug 13, 2021 12:39 pm
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.

Re: Sega Saturn Core in Development

Posted: Sun Sep 12, 2021 5:21 pm
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:

Re: Sega Saturn Core in Development

Posted: Sun Sep 12, 2021 6:45 pm
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).

Re: Sega Saturn Core in Development

Posted: Mon Sep 13, 2021 5:41 am
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?

Re: Sega Saturn Core in Development

Posted: Mon Sep 13, 2021 9:22 am
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.

Re: Sega Saturn Core in Development

Posted: Mon Sep 13, 2021 9:28 pm
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.

Re: Sega Saturn Core in Development

Posted: Tue Sep 14, 2021 3:03 am
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.


Re: Sega Saturn Core in Development

Posted: Tue Sep 14, 2021 5:50 am
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.

Re: Sega Saturn Core in Development

Posted: Tue Sep 14, 2021 6:55 am
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. :)

Re: Sega Saturn Core in Development

Posted: Tue Sep 14, 2021 4:48 pm
by douglasamcintosh
When (if) this core is released will it accept CHD files like most of the other disc based consoles?

Re: Sega Saturn Core in Development

Posted: Tue Sep 14, 2021 5:00 pm
by cathrynmataga
Woah, did this guy build the CPU and the graphics chips both from scratch? Saturn has a pretty oddball CPU.

Re: Sega Saturn Core in Development

Posted: Tue Sep 14, 2021 5:07 pm
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.

Re: Sega Saturn Core in Development

Posted: Tue Sep 14, 2021 10:22 pm
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.

Re: Sega Saturn Core in Development

Posted: Wed Sep 15, 2021 8:10 am
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.

Re: Sega Saturn Core in Development

Posted: Wed Sep 15, 2021 9:38 am
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

Re: Sega Saturn Core in Development

Posted: Wed Sep 15, 2021 10:40 am
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 30329 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.

Re: Sega Saturn Core in Development

Posted: Wed Sep 15, 2021 3:21 pm
by Jeruro
Thanks for the info!

Re: Sega Saturn Core in Development

Posted: Wed Sep 15, 2021 6:57 pm
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.

Re: Sega Saturn Core in Development

Posted: Fri Sep 17, 2021 12:57 am
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

Re: Sega Saturn Core in Development

Posted: Sat Sep 18, 2021 1:31 pm
by madmax
I hope we ll see SF3.3 CPS3 for the MiSTer.