| Prev |   1     2   3   4     5   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   HP48GX emulation (https://talk.maemo.org/showthread.php?t=27888)

st5150 2010-02-26 19:34

Re: HP48GX emulation
 
Amazing work guys. Thank you so much! This is going to be a killer app. It's very fast now. I can't wait for the side ways version to be released.

Have you guys found a fast way to load all your programs into x48? Command line via kermit is just too tedious for the amount of software I have.

lemmyslender 2010-02-26 20:16

Re: HP48GX emulation
 
2 Attachment(s)
Anunakin

Thanks for the deb. This was one of the things I was missing on my N900. I've only played with it a little bit, but it seems to work.

Horizontal is fine, Vertical doesn't work right, goes off the bottom of the screen.

jkq 2010-02-26 20:59

Re: HP48GX emulation
 
Quote:

Originally Posted by lemmyslender (Post 548145)
Thanks for the deb. This was one of the things I was missing on my N900. I've only played with it a little bit, but it seems to work.

Nice, I'm going to have to try this out.

-jkq

st5150 2010-02-26 22:13

Re: HP48GX emulation
 
Quote:

Originally Posted by lemmyslender (Post 548145)
Anunakin

Thanks for the deb. This was one of the things I was missing on my N900. I've only played with it a little bit, but it seems to work.

Horizontal is fine, Vertical doesn't work right, goes off the bottom of the screen.

You probably want to wait for the deb from ElectricLungfish who has spent a lot of time turning the app on its side http://talk.maemo.org/showpost.php?p...5&postcount=20 Can't wait!

lemmyslender 2010-02-27 02:14

Re: HP48GX emulation
 
I had 6.1 running on my N800, but it wouldn't work on the N900. I'm just happy this one does. But waiting to see it on its' side.

Electric Lungfish 2010-02-28 04:38

Re: HP48GX emulation
 
2 Attachment(s)
OK, here it is: x48 on its side. It now runs in fullscreen mode, and I have rotated the SX display as well. I've merged in anunakin's changes and have tried to improve the Maemo integration by adding desktop and Application Manager icons and by adding an informational window that lets the user know that a ROM dump is required.

Note that I did not retain the capability to run using the normal orientation or the netbook mode. For this reason I've named the package x48-sideways to avoid confusion (though the executable is still named x48). If somebody wants to merge these versions of x48_x11.c and lcd.c with the normal ones and add a command-line option to switch between orientations -- be my guest.

Remaining issues: getting the calculator to be centered on the screen; modifying the XShm code (anybody who knows how to do this is welcome to take a crack at it); and testing I/O and memory card features (which I have not done). Also, the HP48 display occasionally blanks on me for no apparent reason. Pressing CANCEL brings it back, but it's annoying. I'd be interested in hearing whether others experience the same behavior.

Anyway, enjoy, and do let me know if I broke anything I haven't mentioned.

jkq 2010-02-28 05:37

Re: HP48GX emulation
 
Quote:

Originally Posted by Electric Lungfish (Post 549573)
OK, here it is: x48 on its side. It now runs in fullscreen mode, and I have rotated the SX display as well. I've merged in anunakin's changes and have tried to improve the Maemo integration by adding desktop and Application Manager icons and by adding an informational window that lets the user know that a ROM dump is required.

I didn't see an obvious way to quit, now that it is fullscreen.

Quote:

Originally Posted by Electric Lungfish (Post 549573)
Note that I did not retain the capability to run using the normal orientation or the netbook mode.

Bummer. I was hoping to have both modes. :(

Quote:

Originally Posted by Electric Lungfish (Post 549573)
For this reason I've named the package x48-sideways to avoid confusion (though the executable is still named x48).

Note that it'll fail to install if you already have the x48 package installed (at least it did for me).

Quote:

Originally Posted by Electric Lungfish (Post 549573)
Pressing CANCEL brings it back, but it's annoying.

I vaguely remember that the HP48G (and I'd bet the other models too) had an option to turn itself off after a while to save battery. That's probably what you're experiencing.

-jkq

Electric Lungfish 2010-02-28 05:48

Re: HP48GX emulation
 
Quote:

Originally Posted by jkq (Post 549594)
I didn't see an obvious way to quit, now that it is fullscreen.

On the N800/N810 there is a "home" button to the left of the display; if you press that you'll get the window list, and you can easily switch back to the desktop or kill the application. I don't have an N900; does it have a similar hardware-based way to switch back to the desktop?

I'll look into making the off button close the window. It does when I run x48 on a "normal" computer; I'm not sure why it doesn't here.

Quote:

Originally Posted by jkq (Post 549594)
Bummer. I was hoping to have both modes. :(

Note that it'll fail to install if you already have the x48 package installed (at least it did for me).

I wasn't completely sure at the outset what I would need to do, so I didn't try to retain the normal mode. However, it's a straightforward matter to merge the normal draw instructions and bitmaps back into the code and add a command-line argument... just tedious. :) A simpler alternative might be to rename the executable so that there's no conflict with the normal package.

Quote:

Originally Posted by jkq (Post 549594)
I vaguely remember that the HP48G (and I'd bet the other models too) had an option to turn itself off after a while to save battery. That's probably what you're experiencing.

-jkq

I thought about that possibility, but it happens when I'm in the middle of pressing buttons. Possibly the battery-save feature is being triggered accidentally. Let me know if you encounter it too.

st5150 2010-02-28 06:09

Re: HP48GX emulation
 
Amazing work ElectricLungfish! This has been on my wishlist since day one. I had to uninstall x48 before x48-sideways installed. If I remember right, the screen blanking is due to the automatic turn off timer of the calculator triggering faster because the emulator running faster than a real HP48. I've noticed fsimp hangs when turning off the LCD to run ~10% faster. Haven't tested this with other programs that disabled the LCD while calculating to improve performance.

Centering would be nice, but maybe bigger Emu48 like buttons would be better:

http://i46.tinypic.com/v3362o.png



http://e.vampirefreaks.com/emotes/worship.gifThank you to everyone who chipped in on this project. http://e.vampirefreaks.com/emotes/worship.gif

jkq 2010-02-28 17:24

Re: HP48GX emulation
 
Quote:

Originally Posted by Electric Lungfish (Post 549596)
On the N800/N810 there is a "home" button to the left of the display; if you press that you'll get the window list, and you can easily switch back to the desktop or kill the application. I don't have an N900; does it have a similar hardware-based way to switch back to the desktop?

Yes. Ctrl-Backspace does the equivalent of the "home" button on the N8x0.

Quote:

Originally Posted by Electric Lungfish (Post 549596)
I'll look into making the off button close the window.

Personally, I'd prefer a close 'button' in one of the corners. I don't mind the close on off, though.

Quote:

Originally Posted by Electric Lungfish (Post 549596)
I wasn't completely sure at the outset what I would need to do, so I didn't try to retain the normal mode. However, it's a straightforward matter to merge the normal draw instructions and bitmaps back into the code and add a command-line argument... just tedious. :)

That's good, I suppose. For me, having the non-vertical mode is important so I reinstalled the original 0.6.3 from earlier.

Quote:

Originally Posted by Electric Lungfish (Post 549596)
A simpler alternative might be to rename the executable so that there's no conflict with the normal package.

I suspect you'll have to rename everything that is installed to prevent conflicts.

Quote:

Originally Posted by Electric Lungfish (Post 549596)
I thought about that possibility, but it happens when I'm in the middle of pressing buttons. Possibly the battery-save feature is being triggered accidentally. Let me know if you encounter it too.

st5150 also thinks you might be seeing the auto-off, so the close button might be safer. :)

-jkq


| Prev |   1     2   3   4     5   | Next | Last
All times are GMT. The time now is 19:23.

vBulletin® Version 3.8.8