maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   iNES-Maemo 3.6 Now Officially Released (https://talk.maemo.org/showthread.php?t=20099)

fms 2008-05-16 06:27

iNES-Maemo 3.6 Now Officially Released
 
Hello All!

I have just released iNES-Maemo 3.6, a Maemo port of my NES/Famicom emulator. This version has been specifically optimized for internet tablets using ARM assembler modules from iNES-Symbian. It supports joypad and zapper simulation with touch screen, automatic opening of *.nes and *.fds files, scanline simulation, and more.

You can download iNES-Maemo for free from

http://fms.komkon.org/iNES/

The package should also appear in the Extras repository shortly.

zeez 2008-05-16 07:40

Re: iNES-Maemo 3.6 Now Officially Released
 
Thanks! Is there a way to turn off the sound (no setting volume to 0, but stop the emulator from rendering it) ? Because i tried Super Mario and it's a little bit to slow so i think without sound it might run fine...

fms 2008-05-16 09:14

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by zeez (Post 182289)
Thanks! Is there a way to turn off the sound (no setting volume to 0, but stop the emulator from rendering it) ? Because i tried Super Mario and it's a little bit to slow so i think without sound it might run fine...

At the moment, there is no way to stop sound from rendering. I do not think turning it off will affect the gameplay though: sound rendering consumes much less time than the rest of the code. I suggest you look at what else you are running on your tablet or maybe for something throttling CPU speed down.

zeez 2008-05-16 09:48

Re: iNES-Maemo 3.6 Now Officially Released
 
Hmm I don't think i'm running anything else. But fceu (with sound off) is definitely faster on my tablet..

fms 2008-05-16 09:53

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by zeez (Post 182306)
Hmm I don't think i'm running anything else. But fceu (with sound off) is definitely faster on my tablet..

I just checked and found that Super Mario Brothers runs at exactly the correct speed in iNES. You can check it too by measuring time it takes SMB to count 20-40 time units: it should take exactly twice as few seconds (i.e. 20 SMB time ticks should take 10 seconds).

zeez 2008-05-16 10:13

Re: iNES-Maemo 3.6 Now Officially Released
 
Ok so there is definetly something wrong: 20 SMB timeticks take 17 seconds here.. I did run ps & top but couldn't find anything unusual (and i have no other apps running at the same time..)

fms 2008-05-16 11:48

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by zeez (Post 182310)
Ok so there is definetly something wrong: 20 SMB timeticks take 17 seconds here.. I did run ps & top but couldn't find anything unusual (and i have no other apps running at the same time..)

Weird. The system may be lowering your CPU clock for some reason. Well, reboot and see if it changes :)

chunkotron 2008-05-17 04:54

Re: iNES-Maemo 3.6 Now Officially Released
 
Thanks for the port! What are the buttons for the n800? I don't get how the tablet knows I'm pressing press A or B.

fms 2008-05-17 06:52

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by chunkotron (Post 182593)
Thanks for the port! What are the buttons for the n800? I don't get how the tablet knows I'm pressing press A or B.

Enable visual cues from the system menu (the one that shows up when you touch the left upper window corner).

zeez 2008-05-17 07:08

Re: iNES-Maemo 3.6 Now Officially Released
 
Hmm reboot doesn't change anything. Is there a way to check the cpu's current clock rate ?

BatPenguin 2008-05-17 10:56

Re: iNES-Maemo 3.6 Now Officially Released
 
I'm having the same problem: everything runs very slow, music sounds much too slow and the game in general is slow. Any ideas? N810 here, OS2008 (from around Christmas), this is after a reboot with nothing running as far as I know. Top doesn't show much activity at all.

fms 2008-05-17 11:46

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by BatPenguin (Post 182622)
I'm having the same problem: everything runs very slow, music sounds much too slow and the game in general is slow. Any ideas? N810 here, OS2008 (from around Christmas), this is after a reboot with nothing running as far as I know. Top doesn't show much activity at all.

1. Try running it full-screen.
2. Tell me what applets (status bar, navigation bar, or desktop) you are using.

zeez 2008-05-17 11:51

Re: iNES-Maemo 3.6 Now Officially Released
 
Fullscreen makes no difference. Statusbar icons: The combined volume/brighness thingy, battery, bluetooth,wlan, the big clock Applets: OMweather

fms 2008-05-17 11:59

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by zeez (Post 182628)
Fullscreen makes no difference. Statusbar icons: The combined volume/brighness thingy, battery, bluetooth,wlan, the big clock Applets: OMweather

No other applets like RSS Reader?

zeez 2008-05-17 12:18

