maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Full Speed SNES Emulator (https://talk.maemo.org/showthread.php?t=6954)

zerojay 2008-07-16 01:14

Re: Full Speed SNES Emulator
 
Quote:

Originally Posted by ArnimS (Post 186091)
Hey sorry for leaving you guys hanging so long. Real Life (tm) has intruded here in pupnikland :(

There is some good news: i did get DrPocketSnes stripped down to the point where it runs and loads a ROM on the tablet (this was in January).

Can't wait to prove zerojay wrong :P Well - strictly speaking I expect he's right - we can't get 60fps in real screen updates until we figure out how to manually control vsync and possibly bypass SDL - and the fast (tile based) emulation from Squidge is not 100% compatible... so yeah it won't be 100% compatible at 60fps....
But it should be a solid 30fps with frameskip1 on N8x0 at the very least..

i babble - sorry again about no releases - i'm not dead yet

Please do prove me wrong. There is nothing I would rather see than having a fully functional SNES emulator on a tablet.

eliagp 2008-07-29 02:24

Re: Full Speed SNES Emulator
 
I am certainly hoping to see Chrono Trigger on my n800. Can't help much except for moral support but good luck!

Omega 2008-07-29 14:11

Re: Full Speed SNES Emulator
 
It should be possible to get this working - I'm not denying the work behind it (and that it is beyond me).

But we have to remember that emulators have been happening since the days of <200MHz CPUs. Regardless of their larger instruction sets there's still a lot of horsepower to be accounted for even after a conservative opinion of the hardware of the N8x0es.

I remember running SNES emulators on 100MHz 486DX/2s. I find it hard to believe that a 400MHz arm capable of running Warzone 2100 can't be expected to emulate an SNES -- even at full speeds.

eliagp 2008-07-30 04:06

Re: Full Speed SNES Emulator
 
I'm guessing the problem is not horsepower but how to use it towards the game, there's work being done towards a PSX emulator so SNES should be very possible. :p All I can do now is cheer for the guys who are wasting free time to bring kinda stuff to our tablets.

Underscore 2008-07-30 04:35

Re: Full Speed SNES Emulator
 
The fact that I could run a decent, well, working snes emulator on a Nintendo DS should be a good enough example...

Omega 2008-07-30 10:07

Re: Full Speed SNES Emulator
 
Indeed and of course I feel the same. While none of this type of programming is my focus, I will gladly cheer for anyone making the efforts.

Looking at the comparison still, I bet you maemo uses a comparable amount of resources as Windows 95/98 running on my aformentioned 486. Keeping in mind the 486 also had a fraction of the RAM as the tablet.

This is possible, it just has to be optimzed.

Another issue is that it appears the N8X0 devices have a rather crippled 2D acceleration architecture...PowerVR, but no access to it?! Maybe someone can fill me in on that? Seems kinda boneheadded.

Omega 2008-07-30 22:24

Re: Full Speed SNES Emulator
 
Quote:

Originally Posted by Underscore (Post 208505)
The fact that I could run a decent, well, working snes emulator on a Nintendo DS should be a good enough example...

You'd think. Although the DS has two CPUs and no overhead of a mini Linux distribution...

But it also has a fraction of the remaining resources (RAM especially) and I don't think it has any specialized video acceleration.

General purpose seems to be making a comeback in the name of affordability these days - especially in small devices. The novelty is almost addicting!

Mysticode 2008-07-30 22:42

Re: Full Speed SNES Emulator
 
Quote:

Originally Posted by Omega (Post 208541)
Another issue is that it appears the N8X0 devices have a rather crippled 2D acceleration architecture...PowerVR, but no access to it?! Maybe someone can fill me in on that? Seems kinda boneheadded.

The graphics hardware in the n8x0 devices could be the limiting factor. I recall reading that the bus wasn't fast enough to transfer full-screen video at 30fps - this was impacting video playback. Now it seems that some work arounds have been done here since we can play back video "decently" at least.

In terms of the PowerVR chipset, from what I understand, there are no drivers that support 3D acceleration at least (and possibly 2D as well - that wasn't mentioned in the discussion I read) despite there being hardware support.

This thread has some more details about the hardware limitations in terms of graphics performance.

Mysticode 2008-07-30 22:53

Re: Full Speed SNES Emulator
 
Quote:

Originally Posted by Omega (Post 208767)
But it also has a fraction of the remaining resources (RAM especially) and I don't think it has any specialized video acceleration.

Actually, the DS, like the GBA, does have specialized 2D acceleration. You can read some details here.

Omega 2008-07-30 22:56

Re: Full Speed SNES Emulator
 
So really NEC is restricting access on a basis that Nokia doesn't find worth pursuing.

Are there any free implementations of the drivers? Similar to equivalent projects being done for ATI and nVidia chipsets?

My last ARM based device also suffered from a very slow bus. I'm surprised device makers are continuing to stick with such a shoddy architecture. Here's hoping Nokia fixes this up in the next one or two generations. Bus speed is everything and I hope they've learned that it is one corner that shouldn't be cut.

Thesandlord 2008-07-31 00:05

Re: Full Speed SNES Emulator
 
Guys, the current port of Snes9x works fine with most games. Its not 100% speed, but its easily playable. Obviously 3D games like starfox don't work very well, but whatever. Once I learn how to make a .deb, I will make a package with ArminS snes9x port and my front end. I have no idea why this is not already done...

The only problems are it is not optimized for the tablets. So it can go much faster.

Also, there are no controls, so without a N810, keyboard, Wii Remote, or a virtual keyboard, its going to be difficult (impossible?) to play...

30 fps, 20 fps, whatever, as long as it works...

eliagp 2008-08-02 18:48

Re: Full Speed SNES Emulator
 
Do you know where could instructions be found to install it? I really wanna play Chrono Trigger :P or one of the more advanced guys coul make the deb so we can try in the meanwhile while the optimized port is released ^^ (yes i ask for a lot, sorry about that :P)

aestylis 2008-08-23 02:44

Re: Full Speed SNES Emulator
 
Would a project like this one http://little-john.net/ be feasible for porting? this is an emu for PalmOS that has source available runs on an arm platform and emulates several systems including snes.

JustNick 2008-09-21 09:10

Re: Full Speed SNES Emulator
 
Quote:

Originally Posted by Thesandlord (Post 147859)
ok, im not sure if this thread is dead or not, but it seems the most relevent. After growing impatient waiting for DrPocketSnes, i decided to make a GUI for the current Snes9x! There are no tuchscreen buttons, so im guessing that this will only work on an N810 or N800/770 with a keyboard...
This is how to install a full-ish speed Snes emulator (but no sound as explained earlier in the thread) for all those noobs out there like myself
1) Download Snes9x from http://pupnik.de/snes9x.html
2) Extract the binary's (both snes9x_opt2 and snes9x), and move both to /usr/bin ( i used emelfm2 for both uncompressing and moving, id recomend xarchiver though) I think you have to run it as root user, not sure...
3) I had to use chmod a=rwx filename on both so i could use them, i dont know why...
4) You now have a hopefully working Snes emulator now, but it can only be accessed from the terminal.
5) I moded the GUI from pyboy, the python frontend for gnuboy on the NITs, and made it run the snes emulator instead.
6) all you have to do now is unzip the attached file, move PySnes.desktop (I have no imagination) to /usr/share/applications/hildon/
and move pysnes to /usr/bin
7) I highly recomend installing PyBoy, because the menu shortcut uses a icon from it, and its a great GBC emu.

