Thread
:
HP48GX emulation
View Single Post
pinnchus
2009-11-04 , 02:58
Posts: 8 | Thanked: 12 times | Joined on Aug 2009
#
9
My be this thread is dead, but
I hate to see i48 on iphone and dont get something like that working on my N810 so here we go...
I made a very small modification to solve the x48 performance problem in the last available version 0.6.1 and its working ok. The performance is good and with out problem. (It need better beta testers)
If anybody want to test it, the change is basically this
2457c2457
< gettimeofday(&tv);
---
> // gettimeofday(&tv);
2459c2459
< gettimeofday(&tv, &tz);
---
> // gettimeofday(&tv, &tz);
2461,2463c2461,2464
< while ((tv.tv_sec == tv2.tv_sec) && ((tv.tv_usec - tv2.tv_usec) < 2)) {
< gettimeofday(&tv, &tz);
< }
---
> // while ((tv.tv_sec == tv2.tv_sec) && ((tv.tv_usec - tv2.tv_usec) < 2)) {
> nanosleep(2);
> // gettimeofday(&tv, &tz);
> // }
2465,2466c2466,2467
< tv2.tv_usec = tv.tv_usec;
< tv2.tv_sec = tv.tv_sec;
---
> // tv2.tv_usec = tv.tv_usec;
> // tv2.tv_sec = tv.tv_sec;
I dont know how to make a deb pkg and the forum not support ELF files so i uploaded the modified source code to be compiled here
http://talk.maemo.org/attachment.php...1&d=1257303161
as x48-0.6.1-maemo.tar.gz
Thanks
By the way, you need execute this in this way
./x48 -geometry +0+0 -xrm '*smallLabelFont: fixed' -xrm '*mediumLabelFont: fixed' -xrm '*largeLabelFont: fixed' -xrm '*connectionFont: fixed' -rom PLACE_OF_YOUR_ROM_DUMP
Attached Files
x48-0.6.1-maemo.tar.gz
(364.3 KB, 469 views)
Last edited by pinnchus; 2009-11-04 at
03:07
.
Quote & Reply
|
The Following 5 Users Say Thank You to pinnchus For This Useful Post:
Anunakin
,
jkq
,
lemmyslender
,
qwerty12
,
sjgadsby
pinnchus
View Public Profile
Send a private message to pinnchus
Find all posts by pinnchus