deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
https://projects.deltabeard.com/peanutgb/
295 stars 40 forks source link

gb: support big endian platforms #65

Closed deltabeard closed 1 year ago

deltabeard commented 1 year ago

This is essentially for adding support for GameCube, Wii and possibly the N64.

A basic example for the GameCube and Wii is completed but is not working properly yet due to errors in gb_write() that only occur when compiling for big endian platforms.

deltabeard commented 1 year ago

Abandoned because debugging tools for GameCube and Wii are not in a working state (documentation is >10 years old, gdb on DevKitPPC does not work on new binaries, etc.), and because there is not enough big endian PowerPC support in major Linux distributions, such as Debian.

After updating a virtualised PowerPC Debian 9.0 install, my log in credientials changed and I couldn't log in any more. That was the last straw, so big endian support is cancelled until there is a reasonable way I can actually test these changes. The endian branch will remain available so that this issue can be looked at later.