Re: iNES-Maemo 3.6 Now Officially Released
 
Nope. Only OMWeather on the desktop

fms 2008-05-17 12:25

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by zeez (Post 182633)
Nope. Only OMWeather on the desktop

Allrighty. Go to desktop settings and disable:

1. Volume/Brightness applet
2. Large status bar clock applet(s)

See if this makes any difference for iNES speed.

qwerty12 2008-05-17 12:30

Re: iNES-Maemo 3.6 Now Officially Released
 
This one is a little drastic but how about changing cpufreq?

fms 2008-05-17 12:33

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by qwerty12 (Post 182636)
This one is a little drastic but how about changing cpufreq?

I would rather find out why it behaves this way for that particular guy: my N810 does not require changing cpufreq in order to run iNES at full speed =)

zeez 2008-05-17 12:37

Re: iNES-Maemo 3.6 Now Officially Released
 
I really think it has something to do with the cpu frequency. After disabling pretty much all applets/statusbar icons it is a lot faster but only for like 10 seconds then it gets real slow again. So i'm guessing for some reason the cpu is scaling down then...

Bundyo 2008-05-17 12:56

Re: iNES-Maemo 3.6 Now Officially Released
 
Do you have powerlaunch installed?

zeez 2008-05-17 13:13

Re: iNES-Maemo 3.6 Now Officially Released
 
@Bundyo: No

overfloat 2008-05-17 13:16

Re: iNES-Maemo 3.6 Now Officially Released
 
mine is also slow on the n800 - Mario 3 is basically unplayable and the sound lag makes my ears bleed

Navi 2008-05-17 21:28

Re: iNES-Maemo 3.6 Now Officially Released
 
Mine's insanely slow too.

overfloat 2008-05-17 22:04

Re: iNES-Maemo 3.6 Now Officially Released
 
mario 3 for GBA on your gba emulator is considerably faster than the NES version, but still a little too slow for effective control (the biggest problem isnt that it's slow - it's that the speed varies - so effective control is very hard)

fms 2008-05-17 22:09

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by overfloat (Post 182759)
mario 3 for GBA on your gba emulator is considerably faster than the NES version, but still a little too slow for effective control (the biggest problem isnt that it's slow - it's that the speed varies - so effective control is very hard)

Well, GBA sluggishness I can understand. But why the hell would iNES be slow? It is certainly not exceeding tablet's capabilities. Will investigate.

BatPenguin 2008-05-18 07:13

Re: iNES-Maemo 3.6 Now Officially Released
 
I can confirm that disabling all statusbar/desktop applets makes a tiny difference, but it's still not playable. I've tried all 3 super mario brothers games, all of them are unplayable. I do have a whole bunch of applications installed, but nothing running.

Is there a way to see what frequency the cpu is running at?

fms 2008-05-18 08:35

Re: iNES-Maemo 3.6 Now Officially Released
 
All right, everybody who is having speed problem. Here is something I would like you to try:

Instead of disabling applets, install and enable a new applet:

http://maemo.org/downloads/product/OS2008/load-applet/

See if running iNES with this applet enabled makes any difference ;)

zeez 2008-05-18 09:09

Re: iNES-Maemo 3.6 Now Officially Released
 
Not really, except i see from the cpu meter that the cpu is 100% busy ;)

st5150 2008-05-18 23:53

Re: iNES-Maemo 3.6 Now Officially Released
 
I have the same speed problem as zeez and others.
I'd also like to make it so the center button the dpad does nothing instead of pause.

Great port through. Thanks.

fms 2008-05-19 05:30

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by st5150 (Post 183123)
I have the same speed problem as zeez and others.

I still cannot repeat it here. Not sure what causes it for you.

Quote:

I'd also like to make it so the center button the dpad does nothing instead of pause.
Well, just a little while ago somebody asked for the dpad center to act as START button in VGBA. I did not like the idea but enabled it just to see what happens. Now I know what happens :)

st5150 2008-05-19 08:12

Re: iNES-Maemo 3.6 Now Officially Released
 
Maybe my top output will help you:

Code:

