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?
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.
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...
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/).
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.