pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[Feature Request]: Full TLB Support

Open TheLastRar opened this issue 1 year ago • 1 comments

Description

Currently, we use a fixed mapping based on the pre initialised values set on boot. These mappings can later be changed, however, almost no software made use of this

Only 1 game, and Linux (derived) software made use of this feature.

Due to the complexity and minimal usage, there is currently no plan for tacking this feature ourselves.

Reason

PS2 Linux and PSBBN (also based on Linux) require full TLB emulation.

Goemon also uses a non default TLB mapping (and I think is the only game to do so), but we have a hack for that so isn't a stopper for that.

Examples

https://github.com/PCSX2/pcsx2/issues/11746 https://github.com/PCSX2/pcsx2/issues/5403 https://github.com/PCSX2/pcsx2/issues/8656

TheLastRar avatar Oct 13 '24 14:10 TheLastRar

POPS (official PS1 discless emulator) and PS2PSXe (homebrew PS1 emulator) use custom TLB mappings too.

Goatman13 avatar Oct 14 '24 05:10 Goatman13

Sorry for bumping, but ive been searching around countless threads about it on how to successfully boot PSBBN, theres recently exciting updates by people making English patch for it. So making a virtualized PSBBN a la the wonderful Xbox dashboards emulation on XEMU (LLE) sounds exciting.

Ive been trying my built fork off someones Magicgate fork, but tlb is something im not experienced with to build even if not possible i think so far as only built in tlb to be made available isnt something out of question . So a feature request for it is very valid.

marxman1412 avatar Feb 18 '25 01:02 marxman1412

Sorry for bumping, but ive been searching around countless threads about it on how to successfully boot PSBBN, theres recently exciting updates by people making English patch for it. So making a virtualized PSBBN a la the wonderful Xbox dashboards emulation on XEMU (LLE) sounds exciting.

Ive been trying my built fork off someones Magicgate fork, but tlb is something im not experienced with to build even if not possible i think so far as only built in tlb to be made available isnt something out of question . So a feature request for it is very valid.

I've also searched a lot of threads on how to successfully run PSBBN. With magicgate fork i only get stuck for a couple of seconds on the playstation 2 logo. After that, it will throw me back to the browser screen.

Asd677gg avatar Feb 18 '25 10:02 Asd677gg

I've also searched a lot of threads on how to successfully run PSBBN. With magicgate fork i only get stuck for a couple of seconds on the playstation 2 logo. After that, it will throw me back to the browser screen.

that's most likely due to Dev9 issues that have already been fixed (see #11746) the main issue now is with TLB @Asd677gg @marxman1412

toffee-makes-things avatar Feb 19 '25 07:02 toffee-makes-things

I've also searched a lot of threads on how to successfully run PSBBN. With magicgate fork i only get stuck for a couple of seconds on the playstation 2 logo. After that, it will throw me back to the browser screen.

that's most likely due to Dev9 issues that have already been fixed (see #11746) the main issue now is with TLB @Asd677gg @marxman1412

You mean that i need to use the latest version of pcsx2 + magicgate and it will work? And also, do i need to decrypt the elf file? If yes, then how?

Asd677gg avatar Feb 19 '25 09:02 Asd677gg

You mean that i need to use the latest version of pcsx2 + magicgate and it will work? And also, do i need to decrypt the elf file? If yes, then how?

No. the DEV9 related issues (that was fixed a few months back) was one of the two last blockers for PSBBN to work. The other main one is being the lack of Full TLB Support that were mentioned.

So... Really, the last MAIN blocker is the missing Full TLB Support, and since no games (apart from Goemon and PS2Linux) ever uses Full TLB as well as the complexity of implementing it, it was deemed a low priority.

For context on what TLB are.

kamfretoz avatar Feb 19 '25 09:02 kamfretoz