[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Hey /g/, since /prog/ is dead and you are my last bastion before
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 26
Thread images: 4
File: img20151223001738.jpg (2 MB, 5120x2828) Image search: [Google]
img20151223001738.jpg
2 MB, 5120x2828
Hey /g/, since /prog/ is dead and you are my last bastion before I head to /r/programming I thought I'd ask you a question. TL;DR is at the bottom.

I recently bought a Raspberry Pi Model 1B from my friend, and have been playing around with it on its emulation aspect. I've been playing around with SNES Emulators and I find that they run so terribly on the Pi, even with an overclock. So, I thought of this:

Program an emulator specifically for the Raspberry Pi. Write it up in C/C++, compile and optimize the resulting ARM assembly. What I am wondering, however, is if the resulting program would be fast enough, given that one would also have to emulate the many chips included into the cartridge rom files.

TL;DR I want to make an optimized emulator for the SNES, would it be faster than say SNES9X? Is there anyone on /g/ with experience programming emulators? Am I just wasting my time?
>>
>>52224931
It's the hardware,not the programming.You just wont be able to run it on a pi,no matter what optimization you do
>>
>>52224955
Well, considering that I got my Model B running at 800Mhz and that the SNES ran at approximately 4MHz the emulation couldn't possibly take up more than 600MHz, right?

I mean, I never programmed an emulator before but basically it is just reverse engineering / finding a doc on the ISA and use that instruction as how a modern computer would, right?
>>
or just buy the raspberry pi 2 model b for $50 and be happy
>>
>>52225014
I was looking into that but I was worried that the SNES would also have shit emulation on that too... Not to mention that Pi2 doesn't have the composite video out.

I'm a guy that tries to make the most of the things he has.
>>
>>52225049
the pi2 is powerful enough to emulate snes smoothly

get on with the times and get hdmi

or just get a hdmi>composite video adapter, I am sure some chinese guy is selling 1 on ebay
>>
>>52225076
The problem isn't HDMI, it's viewing in sweet 4:3 NTSC on a beautiful Cathode Ray Tube Television.

I'd imagine that using HDMI I'd have to finagle some sort of contraption to make it work.
>>
>>52225000

And if I turn down the graphics on Batman Arkham Knight so hard they actually compare with a SNES, I might get 5FPS on an i7.
>>
>>52225098
life is about overcoming the biggest of challenges

what about some sort of usb -> composite video contraption?
>>
File: default.png (2 MB, 1040x994) Image search: [Google]
default.png
2 MB, 1040x994
>>52225098
This is the next best thing to a CRT for retro games.
>>
>>52224931
What game is this?
>>
>>52225158
Custom Maid 3D2. It's alright. Ask around on >>>/vg/hgg

>>52225118
Nevermind I'm retarded. Pi2 does have RCA but I'm still worried about emulation...
>>
>>52225203
I was hoping it was a PS2 J-RPG desu senpai
>>
>>52225212
Nope. Straight up porn game.
I know, I wish it wasn't too. I wish my waifu got a 3D game for once.
>>
File: 1415634488456.jpg (21 KB, 480x600) Image search: [Google]
1415634488456.jpg
21 KB, 480x600
>meme device
>emulation runs like shit
>>
>>52225274
Bought it off a friend for 20 bucks with keyboard and shit... probably should have kept the money seeing the Pi 2 was out but whatever.
>>
>>52225281
its still an okay device for controlling shit with the GPIO pins and stuff...
>>
>>52225292
Yeah... Maybe I'll just make a robot or some shit.

Thanks for the help, guys.
>>
>>52225313
attach a motor controller board to it, put 4 individual motors with wheels on it, a wifi dongle and a webcam and you're all set for a remote controllable 4wd spy car
>>
>>52224955
Bullshit, I used to run SNES and even N64 emulators on an old junker PC with a 466 MHz Celeron and 256 MB of RAM.
>>
>>52224931
remember how quick zsnes was back in the day? that was done in (mostly) x86 assembly, and had lots of performance hacks, it ran well on machines far slower than the pi
>>
Thanks OP, I got myself a project now.
>>
>>52224931
Check out /λ/ on lain chan.
>>
File: 368333.png (194 KB, 500x377) Image search: [Google]
368333.png
194 KB, 500x377
>>52225000
>take up mhz
>>
>>52225049
The pi2 has a combo video/audio port and hdmi. Just buy a cable.
>>
>>52224931
>since /prog/ is dead
As if you would actually post this on /prog/ and receive anything other than a big, fat "you're a nigger", if even that.
Thread replies: 26
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.