R4V3N0U5
Posts: 28
Joined: Tue Oct 25, 2011 7:26 pm
Contact: Website

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Feb 27, 2012 2:58 am

When I first heard of the Raspberry Pi, one of the first things that came in mind was the possibility of it being used for some retro gaming emulation. Despite being in my early twenties, there are still some old Gameboy games that I like to play every now and then, and it seems like the Pi would make a good candidate to play these games (which you own of course.)

The most popular emulator for this seems to be VisualBoyAdvance, and looking here http://packages.debian.org/sea.....boyadvance it appears there is a package available for ARM in the debian repositories. From what I can tell that specific package is quite old and outdated, but it appears there is a fork available called VBA-M, which has linux builds (although I'm not sure if there are any ARM ones out there). However, I am beginning to question whether the Pi will really be able to shine as it runs quite ugly on this P4 machine with 1GB of Ram.

Now what I am wondering, is do you think it will be likely someone will re-write/update this code to where it runs well on the Pi? The original Game Boy Advance had an ARM7TDMI processor running at 16.78 MHz, and since most of these emulators are built to run on x86 and x64 platforms, they emulate ARM. While I understand parts such as the memory, sound, and VGA will still require some sort of emulation, even on the Pi, could the code be re-written specifically for the Pi (Given it has an ARM processor,) with the possibility of even getting some sort of VGA acceleration from the GPU, even if it may just be the scaling filters?

I myself am not a programmer but I think it would make for an interesting project. What do you guys think?

murak
Posts: 4
Joined: Sat Feb 11, 2012 10:08 am

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Feb 27, 2012 7:35 pm

Look up Open Pandora and its software. If it runs on Open Pandora it should run on the Pi since they are quite simular. (600/700mhz arm cpu, 256mb ram, runs Linux)

http://openpandora.org/

The software might still need some tweaking, I to am no progammer

Hope it helpes!

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5288
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Feb 27, 2012 8:35 pm

I've run GBC emulator (gnuboy). It was fine. Not tried GBA.

DavidK
Posts: 10
Joined: Mon Feb 27, 2012 8:34 pm
Location: Kent, UK

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Feb 27, 2012 8:59 pm

I wonder if it'll be able to play Duke Nukem Forever. Or hook up to some decent speakers and listen to that Guns 'n' Roses album. </lol jk>

User avatar
Jessie
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Feb 27, 2012 11:48 pm

Since GBA and newer run on ARM processors some smart person could in theroy make the games run natively, or semi-natively.

R4V3N0U5
Posts: 28
Joined: Tue Oct 25, 2011 7:26 pm
Contact: Website

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Feb 27, 2012 11:55 pm

dom said:


I've run GBC emulator (gnuboy). It was fine. Not tried GBA.


I imagine so. Since visualboyadvance is available in the debian arm repositories, as stated in my post, I have no doubt it will run. I'm just worried it might be slightly sluggish given that it will only use the CPU. I also find it kind of ironic, since it is only a port of the x86 version it will probably be emulating ARM on an ARM processor. Perhaps someone familiar with ARM and (what appears to be C++) could take a look at the code and optimize it for the Raspberry Pi, as I have no doubt that if some parts didn't have the be emulated, the software could run faster.

fireraisr
Posts: 81
Joined: Wed Nov 23, 2011 2:34 am

Re: Raspberry Pi and GB/GBC/GBA Emulation

Tue Feb 28, 2012 1:36 am

I wouldn't worry about it being sluggish. If you run it directly from the command line it shouldn't have any problems. The desktop GUI uses quite a bit of resources even though it is pretty lightweight itself.

SavageMind
Posts: 2
Joined: Tue Feb 28, 2012 2:32 am

Re: Raspberry Pi and GB/GBC/GBA Emulation

Tue Feb 28, 2012 2:43 am

murak said:


Look up Open Pandora and its software. If it runs on Open Pandora it should run on the Pi since they are quite simular. (600/700mhz arm cpu, 256mb ram, runs Linux)

http://openpandora.org/

The software might still need some tweaking, I to am no progammer

Hope it helpes!


I have a Pandora and it absolutely rocks. There is a huge repository of ported and homebrew and a huge community that is growing day by day. I look forward to seeing these two communities working together and producing some great products.

matt_c
Posts: 3
Joined: Mon Mar 12, 2012 6:44 pm

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Mar 12, 2012 6:46 pm

This guy has a well easy to setup guide, all you need is QEMU, the download from raspberry pi and voila!

http://www.smallbulb.net/2012/.....spberry-pi

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Mar 12, 2012 7:15 pm

Might have to try that qemu for windows to see how it compares with my fedora version - thanks for the link
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

mArt
Posts: 5
Joined: Wed Nov 30, 2011 7:44 pm

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Mar 12, 2012 7:32 pm

I'll leave this here.

[Link Redacted by Abishur: Sorry, I know you meant no harm, but we do not allow linking to ROMs or in this case, web streaming software that runs ROMs]

matt_c
Posts: 3
Joined: Mon Mar 12, 2012 6:44 pm

Re: Raspberry Pi and GB/GBC/GBA Emulation

Tue Mar 27, 2012 7:28 pm

themArt said:


I'll leave this here.

[Link Redacted by Abishur: Sorry, I know you meant no harm, but we do not allow linking to ROMs or in this case, web streaming software that runs ROMs]



No probs man :@)

ninjaflapjack
Posts: 3
Joined: Thu Dec 20, 2012 6:08 pm

Re: Raspberry Pi and GB/GBC/GBA Emulation

Thu Dec 20, 2012 6:29 pm

I'm not sure how, but would it be possible to get this to work on the pi?
http://boards.openpandora.org/index.php ... rom-notaz/

toxibunny
Posts: 1382
Joined: Thu Aug 18, 2011 9:21 pm

Re: Raspberry Pi and GB/GBC/GBA Emulation

Sun Dec 30, 2012 11:01 am

someone post a hint so that I can find that 'web streaming software that runs roms' please, it sounds interesting...
note: I may or may not know what I'm talking about...

drhelius
Posts: 3
Joined: Mon Jan 07, 2013 11:43 pm

Re: Raspberry Pi and GB/GBC/GBA Emulation

Mon Jan 07, 2013 11:45 pm

Hi! I'm currently porting my Game Boy / Game Boy Color to Raspberry Pi.
You can see the full source code here: https://github.com/drhelius/Gearboy

User avatar
ulysess
Posts: 305
Joined: Thu Aug 02, 2012 6:35 am
Location: Spain
Contact: Website

Re: Raspberry Pi and GB/GBC/GBA Emulation

Tue Jan 08, 2013 5:58 am

Gearboy seems interesting! Thks!
Mis apuntes de...Raspberry Pi: http://misapuntesde.com
Google Docs RPi: http://goo.gl/Iwhbq

ninjaflapjack
Posts: 3
Joined: Thu Dec 20, 2012 6:08 pm

Re: Raspberry Pi and GB/GBC/GBA Emulation

Sat Feb 02, 2013 7:29 pm

Actually for GBA emulation does anyone know how you would get this working?

https://github.com/nezticle/EmuMasterPi

(I'm new to this)

Return to “General discussion”