Notices


Reply
Thread Tools
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#461
I dug through code to find out how Throttle setting works.
http://github.com/smokku/uae4all/blo...wcpu.cpp#L1323
and it's a... throttle.

It increases emulated CPU speed with the following rate: 1 1 4/3 4/3 3/2 3/2 4
(I don't know where did the menu numbers 0 10 20... came from, though.)

P.S. Changing it will not make any difference for VSync-based apps. (Like most games, demos etc.) It does not matter if the CPU finished a task earlier - VSync is still 50 times per second (or 60).
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N

Last edited by smoku; 2010-05-17 at 14:58.
 

The Following User Says Thank You to smoku For This Useful Post:
Bazza's Avatar
Posts: 733 | Thanked: 249 times | Joined on Jan 2010 @ UK
#462
Is there anything we can be doing or testing for you to help out?

Feel a little helpless at the moment, i keep reading your posts about you spending time digging through code looking at ways to tweak the emulator. i wish i had more technical knowledge so i could lighten the load.

My 20 month old son probably has more knowledge regarding code than i do.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#463
Originally Posted by Bazza View Post
Is there anything we can be doing or testing for you to help out?
Just keep on. Report problems, report successes. Fill the compatibility page, share ideas, etc.

You may also vote issues.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N

Last edited by smoku; 2010-05-18 at 08:10.
 

The Following User Says Thank You to smoku For This Useful Post:
Bazza's Avatar
Posts: 733 | Thanked: 249 times | Joined on Jan 2010 @ UK
#464
Will do.
 
Posts: 716 | Thanked: 303 times | Joined on Sep 2009 @ Sheffield, UK
#465
Originally Posted by Bazza View Post
Will do.
And of course I would prefer you filled in the Compatibility List rather than the Wiki directly, as I can re-generate the Wiki automatically then and you get full credit for submitting compatibility reports.

You can quick signup using your Maemo.org login details (the main site ones, not the forum ones) by visiting http://maemo.org/openid/ and logging in. Then copy your OpenID URL into the relevant form on my login page.

Smoku, may I ask what you did to setup the SDK for development? What are you using, Ubuntu? What needed installing?
I tried to compile UAE4All via one of the virtual images but there seemed to be a lot of dependencies not met. I was wanting to look at the keyboard mapping and tweak it a little for my own use, although I never found the correct file I could only find the toggles.

Mind you, I think the SDK repos were down as usual, or have changed since the version I was on. I didn't want to try the very latest one as I was under the impression that compiles for PR1.2 only, or something like that.
__________________
http://www.speedtest.net/result/877713446.png

My Websites
CSD Projects - Flickr - UAE4Maemo (UAE4All Compatibility List)

Favourite N900 Applications
Picodrive - UAE4All

Please post your UAE4All compatibility reports. Even better, post them to my UAE4Maemo site!
Not sure how UAE4All works such as mouse emulation? Read the FAQ.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#466
Originally Posted by Alex Atkin UK View Post
And of course I would prefer you filled in the Compatibility List
Oh yes. This is what I meant.

Smoku, may I ask what you did to setup the SDK for development? What are you using, Ubuntu? What needed installing?
I use Ubuntu Linux desktop and Arch Linux laptop.
http://www.forum.nokia.com/Tools_Doc...atforms/Maemo/ installed fine on both. You don't need anything else - this installer installs the full scratchbox setup.
I would advise going with Debian/Ubuntu though. Arch has an unusual startup script and installer couldn't update these, so it required manual tweaking.

Yes, the current SDK is for PR1.2, but UAE4All does not use any of the updated components, so self built binary works fine on PR1.1.1
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N

Last edited by smoku; 2010-05-18 at 08:12.
 
Bazza's Avatar
Posts: 733 | Thanked: 249 times | Joined on Jan 2010 @ UK
#467
Originally Posted by Alex Atkin UK View Post
And of course I would prefer you filled in the Compatibility List rather than the Wiki directly, as I can re-generate the Wiki automatically then and you get full credit for submitting compatibility reports.
Not forgot, will update soon.
 
Posts: 716 | Thanked: 303 times | Joined on Sep 2009 @ Sheffield, UK
#468
Originally Posted by smoku View Post
Oh yes. This is what I meant.



I use Ubuntu Linux desktop and Arch Linux laptop.
http://www.forum.nokia.com/Tools_Doc...atforms/Maemo/ installed fine on both. You don't need anything else - this installer installs the full scratchbox setup.
I would advise going with Debian/Ubuntu though. Arch has an unusual startup script and installer couldn't update these, so it required manual tweaking.

Yes, the current SDK is for PR1.2, but UAE4All does not use any of the updated components, so self built binary works fine on PR1.1.1
Yeah unfortunately my main machine is Mandriva 64bit and when I tried to install the SDK (granted, it was the first version of the Maemo 5 SDK) on there I got totally stuck. As I said I also tried the pre-installed VMware images too but ran into problems.

I did previously have it on my laptop using Ubuntu but reinstalled Windows 7 on it and not gotten around to reinstalling GRUB. I just wish it came close to Visual Studio for ease of development, I just got totally stuck trying to learn OOP with Python. My mind works very procedural and there isn't enough hand-holding for a real beginner compared to Microsoft, sadly.

What file is the keyboard mapping contained in btw? I found the names assigned to certain keys (I need to map AK_RSHIFT I think it was). Unless you want to do it of course, but I was just thinking of mapping left/right shift on the amiga keyboard to the N900 keyboard, when in joystick mode. So it becomes game mode rather than just joystick emulation and doesn't break anything when in keyboard mode.
__________________
http://www.speedtest.net/result/877713446.png

My Websites
CSD Projects - Flickr - UAE4Maemo (UAE4All Compatibility List)

Favourite N900 Applications
Picodrive - UAE4All

Please post your UAE4All compatibility reports. Even better, post them to my UAE4Maemo site!
Not sure how UAE4All works such as mouse emulation? Read the FAQ.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#469
Well... We're thinking along the same lines.
I already implemented what you called "game mode" with a bit different keyboard mapping.

What exact mapping you suggest? Which keys I should map where for these Pinballs?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 716 | Thanked: 303 times | Joined on Sep 2009 @ Sheffield, UK
#470
Originally Posted by smoku View Post
I dug through code to find out how Throttle setting works.
http://github.com/smokku/uae4all/blo...wcpu.cpp#L1323
and it's a... throttle.

It increases emulated CPU speed with the following rate: 1 1 4/3 4/3 3/2 3/2 4
(I don't know where did the menu numbers 0 10 20... came from, though.)

P.S. Changing it will not make any difference for VSync-based apps. (Like most games, demos etc.) It does not matter if the CPU finished a task earlier - VSync is still 50 times per second (or 60).
So is it that it alters the CPU/Chipset ratio like in normal UAE? Surely its not JUST the CPU speed?

Originally Posted by smoku View Post
Well... We're thinking along the same lines.
I already implemented what you called "game mode" with a bit different keyboard mapping.

What exact mapping you suggest? Which keys I should map where for these Pinballs?
I was going to put right shift onto right arrow and switch joystick back to WASD.
__________________
http://www.speedtest.net/result/877713446.png

My Websites
CSD Projects - Flickr - UAE4Maemo (UAE4All Compatibility List)

Favourite N900 Applications
Picodrive - UAE4All

Please post your UAE4All compatibility reports. Even better, post them to my UAE4Maemo site!
Not sure how UAE4All works such as mouse emulation? Read the FAQ.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:52.