x48 for Zaurus X/Qt and Nokia 770 (v0.4.3) 05/06/2006

This is a Zaurus port of the x48 HP48GX/HP48SX emulator for Unix/Linux + X11.

The HP-48SX/GX is arguably the best RPL calculator ever made.  If you are interested RPN then checkout http://sense.net/zc/free42 and http://sense.net/zc/nonpareil.

This port has only been tested with Cacko (1.21 and 1.23) on my c860 with X/Qt (.8 and 1.9) for X11, more information about Cacko and X/Qt can be found at http://www.zaurususergroup.com.

The x48 has been patched to provide the following features/fixes:

Zaurus Z/Qt Installation Notes:

  1. Obtain x48-gxrom-r.tar.gz or x48-sxrom-e.tar.gz and extract into your home directory (usually /home/zaurus).  E.g.:

    cd ~
    tar zxvf x48-gxrom-r.tar.gz
     
  2. Download the x48 binary and save in /usr/local/bin (or any other directory in your PATH).
  3. Fix permissions:  chmod 755 x48
  4. To run type:  x48 -geometry +0+0

Nokia 770 (very slow) Installation Notes:

  1. Obtain x48-gxrom-r.tar.gz or x48-sxrom-e.tar.gz and extract into your home directory.  E.g.:

    cd ~
    tar zxvf x48-gxrom-r.tar.gz
     
  2. Download the x48 binary and save in /var/lib/install (or any other directory in your PATH).
  3. Fix permissions:  chmod 755 x48
  4. To run type:  x48 -geometry +0+0 -xrm '*smallLabelFont: fixed' -xrm '*mediumLabelFont: fixed'
    -xrm '*largeLabelFont: fixed' -xrm '*connectionFont: fixed'

Known Bugs:

  1. Power off/Suspend flaky.  To wake up, hit ON a few times or quit and launch again.  Will fix later.
  2. Slow on Nokia 770.

GX Screen Shots

HP48GX and c860 (notebook style with QWERTY keyboard):

HP48GX, HP15c, and c860 (tablet style, screen rotates to cover keyboard.  The power of the GX in a 15c form factor):

SX Screen Shot

 

Downloads:

Description Date File
NEW: x48 0.4.3 binary compiled for Clamshell Zaurus w/ Cacko 1.21/1.23 and X/Qt .8/1.9 (v0.3) GX/SX (Tested with Nokia 770, slow, but works) 03/27/2006 x48
Same as above, but as gzip tar archive. 03/27/2006 x48.tgz
OLD: x48 0.4.3 binary compiled for Clamshell Zaurus w/ Cacko 1.21/1.23 and X/Qt .8/1.9 (v0.2) GX 12/02/2005 x48-0.4.3-2
OLD: x48 0.4.2 binary compiled for Clamshell Zaurus w/ Cacko 1.21/1.23 and X/Qt .8/1.9 (v0.2) GX

Old binary with improved colors.
12/02/2005 x48-0.4.2-2
OLD: x48 0.4.2 binary compiled for Clamshell Zaurus w/ Cacko 1.21/1.23 and X/Qt .8/1.9 (v0.1) GX

Old binary without improved colors.
05/03/2005 x48-0.4.2-1
NEW: v0.3 patch to x48 (very ugly, was a rush job)

Tested with 0.4.3 only, has improved colors.  GX and SX support.
03/24/2006 x48_x11.c.patch
OLD: v0.2 patch to x48 (very ugly, was a rush job)

Works with 0.4.2 and 0.4.3, has improved colors.
12/02/2005 x48_x11.c.patch-2
OLD: My original patch to x48 (very ugly, was a rush job)

Works with 0.4.2 and 0.4.3, has original colors.
05/03/2005 x48_x11.c.patch-1
DST patch (0.4.3 only) 12/02/2005 timer.c.patch
Performance hack (0.4.3 only) 12/02/2005 actions.c.patch
Makefile (no need to run xmkmf) 03/27/2006 Makefile
x48-0.4.3 source (x48-0.4.3.tar.gz)   http://developer.berlios.de/projects/x48/
x48-0.4.2 source (x48-0.4.2.tar.gz)   http://developer.berlios.de/projects/x48/
GX ROM (x48-gxrom-r.tar.gz)   http://developer.berlios.de/projects/x48/
SX ROM (x48-sxrom-e.tar.gz)   http://developer.berlios.de/projects/x48/
HP 48G Series Quick Start Guide   http://www.hpcalc.org/hp48/docs/misc/hp48gqsg.zip
HP 48G Series User's Guide   http://www.hpcalc.org/hp48/docs/misc/hp48gug.zip
HP 48G Series Advanced User's Reference Manual    http://www.hpcalc.org/hp48/docs/misc/hp48gaur.zip
Zaurus Kermit (used to transfer hp48 code between x48 and Zaurus.)

Usage:

# cd directory for HP stuff
# kermit
C-Kermit>set line /dev/pts/1
(look at x48 wire: (under LCD) it may be different)
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.

  kermit_8.0.206_arm.ipk
User RPL Savage Benchmark
  1. Copy to HP48 with kermit, do not translate newlines.  Or manually enter and STO as 'B':

    <<
      TICKS
      1
      1 2499 FOR I
        SQ SQRT LN EXP ATAN TAN 1 +
      NEXT
      SWAP
      TICKS SWAP - B->R 8192 /
    >>
     
  2. Set radian mode.
  3. Run 'B'.
  4. Results (should be 2499.99948647) and time (seconds) reported on the stack.
03/27/2006 B
Platform seconds
Real GX 111
Windows-EMU48 GX (Authentic Calculator Speed checked) 130
c860(PXA255)-x48 GX (Base: 471 MHz, Turbo: 471 MHz) 64
c860(PXA255)-x48 GX (Base: 398 MHz, Turbo: 398 MHz) 73
c860(PXA255)-x48 GX (Base: 235 MHz, Turbo: 471 MHz) 67
c860(PXA255)-x48 GX (Base: 199 MHz, Turbo: 398 MHz) 82
c860(PXA255)-x48 GX (Base: 099 MHz, Turbo: 099 MHz) 422
Real SX 197
Windows-EMU48 SX (Authentic Calculator Speed checked) 219
c860(PXA255)-x48 SX (Base: 398 MHz, Turbo: 398 MHz) 86

Send questions/comments:  egan@sense.net