maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   UAE4All Maemo Edition (https://talk.maemo.org/showthread.php?t=50040)

smoku 2010-05-17 12:14

Re: UAE4All Maemo Edition
 
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).

Bazza 2010-05-17 13:26

Re: UAE4All Maemo Edition
 
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. :D:D

smoku 2010-05-17 14:15

Re: UAE4All Maemo Edition
 
Quote:

Originally Posted by Bazza (Post 662366)
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.

Bazza 2010-05-17 14:26

Re: UAE4All Maemo Edition
 
Will do.:)

Alex Atkin UK 2010-05-18 07:37

Re: UAE4All Maemo Edition
 
Quote:

Originally Posted by Bazza (Post 662499)
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.

smoku 2010-05-18 08:09

Re: UAE4All Maemo Edition
 
Quote:

Originally Posted by Alex Atkin UK (Post 663604)
And of course I would prefer you filled in the Compatibility List

Oh yes. This is what I meant.

Quote:

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

Bazza 2010-05-18 08:52

Re: UAE4All Maemo Edition
 
Quote:

Originally Posted by Alex Atkin UK (Post 663604)
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. :D:D:D

Alex Atkin UK 2010-05-18 17:41

Re: UAE4All Maemo Edition
 
Quote:

Originally Posted by smoku (Post 663642)
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.

smoku 2010-05-18 20:28

Re: UAE4All Maemo Edition
 
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?

Alex Atkin UK 2010-05-20 20:00

Re: UAE4All Maemo Edition
 
Quote:

Originally Posted by smoku (Post 662249)
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?

Quote:

Originally Posted by smoku (Post 664790)
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. ;)


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

vBulletin® Version 3.8.8