PlayStation MiSTer Core Repository Created

Xbytez
Site Admin
Posts: 469
Joined: Wed May 20, 2020 3:36 pm
Has thanked: 214 times
Been thanked: 787 times

PlayStation MiSTer Core Repository Created

Unread post by Xbytez »

Robert Peip (@AzumFpg) has created the public repository for the PlayStation core he is working on!

https://github.com/RobertPeip/PlayStation_MiSTer
MostroW
Posts: 323
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 140 times
Been thanked: 43 times

Re: PlayStation MiSTer Core Repository Created

Unread post by MostroW »

Looks like a good start, quite curious on how this core will progress in the time to come!
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: PlayStation MiSTer Core Repository Created

Unread post by pgimeno »

Oh my that's so exciting! Wish he published his software emulator as well.
Sectorseven
Posts: 6
Joined: Sun May 24, 2020 6:51 pm

Re: PlayStation MiSTer Core Repository Created

Unread post by Sectorseven »

So no analog out through the IO board, it will be interesting to see how users react to that.
hiddenbyleaves
Posts: 121
Joined: Mon Nov 02, 2020 11:25 am
Has thanked: 48 times
Been thanked: 19 times

Re: PlayStation MiSTer Core Repository Created

Unread post by hiddenbyleaves »

Sectorseven wrote: Wed Sep 01, 2021 3:12 pm So no analog out through the IO board, it will be interesting to see how users react to that.
I am desperately trying not to react to it at the moment.
Duffygag
Posts: 95
Joined: Tue Nov 03, 2020 10:57 am
Has thanked: 12 times
Been thanked: 25 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Duffygag »

Sectorseven wrote: Wed Sep 01, 2021 3:12 pm So no analog out through the IO board, it will be interesting to see how users react to that.
Using Direct Video probably
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: PlayStation MiSTer Core Repository Created

Unread post by FPGAzumSpass »

Maybe there will be the possibility to disable the scaler reading part of the DDR3 and output analog instead.

But i don't focus on such things now.
FoxbatStargazer
Top Contributor
Posts: 994
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 309 times
Been thanked: 228 times

Re: PlayStation MiSTer Core Repository Created

Unread post by FoxbatStargazer »

So did Bob get you a CRT yet? :)
Blitzwing
Posts: 103
Joined: Sat Sep 05, 2020 9:52 pm
Has thanked: 11 times
Been thanked: 24 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Blitzwing »

Is this a new ground up core or does it build upon the work by Laxer et al?
Blitzwing
Posts: 103
Joined: Sat Sep 05, 2020 9:52 pm
Has thanked: 11 times
Been thanked: 24 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Blitzwing »

FPGAzumSpass wrote: Wed Sep 01, 2021 4:43 pm Maybe there will be the possibility to disable the scaler reading part of the DDR3 and output analog instead.

But i don't focus on such things now.
Does your workflow of building a software emulator first and using that as the basis for you FPGA core help with debugging and getting the logic right, rather than starting from scratch in Quartus?
gamesfan
Posts: 65
Joined: Mon Jun 07, 2021 7:15 pm
Has thanked: 2 times
Been thanked: 10 times

Re: PlayStation MiSTer Core Repository Created

Unread post by gamesfan »

Blitzwing wrote: Thu Sep 02, 2021 12:07 am Is this a new ground up core or does it build upon the work by Laxer et al?
New ground up.
User avatar
Tackemon
Posts: 23
Joined: Mon Jul 19, 2021 5:03 am
Has thanked: 3 times
Been thanked: 3 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Tackemon »

Blitzwing wrote: Thu Sep 02, 2021 12:07 am Is this a new ground up core or does it build upon the work by Laxer et al?
From:
https://www.retrorgb.com/misterfpga-psx ... spass.html
None of the open sourced material from Laxer3A or ultraembedded has currently been utilized for the development of his PSX FPGA project.

FPGAzumSpass stated it was easier for him to start from the ground up, rather than use the work previously done on PSX FPGA development.
hiddenbyleaves
Posts: 121
Joined: Mon Nov 02, 2020 11:25 am
Has thanked: 48 times
Been thanked: 19 times

Re: PlayStation MiSTer Core Repository Created

Unread post by hiddenbyleaves »

FPGAzumSpass wrote: Wed Sep 01, 2021 4:43 pm Maybe there will be the possibility to disable the scaler reading part of the DDR3 and output analog instead.

But i don't focus on such things now.
My excitement rating had dropped to 99% but has now returned to 100%.
User avatar
darksakul
Posts: 352
Joined: Mon May 25, 2020 4:34 pm
Has thanked: 397 times
Been thanked: 73 times

Re: PlayStation MiSTer Core Repository Created

Unread post by darksakul »

