deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.

Home Page:https://projects.deltabeard.com/peanutgb/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gb: support big endian platforms

deltabeard opened this issue · comments

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.

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.