libretro / px68k-libretro

Portable SHARP X68000 Emulator for Libretro
http://hissorii.blog45.fc2.com
GNU General Public License v2.0
45 stars 41 forks source link

Nintendo Wii (or Wii U) support #49

Open jpzm opened 6 years ago

jpzm commented 6 years ago

Hi.

I'm would like to know if it's viable to build a compatible version of this core to work with Retroarch for Nintendo Wii or Wii U.

I already tried to build an Nintendo Wii port of [0] but the system does not loaded any rom. However, the menu and other functions worked well. The main problem was the default resolution of px68k. Which is not supported by Nintendo Wii. I solved it scaling the screen to the max supported. Although the menu works correctly, for some reason the system did not start any rom I tested.

[0] https://github.com/hissorii/px68k

r-type commented 6 years ago

No it cant be done without many works. As it not endian safe. This emulator is design for little endian. And convert to big endian will be a nightmare

Edu789 commented 3 years ago

No it cant be done without many works. As it not endian safe. This emulator is design for little endian. And convert to big endian will be a nightmare

You already have this core on the Nintendo Switch, is it still difficult to convert it to the Wii?

gingerbeardman commented 3 years ago

@Edu789 yes, still difficult.

Intel (IBM PC) is little-endian ARM (Switch) is little-endian PPC (Wii/U) is big-endian

So you can see Switch requires no changes because it is same endianness as Intel. Wii and Wii U (and GC, Xbox 360 amongst others) use PPC architecture which is opposite endianness which means many changes, on almost every section of code.

https://en.wikipedia.org/wiki/Endianness

hotker79 commented 1 year ago

Hi.

I'm would like to know if it's viable to build a compatible version of this core to work with Retroarch for Nintendo Wii or Wii U.

I already tried to build an Nintendo Wii port of [0] but the system does not loaded any rom. However, the menu and other functions worked well. The main problem was the default resolution of px68k. Which is not supported by Nintendo Wii. I solved it scaling the screen to the max supported. Although the menu works correctly, for some reason the system did not start any rom I tested.

[0] https://github.com/hissorii/px68k

Greetings, can you share the compiled core for Wii? Thank you. I have tried to compile it, but it gives me an error.

gingerbeardman commented 1 year ago

@hotker79 there is no working version of this core for Wii.

hotker79 commented 1 year ago

@hotker79 there is no working version of this core for Wii.

thanks sir