PSX compatibility
#51
Oh also, PCSX2 is much closer to booting PSX games than you think.

We were tinkering last night since this thread, and it's like this. Right now there is a part in the CDVD reader that outright rejects PSX games. But if you remove that and use boot full it will boot about 3/4 way through PSX BIOS(which btw a version of PSX BIOS is embedded in PS2 BIOS so you don't need a separate one) before hanging. It even will play the PSX BIOS sound before hanging.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply

Sponsored links

#52
Triple post, sorry.

Here is a real video of PSX game running in PCSX2. Well, trying to run. It mostly executes the PSX BIOS, plays the sound, and hangs for unimplemented opcodes. To get this far you have to remove the CDVD code that rejects PSX as I said above.

[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#53
(04-02-2015, 09:42 PM)Blyss Sarania Wrote: Oh also, PCSX2 is much closer to booting PSX games than you think.

We were tinkering last night since this thread, and it's like this. Right now there is a part in the CDVD reader that outright rejects PSX games. But if you remove that and use boot full it will boot about 3/4 way through PSX BIOS(which btw a version of PSX BIOS is embedded in PS2 BIOS so you don't need a separate one) before hanging. It even will play the PSX BIOS sound before hanging.

I know the PS2 has a custom PS1 BIOS embedded into it.

Anyways, what exactly is contained with the PS1 BIOS as far as its contents in the PS2 BIOS? Is it the full BIOS actually put into it, or is it the more probable concept of containing enough BIOS that links it to the PS2 BIOS and boots into PS1 mode?
Moe: [to Homer] And I'm pulling your favorite song out of the jukebox.
Homer: "It's Raining Men"?!
Moe: Yeah, not no more, it ain't. [throws the record out the window which lands into Smithers' car]
Smithers: Ow! [looks at the record] Ohhh.

what would ;e; do
Reply
#54
It doesn't contain enough stuff to like be usable in PSX emulators(we've done tests before extracting it and trying that). But it should be usable in PCSX2 since PCSX2 is actually trying to replicate PS2 and not PSX behavior.

When you put a PSX disc in the PS2, the PS2 BIOS transfers main system control to the IOP(which is the R3000, e.g. the PSX main CPU. In PS2 mode it's used for input/output management, hence "IOP") and the EE goes into a kind of low powerish, not doing much mode. The SPU in PS2 is literally just two chips of the PSX SPU, so in PSX mode one is disabled, and the other one used per normal. The PS2 practically has an entire PSX in it, and more importantly, those chips aren't just for backwards compatibility - they are used in PS2 mode as well. As a result of that, we are already emulating them. It's just that, we have no timing on the IOP(PS2 games don't really care. PSX games obviously do since that's their main CPU) and a few other accuracy issues that stop us from running PSX games.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#55
(04-02-2015, 09:56 PM)Blyss Sarania Wrote: It doesn't contain enough stuff to like be usable in PSX emulators(we've done tests before extracting it and trying that). But it should be usable in PCSX2 since PCSX2 is actually trying to replicate PS2 and not PSX behavior.

When you put a PSX disc in the PS2, the PS2 BIOS transfers main system control to the IOP(which is the R3000, e.g. the PSX main CPU. In PS2 mode it's used for input/output management, hence "IOP") and the EE goes into a kind of low powerish, not doing much mode. The SPU in PS2 is literally just two chips of the PSX SPU, so in PSX mode one is disabled, and the other one used per normal. The PS2 practically has an entire PSX in it, and more importantly, those chips aren't just for backwards compatibility - they are used in PS2 mode as well. As a result of that, we are already emulating them. It's just that, we have no timing on the IOP(PS2 games don't really care. PSX games obviously do since that's their main CPU) and a few other accuracy issues that stop us from running PSX games.

I thought that was how the PS2's PS1 mode worked!

Oh and AFAIK the PlayStation logo is actually a model on the PS1 disc, normally stored in its executable, so getting the logo to load is getting the disc to load too.
Moe: [to Homer] And I'm pulling your favorite song out of the jukebox.
Homer: "It's Raining Men"?!
Moe: Yeah, not no more, it ain't. [throws the record out the window which lands into Smithers' car]
Smithers: Ow! [looks at the record] Ohhh.

what would ;e; do
Reply
#56
The BIOS is failing on GPU initialization.


Also, the PS2 is missing both the PSX GPU and GTE. We really need a capable PSX dev who is willing to help out.
[Image: gmYzFII.png]
[Image: dvedn3-5.png]
Reply
#57
Yeah I actually don't know how the PSX GPU works in the PS2?

Is it soft emulated on the EE? Or done part EE part GS?
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#58
I don't know.
[Image: gmYzFII.png]
[Image: dvedn3-5.png]
Reply
#59
(04-02-2015, 10:34 PM)Blyss Sarania Wrote: Yeah I actually don't know how the PSX GPU works in the PS2?

Is it soft emulated on the EE? Or done part EE part GS?

To be honest it's likely EE-based. I know that PS1 games under the PS2 run at their native resolution (prolly 320x240/288 or possibly 640x480), likely outputted at the PS2's native 640x448/640x512 (?) resolution then fit into a 720x480/720x576 image.
Moe: [to Homer] And I'm pulling your favorite song out of the jukebox.
Homer: "It's Raining Men"?!
Moe: Yeah, not no more, it ain't. [throws the record out the window which lands into Smithers' car]
Smithers: Ow! [looks at the record] Ohhh.

what would ;e; do
Reply
#60
They run and are output at their native resolution.

GSdx is also a PS1 emulator GPU plugin, so in theory the proper code for that is there, although I am not sure if it's exposed to PCSX2 or not.

So that basically leaves the IOP timing and GTE as issues.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply




Users browsing this thread: 1 Guest(s)