Ev3dev: Is it possible to run gameboy on the EV3?

Created on 29 Aug 2016  路  8Comments  路  Source: ev3dev/ev3dev

I'm wondering if it is possible to run a gameboy emulator on the ev3

question

Most helpful comment

I can now definitively say, the answer is yes.*

selection_014

*May require 1337 h4x0r skillz.

All 8 comments

The CPU and RAM resources probably are enough for a basic gameboy emulator, the problem is graphics support (and probably some library dependencies).
Here it is stated tht GRX3 supports Glib (but not SDL). Thalia has Glib support, you might try it. It lacks full support (color, sound) but that also means it requires less hardware resources and less libraries.

Good luck!

Indeed, the graphics library will probably be the biggest problem. (GLib is not a graphics library - Thalia requires GTK+, which is a desktop widget library, so won't work).

The problem I found with existing Linux graphics libraries (like SDL) is that they don't support 1-bit-per-pixel. And even if you did find a graphics library that worked, there is also the problem that the EV3 screen is 178x128 and the Game Boy screen is 160x144, so the images displayed would be cut off at the top and/or bottom.

Maybe use a combination of pygame and an existing gameboy emulator in python (there are several on github)?

It's certainly an interesting idea. I might look into this.

I wonder if one of the emulators that will run on a raspberry pi would work

Especially now that we have discovered that the EV3 can do 2bpp grayscale just like the GameBoy.

I can now definitively say, the answer is yes.*

selection_014

*May require 1337 h4x0r skillz.

You should do a blog on how you got this to work :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JorgePe picture JorgePe  路  9Comments

osmado picture osmado  路  6Comments

laurensvalk picture laurensvalk  路  4Comments

magicalpear picture magicalpear  路  7Comments

jamesc601 picture jamesc601  路  6Comments