Sectorseven wrote: Wed Sep 01, 2021 3:12 pm So no analog out through the IO board, it will be interesting to see how users react to that.
I am more than fine with this. If you ask me HDMI is the way.
But I realize that sucks for those CRT fans.
It is my great regret that we live in an age that is proud of machines that think and suspicious of people who try to.
lroby74
Posts: 111
Joined: Tue May 26, 2020 2:59 pm
Has thanked: 127 times
Been thanked: 15 times

Re: PlayStation MiSTer Core Repository Created

Unread post by lroby74 »

Sectorseven wrote: Wed Sep 01, 2021 3:12 pm So no analog out through the IO board, it will be interesting to see how users react to that.
No CRT no party! :lol: :lol: :lol:
Duffygag
Posts: 95
Joined: Tue Nov 03, 2020 10:57 am
Has thanked: 12 times
Been thanked: 25 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Duffygag »

It seems people in this thread don't know what Direct Video is :)
lroby74
Posts: 111
Joined: Tue May 26, 2020 2:59 pm
Has thanked: 127 times
Been thanked: 15 times

Re: PlayStation MiSTer Core Repository Created

Unread post by lroby74 »

Duffygag wrote: Thu Sep 02, 2021 1:28 pm It seems people in this thread don't know what Direct Video is :)
I am using Direct Video on 2° Mister (connected to 2 14" Philips CRT monitors) but on first one i need to not use it
User avatar
aberu
Core Developer
Posts: 1144
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 388 times
Contact:

Re: PlayStation MiSTer Core Repository Created

Unread post by aberu »

pgimeno wrote: Wed Sep 01, 2021 1:30 pm Oh my that's so exciting! Wish he published his software emulator as well.
He usually does eventually. The software emulator is often something that runs at like 1/3rd speed is solely for helping the development process anyways, so it's not much of something to play games on.
birdybro~
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: PlayStation MiSTer Core Repository Created

Unread post by FPGAzumSpass »

For fullspeed gaming my emulator would require a ~12Ghz CPU, so it's worthless for that.
Most people don't understand why and just say it's bad design, so I rather not publish it.
Also I received complains about the (missing) UI. Well, for my basic tests i don't need any great UI.

The more I design the emulator to work like hardware, the slower it will be and this time I maybe did too much.
On the other hand, I could port the CPU nearly 1:1, except the cache, which helped a lot.

Hopefully the other components will also transfer over so nice.
Duffygag
Posts: 95
Joined: Tue Nov 03, 2020 10:57 am
Has thanked: 12 times
Been thanked: 25 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Duffygag »

FPGAzumSpass wrote: Thu Sep 02, 2021 2:57 pm For fullspeed gaming my emulator would require a ~12Ghz CPU, so it's worthless for that.
Most people don't understand why and just say it's bad design, so I rather not publish it.
Also I received complains about the (missing) UI. Well, for my basic tests i don't need any great UI.

The more I design the emulator to work like hardware, the slower it will be and this time I maybe did too much.
On the other hand, I could port the CPU nearly 1:1, except the cache, which helped a lot.

Hopefully the other components will also transfer over so nice.
Keep up the great work mate, unfortunately the world is filled with entitled 40 years old idiots, with no hardware/software understanding, who never had the chance to grow up and develop into decent human beings, just ignore them :) - The community is beyond lucky to have ppl like yourself.
Neocaron
Posts: 341
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 187 times
Been thanked: 66 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Neocaron »

FPGAzumSpass wrote: Thu Sep 02, 2021 2:57 pm For fullspeed gaming my emulator would require a ~12Ghz CPU, so it's worthless for that.
Most people don't understand why and just say it's bad design, so I rather not publish it.
Also I received complains about the (missing) UI. Well, for my basic tests i don't need any great UI.

The more I design the emulator to work like hardware, the slower it will be and this time I maybe did too much.
On the other hand, I could port the CPU nearly 1:1, except the cache, which helped a lot.

Hopefully the other components will also transfer over so nice.
My knowledge in this is very limited, but if I understand your process, you basically replicate every FPGA gate at a software level on a regular CPU which allows you to troubleshoot things and make improvement directly, but with very very slow performance. However once you reach a great level of accuracy you then translate this very slow but thorough software emulator to the FPGA chip using the same backbone. Am I close enough? Do you think there is a chance for perspective-correct texturing using floating-point precision? :D

Anyhow, very happy you are the one to be tacking this! Your emulators are absolutely amazing, though I still don't understand why the multiplayer cores are not already part of the official update, since they are game changers for each console you did it for.
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: PlayStation MiSTer Core Repository Created

Unread post by FPGAzumSpass »

The multiplayer cores are not in the update script, because the script as is cannot fetch from a branch. Hopefully it's added some day.


The emulator is not built on gate level, my description in FPGA also is not on gate level.
I prefer doing behavioral design as much as I can.
But it does handle every component/chip with the original resolution.

