| Prev |   1   2   3     4   | 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)

jkq 2009-11-04 05:37

Re: HP48GX emulation
 
2 Attachment(s)
Quote:

Originally Posted by pinnchus (Post 365032)
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

Okay, after some hacking around (and the files from the 0.4.3 floating around on these forums :D), I've built a deb that works on my N800. Having a desktop file seems to make it create an entry in the taskbar too, so all is good. :)

I've attached a patch against pinnchus' tarball that adds the deb-making stuff. For some reason, I can't seem to duplicate the results of his configuration step -- every time I try, the output binary segfaults on my tablet. Sigh. :confused:

-jkq

lemmyslender 2009-11-04 13:34

Re: HP48GX emulation
 
jkq-

Just installed your deb over my old x48 install. Updated no problem. Significantly faster. Actually usable. Little to no lag using it.

Big thanks to pinnchus and you for updating this.

st5150 2009-11-17 01:13

Re: HP48GX emulation
 
Amazing news!!! Thanks for doing this pinnchus (and jkq)! I too installed your deb over my original x48_0.4.3_armel.deb install and it worked great. There is no kermit port for maemo so I compiled x48_0.6.1 on a linux box ( ./configure --disable-shm was a must for me), used C-kermit to load up some libs into x48 then copied ~/.hp48 from the linux box to the tablet.

In case others want to know how to use kermit to do this:

# cd directory for HP stuff
# kermit
C-Kermit>set line /dev/pts/1 (look at x48 wire: (under LCD) it may be different on your box)
C-Kermit>set speed 9600
C-Kermit>set carrier off
C-Kermit>set parity none
C-Kermit>robust
C-Kermit>server

Transfer files from the HP as normal (Green Right shift, I/O, Transfer,enter file name you want to pull into x48 (case sensitive!), kget).

If there is any interest, I'll upload a ram file with some software pre-loaded for those who don't want to hassle with kermit. Initially I thought compiling kermit on maemo would be nice, but quickly realized the steps above will be much more painful on a NIT.

So far fcalc.lib seems to hang when it disables the LCD, but I need to do more testing. I'm really digging into the mental archives here and remember there was a technique where the Saturn could run ~11% faster if it didn't talk to the LCD driver during intense calculators.



How difficult would it be to get x48 running in portrait mode on the NIT like i48?

http://www.fabriceroux.com/files/ext...hp48_froux.png


If that's too hard, what about having the keyboard on the left and display on the right in landscape mode?

st5150 2009-11-17 23:29

Re: HP48GX emulation
 
Some tools to make transferring your programs to x48 easier:

http://www.guengel.ch/myapps/hptalx/download.shtml

How do I map /dev/pts/2 to /dev/ttyS0 which is what hptalx uses?

http://www.hpcalc.org/details.php?id=2305

How do I put kermit in remote host mode?




v0.6.1 is suppose to have copy/paste support. Anyone gotten this to work?

Helmuth 2009-11-18 16:15

Re: HP48GX emulation
 
Ooookay, a little bit Offtopic... but I would love a CASIO fx-991MS Emulator. Is it possible?

http://upload.wikimedia.org/wikipedi...O_fx-991MS.jpg

I only know of Texas Instruments and HP Calculator Emulators. Why? Copyright?

ashes 2009-11-20 21:28

Re: HP48GX emulation
 
Wow thank you. It's wonderful to have an emulator of my treasured 48gx on my n810. I used my 48gx heavily for 8 years, even after having a 49g+/50g for a couple of years I have not managed to unlearn the 48gx keypad layout.

st5150 2009-11-21 11:53

Re: HP48GX emulation
 
Helmuth, it's probably due to the casio's just not having a big following. Just take a look at the massive use contributed software database for the HP48 ( http://www.hpcalc.org ) to get an idea of what kind of following HP has.


ashes, did you get hptalx talking to x48 or some other Kermit front end GUI? It is tedious to transfer everything via ckermit alone.

pinnchus 2009-11-24 11:59

Re: HP48GX emulation
 
What is the processor model used by this casio calculator? Do you have the firmware for it?
Regards,

Anunakin 2010-02-24 14:01

Re: HP48GX emulation
 
2 Attachment(s)
Quote:

Originally Posted by st5150 (Post 385113)
Helmuth, it's probably due to the casio's just not having a big following. Just take a look at the massive use contributed software database for the HP48 ( http://www.hpcalc.org ) to get an idea of what kind of following HP has.


ashes, did you get hptalx talking to x48 or some other Kermit front end GUI? It is tedious to transfer everything via ckermit alone.

Try do the hard work on a PC, then copy .hp48 folder for you nit. home

I made patchs on same way to 0.6.3 version, and compiled works very very fast.

I used old patchs from pdaXrom x48, for font fixed issue:
http://www.oesf.org/forum/index.php?showtopic=17031

I used a little program to test speed:
Code:

<< TICKS 1 5000
    FOR n 1 1 + DROP
    NEXT TICKS SWAP - B->R 8192 /
>>

Results on a N810:
Code:

Real Hardware HP50G    21.3553 secs
x48  0.6.1                        34.9902 secs
x48  0.6.3                    14.7964 secs

Now is faster then a real HP50g!

I tested on plotting graphics, it has about 100% speed of a real HP48G, and 1/2 of a HP50G!

I added two Menu items, x48 for horizontal skin and x48 for vertical ... because 0.6.3 has +netbook option...

Electric Lungfish 2010-02-26 06:33

Re: HP48GX emulation
 
1 Attachment(s)
I've managed to turn x48 on its side, though only without XShm, and not using all of the screen yet (see attached image).

I started on this a few days ago using x48-0.6.3 (independently of Anunakin) and merging in the emulate.c and GetEvent() code from the version of 0.6.1 posted earlier in this thread. I wrote a small Python script to rotate each of the bitmaps, including the nibble_maps used in lcd.c, and converted the text used on some of the buttons to rotated bitmaps. For the wire/IR status line I used xvertext 5.0. I also painstakingly went through and rotated all of the line draws, rectangles, etc. in x48_x11.c.

I'll post the code in a few days, once I've had the chance to clean up a few things. Right now none of the HP-48SX code is modified, and the two restrictions mentioned at the beginning of the post are there, but otherwise it appears to work.

Anunakin, did you make any other changes to 0.6.3? If so, I can merge them with these changes.


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

vBulletin® Version 3.8.8