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

Hey /g/, since /prog/ is dead and you are my last bastion before

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 26
Thread images: 4

File: img20151223001738.jpg (2MB, 5120x2828px) Image search: [Google]
img20151223001738.jpg
2MB, 5120x2828px
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 (2MB, 1040x994px) Image search: [Google]
default.png
2MB, 1040x994px
>>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 (21KB, 480x600px) Image search: [Google]
1415634488456.jpg
21KB, 480x600px
>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 (194KB, 500x377px) Image search: [Google]
368333.png
194KB, 500x377px
>>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 posts: 26
Thread images: 4


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.