E.g. common emulators only do 1-2 cpu stages, because everything else is just for reaching high CPU clock speed in hardware.
My emulator does all 5 stages, which obviously costs 2-3x performance, but in FPGA I have to do 5 stages anyway to reach the required clock speed.

Also I trigger EVERY component/chip for every clock cycle like it would happen on real hardware.
Most emulators instead work with events, waiting until some action is done and only trigger the chip once.
Neocaron
Posts: 341
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 187 times
Been thanked: 66 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Neocaron »

Very interesting read! Thanks :) And yes I hope the update script gets updated as well, I feel some people are probably missing out on them, or your lastest improvements, because they are not included.
Blitzwing
Posts: 103
Joined: Sat Sep 05, 2020 9:52 pm
Has thanked: 11 times
Been thanked: 24 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Blitzwing »

Duffygag wrote: Thu Sep 02, 2021 1:28 pm It seems people in this thread don't know what Direct Video is :)
Oh we do, it's just some use both IO analogue out and the HDMI 😅

Whilst I could plug in and unplug the adapter and the switch ini's I'd rather stick with how I use the MiSTer now, that said if it can't be done it can't be, just having a PS1 core would be an amazing achievement.
Blitzwing
Posts: 103
Joined: Sat Sep 05, 2020 9:52 pm
Has thanked: 11 times
Been thanked: 24 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Blitzwing »

FPGAzumSpass wrote: Thu Sep 02, 2021 2:57 pm For fullspeed gaming my emulator would require a ~12Ghz CPU, so it's worthless for that.
Most people don't understand why and just say it's bad design, so I rather not publish it.
Also I received complains about the (missing) UI. Well, for my basic tests i don't need any great UI.

The more I design the emulator to work like hardware, the slower it will be and this time I maybe did too much.
On the other hand, I could port the CPU nearly 1:1, except the cache, which helped a lot.

Hopefully the other components will also transfer over so nice.
I guess the software CPU being designed to be ported to FPGA means most of the logic executes in parallel? Great for an FPGA not so much for a CPU which works sequentially.

Don't understand how that is bad design, it just isn't meant for CPU's

Edit, your other post answered that question nevermind.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: PlayStation MiSTer Core Repository Created

Unread post by pgimeno »

I imagine that the software emulator is a "reality check" on how the hardware works and behaves, and allows tuning or fixing things, testing ideas etc. faster and with more debugging tools than doing it directly in hardware form. That sounds like good approach.

Watching the Croc demo video suggested that the speed was quite good, so I guess I got a wrong impression. Nevertheless, I think there's value in publishing the emulator, in that users may check behaviours in certain games to see if they match the real machine the way they expect, and if not, report them even before the hardware is implemented, allowing for correction of those aspects and planning the hardware implementation in advance.

But yeah, I guess that's an "ideal world" view and that the reality is that people will complain if the software emulator doesn't perform as they expect, so it may not be a good idea in practice after all.
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: PlayStation MiSTer Core Repository Created

Unread post by FPGAzumSpass »

The software emulator doesn't support all games yet and still has bugs and no sound at all, which causes even more bugs.

For Lynx and Wonderswan I "completed" the emulators before doing the hardware, as they were not as big.
But this time it would have taken too long, so i'll be doing it as I did with GBA: implementing the hardware until some games run, then go back to all the missing things.

It's a longer process, but i don't risk forgetting how things work when I finally got 99% of the games working perfect in the emulator some day next year.
Also i need this to keep myself motivated. I cannot work for 1 year on such a project with no (playable) outcome.


As for the croc demo: the playback was at 2x speed, so about 80% of original speed, I didn't want to torture all viewers with the slow games i have to see :)

Edit: I'm really looking forward to test on FPGA, because it will be 100% speed. It will feel like running in fastforward.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Moondandy »

Getting exciting. Has it been decided what the .rbf name will be for this core?
User avatar
MottZilla
Posts: 43
Joined: Mon May 25, 2020 6:36 am
Has thanked: 1 time
Been thanked: 5 times

Re: PlayStation MiSTer Core Repository Created

Unread post by MottZilla »

lroby74 wrote: Thu Sep 02, 2021 1:20 pm
Sectorseven wrote: Wed Sep 01, 2021 3:12 pm So no analog out through the IO board, it will be interesting to see how users react to that.
No CRT no party! :lol: :lol: :lol:
I agree. But this is just the very beginning. It's understandable to be a low priority at the start. Lots of people certainly hope it'll be added eventually. I certainly do as I prefer analog RGB via the I/O board.
Xbytez
Site Admin
Posts: 469
Joined: Wed May 20, 2020 3:36 pm
Has thanked: 214 times
Been thanked: 787 times

Re: PlayStation MiSTer Core Repository Created

Unread post by Xbytez »

Another PlayStation 1 core development update:

Post Reply