Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    HP48GX emulation

    Reply
    Page 5 of 8 | Prev |   3     4   5   6     7   | Next | Last
    Electric Lungfish | # 41 | 2010-03-07, 22:56 | Report

    Thanks, anunakin; it looks as though I did manage to get all of your changes merged.

    I assume you used XRandR for the rotation? That is probably the right way to go. How did you do it?

    EDIT: Hang on, I found instructions on patching the kernel for screen rotation here: http://wiki.maemo.org/Rotation. I'm not sure I want to patch my kernel just yet, but it's good to know the N900 is supposed to have screen rotation. Could somebody with an N900 try out the "portrait" mode x48 and see if they can rotate it using the OS?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Electric Lungfish; 2010-03-07 at 23:01. Reason: Found rotation instructions.

     
    jkq | # 42 | 2010-03-08, 06:45 | Report

    Originally Posted by Electric Lungfish View Post
    Could somebody with an N900 try out the "portrait" mode x48 and see if they can rotate it using the OS?
    In order for the N900 to rotate the app, you have to make some X11 calls as described here.

    -jkq

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Anunakin | # 43 | 2010-09-20, 12:28 | Report

    I compiled a version for N900, I need do some work on vertical mode...
    http://maemo.vivaphp.net/fremantle/x...3_cortexA8.deb

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to Anunakin For This Useful Post:
    Helmuth, jkq, kureyon, sjgadsby

     
    jkq | # 44 | 2010-09-20, 16:55 | Report

    Originally Posted by Anunakin View Post
    I compiled a version for N900, I need do some work on vertical mode...
    http://maemo.vivaphp.net/fremantle/x...3_cortexA8.deb
    So what makes it "for N900"?

    -jkq

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Anunakin | # 45 | 2010-09-20, 19:54 | Report

    Originally Posted by jkq View Post
    So what makes it "for N900"?

    -jkq
    Horizontal mode (default on N900 for all applications) is OK!

    Some patchs on emulate.c for best usage under N900.
    Trying rotate it using code from Electric Lungfish, but not working for lcd.c

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Anunakin; 2010-09-20 at 19:58.

     
    jkq | # 46 | 2010-09-20, 21:42 | Report

    Originally Posted by Anunakin View Post
    Horizontal mode (default on N900 for all applications) is OK!

    Some patchs on emulate.c for best usage under N900.
    I was playing with it briefly, and I noticed that the input cursor blinks strangely. Push a number button (3 for example) and the little left-arrow cursor appears. If you push another number, the cursor starts blinking fast about 4 times, then goes back to a slower speed. Sometimes it does this without touching the buttons.

    Do you see that too?

    Originally Posted by Anunakin View Post
    Trying rotate it using code from Electric Lungfish, but not working for lcd.c
    Have you looked at the N900 docs for rotation at http://wiki.maemo.org/Qt4_Hildon#Por...tation_changes?

    -jkq

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Anunakin | # 47 | 2010-09-21, 00:55 | Report

    I tring solve that strange blinks and unresponsive/hyper responsive keys...

    I got portrait mode working... but not at automatic mode, now I need remove full screen mode...where we can do it?

    Ok removed full screen, and build a new .deb, now with portrait mode full working, and using original throttle, at emulate.c, that give us a emulator with about same speed as a real HP48GX, and less flickers...

    x48_0.6.3_armel.deb

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
      

    Last edited by Anunakin; 2010-09-21 at 14:22.
    The Following 3 Users Say Thank You to Anunakin For This Useful Post:
    Helmuth, jkq, rfa

     
    jkq | # 48 | 2010-09-21, 16:59 | Report

    Originally Posted by Anunakin View Post
    I tring solve that strange blinks and unresponsive/hyper responsive keys...

    I got portrait mode working... but not at automatic mode, now I need remove full screen mode...where we can do it?

    Ok removed full screen, and build a new .deb, now with portrait mode full working, and using original throttle, at emulate.c, that give us a emulator with about same speed as a real HP48GX, and less flickers...
    Cool, it looks like the blinking is more uniform now.

    Thanks for providing both shortcuts. I think I prefer portrait mode, it feels more like the actual calculator.

    A few suggestions:

    1. Don't include /home/user/.hp48/ram, you're overwriting user config on install.
    2. What is /home/user/.hp48/hp48 used for? If it is some sort of user preferences, you probably should not include it in the deb.
    3. It would probably be good to check the terms for distribution on the ROM. If it is okay to distribute it in the deb, remove the line in the control file that says "You will need a ROM dump to use it." since you're providing the ROM already. Maybe replace it with a line with the URL where the ROM was downloaded from (I know it is available legally at http://www.hpcalc.org/hp48/pc/emulators/).

    Any chance of pushing this to extras-devel?

    -jkq

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Anunakin | # 49 | 2010-09-23, 16:56 | Report

    Originally Posted by jkq View Post
    Cool, it looks like the blinking is more uniform now.

    Thanks for providing both shortcuts. I think I prefer portrait mode, it feels more like the actual calculator.

    A few suggestions:

    1. Don't include /home/user/.hp48/ram, you're overwriting user config on install.
    2. What is /home/user/.hp48/hp48 used for? If it is some sort of user preferences, you probably should not include it in the deb.
    3. It would probably be good to check the terms for distribution on the ROM. If it is okay to distribute it in the deb, remove the line in the control file that says "You will need a ROM dump to use it." since you're providing the ROM already. Maybe replace it with a line with the URL where the ROM was downloaded from (I know it is available legally at http://www.hpcalc.org/hp48/pc/emulators/).

    Any chance of pushing this to extras-devel?

    -jkq
    Thanks I going remove ROM from .deb and provide a link where get it...
    I just made this .deb "optify" compliant...
    I going put it to extras-devel ...

    ########### EDIT #############
    Jkq, Electric Lungfish, all

    I created two packages and sended to extras-devel
    Putz! I spent more time in debian/rules that to make changes to the emulator

    x48 package installs landscape mode
    x48-portrait package installs portrait mode, which depends of x48 package.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Anunakin; 2010-09-24 at 12:57. Reason: more info!
    The Following 4 Users Say Thank You to Anunakin For This Useful Post:
    Electric Lungfish, Helmuth, jkq, rfa

     
    kureyon | # 50 | 2010-09-26, 15:45 | Report

    Originally Posted by Anunakin View Post
    Thanks I going remove ROM from .deb and provide a link where get it...
    Where should the rom file be placed so that x48 can find it?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 5 of 8 | Prev |   3     4   5   6     7   | Next | Last
vBulletin® Version 3.8.8
Normal Logout