Mem: 108476K used, 18352K free, 0K shrd, 1160K buff, 50196K cached
Load average: 3.19 1.68 0.67
  PID USER    STATUS  VSZ  PPID %CPU %MEM COMMAND
 1368 user    RW      107M    1 46.1 86.6 ines
  762 root    SW<    11524  342 46.1  9.0 Xomap
 1495 root    RW      1884  1280  2.8  1.4 top
 1256 user    RWN    16684  342  1.9 13.1 metalayer-crawl
  884 root    SW<    2176  342  1.9  1.7 esd
 1042 user    SW<    40528  963  0.0 31.9 maemo-launcher
 1273 user    SW    34860    1  0.0 27.4 gnome-vfs-daemo
  993 user    SW<    28912  963  0.0 22.7 maemo-launcher
 1108 user    SW<    20816  963  0.0 16.3 maemo-launcher
  963 user    SW<    18960    1  0.0 14.9 maemo-launcher
 1165 systemui SW<    16936  342  0.0 13.3 systemui
 1248 user    SW    16100  342  0.0 12.6 mediaplayer-eng
 1131 user    SW    15992    1  0.0 12.5 mnotify_update
  945 root    SW<    7852  342  0.0  6.1 ke-recv
 1124 user    SW<    7416  342  0.0  5.8 osso-media-serv
  796 user    SW<    7104  342  0.0  5.5 sapwood-server
  800 user    SW<    6520  342  0.0  5.1 matchbox-window
 1278 root    SW      5784  749  0.0  4.5 sshd
 1193 user    SW      5228  342  0.0  4.1 alarmd
 1227 root    SW<    5084  342  0.0  4.0 hulda
--More--

Running the latest OS2008. Running pretty much just the the basics: mnotify, omweather, homeIP, sshd, etc.


Besides the speed and key mapping issues, it's really a great emulator. I really like how the last opened directory is remembered, saving a lot taps. More applications need to behave like this on tablets. Every tap counts.

fms 2008-05-19 08:59

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by st5150 (Post 183192)
Maybe my top output will help you:
Code:

Mem: 108476K used, 18352K free, 0K shrd, 1160K buff, 50196K cached
Load average: 3.19 1.68 0.67
  PID USER    STATUS  VSZ  PPID %CPU %MEM COMMAND
 1368 user    RW      107M    1 46.1 86.6 ines
  762 root    SW<    11524  342 46.1  9.0 Xomap

...

Well, two obviously wrong things here are iNES virtual memory size (107MB) and the large amount of time taken by Xomap X11 server.

On the other hand, I have checked "top" result on my N810 and got the same numbers, while Load applet shows iNES take 13MB only. So, the memory amount may be result of "top" showing things incorrectly, but the time amount has ot be checked.

qwerty12 2008-05-19 11:49

Re: iNES-Maemo 3.6 Now Officially Released
 
Busybox top sucks:
http://www.internettablettalk.com/fo...45&postcount=8

fms 2008-05-19 12:41

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by qwerty12 (Post 183215)

Still, 100+MB VSZ display is not normal. And I have just found that top shows this number for all my applications except for fMSX. So, something is definitely there!

anidel 2008-05-19 13:17

Re: iNES-Maemo 3.6 Now Officially Released
 
Mine too is running at around 105-107Mb VSZ.
When running iNES and Mario1 the Load average goes over 1.

Anyway I timed the time count and it made 20 SMB time units in 11 seconds (timed with the Stopwatch in my cellphone)

SMB3 played better (at least in my eyes :) ), and the load and memory usage were the same.

fms 2008-05-19 13:47

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by anidel (Post 183228)
Anyway I timed the time count and it made 20 SMB time units in 11 seconds (timed with the Stopwatch in my cellphone)

This is correct timing. The original SMB makes 2 ticks per second, so it is running just fine.

anidel 2008-05-19 14:22

Re: iNES-Maemo 3.6 Now Officially Released
 
Runs fine, but it looks slow.. maybe that's the problem ?

fms 2008-05-19 14:36

Re: iNES-Maemo 3.6 Now Officially Released
 
Quote:

Originally Posted by anidel (Post 183240)
Runs fine, but it looks slow.. maybe that's the problem ?

I do not know what you mean by "looks slow" - the timer indicates that it runs at the correct speed =)

anidel 2008-05-19 14:41

Re: iNES-Maemo 3.6 Now Officially Released
 
Sorry, what I meant was that it indeed ran at correct speed, but it looked slow to me.

But I re-read the thread again and noticed that for some people the timer is not running as fast as mine.

Forget what I've said :)

fms 2008-05-19 19:46

Re: iNES-Maemo 3.6 Now Officially Released
 
All right, I have found where 100+MB VSZ footprints come from:

It is Maemo File-Open dialog. You can run pretty much ANY program using it, run "top" in a separate ssh. Then invoke that dialog and see program's VSZ grow. You don't need to actually open a file, just click Cancel - the dialog will disappear but the VSZ will stay above 100MB

Whoever feels like filing a bug with Nokia, please do it. I am tired and generally can't bring myself to doing it.


All times are GMT. The time now is 21:16.

vBulletin® Version 3.8.8