everything should work, but im no programer so dont ask me!
Attachment 1032
READ: This is the first time i have attached something to this form, and i didnt know it didnt accept tar files, so i renamed it pysnes.txt. I think u cant rename it to pysnes.tar using the built in file manager, so use emelfm2. im sorry, but i dont know how to zip files on my n810

ps: u need python to run the GUI, fyi

I followed your instructions, but it doesn't work: on launching the game from pysnes I get a "sh: sintax error "(" expected" (or something very similar, my n800 is charging right now and I cannot check it)

eliagp 2008-10-07 22:57

Re: Full Speed SNES Emulator
 
pity i have no keyboard....when i get mine fixed or get a new one i'll try. looks complicated though :D thanks anyway.

Thesandlord 2008-10-07 23:02

Re: Full Speed SNES Emulator
 
Umm, ok did you try using just snes9x and not PySnes. Try it using the command line.

Deko 2008-11-17 05:11

Re: Full Speed SNES Emulator
 
Btw, I believe some kind of semi-multitouch is possible.

You see, the touchscreen averages the touch pressure between all pressure points. For button combination, setting the combination in the average between the combined buttons would work.

For example, here's 2 buttons "O" and the average between the 2 buttons "x". Pressing the 2 buttons would output the coordinates of the "x".
Code:

O  x  O
Here's a 4 button setup.
Code:

      B
  x1    x2
A            D
  x3    x4
      C

A + B = x1
B + D = x2
A + C = x3
C + D = x4

Sure thing, no physical feedback is really bad about buttons, but some sound/visual feedback would be the least that could be done.

Can't any coder try out this idea? XD;

Thesandlord 2008-11-17 06:38

Re: Full Speed SNES Emulator
 
maybe, but lets get a better SNES emu out first no? It seems no work is being done. Liqbase does this "fake" multitouch, but this is even easier.

Problems, how do you press A+D or B+C ? They are the same! Its too difficult to predict how much force each finger is pressing, because each finger needs to press the exact same amount or there has to be approximation software. Its possible, but a keyboard or Wii Remote is a much more nicer solution.

qwerty12 2008-11-17 07:24

Re: Full Speed SNES Emulator
 
Hehe, I managed to compile snes9x-gtk but when I choose to load a rom, nothing displays on the screen...

eliagp 2008-11-29 14:35

Re: Full Speed SNES Emulator
 
thanks for trying, anyways. Its good to see its getting some attention.

cardyology 2009-02-19 12:07

Re: Full Speed SNES Emulator
 
I know this is an old thread but has any progress been made on this emulator? Are we now at a stage where we can get snes games working on N810 with hard-keyboard support? chrono trigger? :D

buhao 2009-02-19 13:47

Re: Full Speed SNES Emulator
 
I think the person to talk to would be Marat because of his other excellent emus. I don't know how available or interested he would be though, just a thought.

I would also be interested in a good snes emu. Someone said it wouldn't be possible, but I find that hard to believe as I was running a snes emu on a 75mhz box back in the day and it worked well.


All times are GMT. The time now is 22:27.

vBulletin® Version 3.8.8