Menu

Tree [r11] /
 History

HTTPS access


File Date Author Commit
 bitmaps 2008-12-11 antiocles [r1]
 include 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 qemu 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 sim 2008-12-11 antiocles [r1]
 4950_92.bin 2008-12-11 antiocles [r1]
 49Gp_88.bin 2008-12-11 antiocles [r1]
 EqnData.lib 2008-12-11 antiocles [r1]
 EqnLib.lib 2008-12-11 antiocles [r1]
 HP49GP_IO_PORT 2008-12-11 antiocles [r1]
 MEMORY 2008-12-11 antiocles [r1]
 Makefile 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 README 2008-12-11 antiocles [r1]
 README.QEMU 2008-12-11 antiocles [r1]
 README.QUICKSTART 2010-04-25 datajerk [r11] CentOS 64-bit tested and revealed that the 'bug...
 README.config 2008-12-11 antiocles [r1]
 SYSCALL-28-TRACE 2008-12-11 antiocles [r1]
 block-qcow.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 block-raw.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 block-vvfat.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 block.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 boot-49g+.bin 2008-12-11 antiocles [r1]
 boot-50g.bin 2008-12-11 antiocles [r1]
 boot.bin 2008-12-11 antiocles [r1]
 config.tmpl 2008-12-14 datajerk [r3] Opps, forgot config.tmpl in last check in.
 flash.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 gdbstub.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 gdbstub.h 2008-12-11 antiocles [r1]
 hex2bin.c 2008-12-11 antiocles [r1]
 hp49g+.png 2008-12-11 antiocles [r1]
 hp49g+small-notext.png 2008-12-11 antiocles [r1]
 hp49g-u.bin 2008-12-30 datajerk [r6] Changed echo -n to /bin/echo -n in Makefile to ...
 hp50g-hack.png 2010-04-25 datajerk [r11] CentOS 64-bit tested and revealed that the 'bug...
 hp50g.png 2008-12-11 antiocles [r1]
 le32hex2bin.c 2008-12-11 antiocles [r1]
 main.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 module.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 newconfig 2009-06-26 datajerk [r9] Cleaned up QUICKSTART. newconfig to error if c...
 s3c2410.c 2008-12-11 antiocles [r1]
 s3c2410_adc.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_arm.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_intc.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_io_port.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_lcd.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_memc.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_nand.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_power.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_rtc.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_sdi.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_spi.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_sram.c 2008-12-11 antiocles [r1]
 s3c2410_timer.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_uart.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_usbdev.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 s3c2410_watchdog.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 sram.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 symbol.c 2008-12-11 antiocles [r1]
 timer.c 2010-04-24 datajerk [r10] QEMU overhauled: 64 bit support, old gcc not re...
 tiny_font.c 2008-12-11 antiocles [r1]
 ui.c 2008-12-14 datajerk [r2] Added README.QUICKSTART for new users. OS/X an...
 update.scp 2008-12-11 antiocles [r1]
 x49gp.gif 2008-12-11 antiocles [r1]

Read Me

Quick Start Guide
04/25/2010
Egan Ford <egan@sense.net>

NOTE: READ ALL INSTRUCTIONS

Prereqs:

* OS/X 10.6 64-bit:

  * Install X11, Xcode (from your installation media) in that order.
  * Install Macports (macports.org), then:

  sudo port install gtk2
  sudo port install pkgconfig


* Ubuntu 9.04 32-bit, 9.04 64-bit, 9.10 32-bit, 9.10 64-bit:

  sudo apt-get install libgtk2.0-dev
  sudo apt-get install subversion


* RedHat/CentOS 5.4 64-bit, Fedora 12 64-bit:

  sudo yum install subversion gtk2-devel

------------------------------------------------------------------------

Start up X11 and use xterm

------------------------------------------------------------------------

Download x49gp source:

svn co http://x49gp.svn.sourceforge.net/svnroot/x49gp x49gp

------------------------------------------------------------------------

Edit FIRMWARE (optional):

The default firmware will be 4950_92.bin, for HPGCC3 development copy
49_hpgcc.bin in to x49gp and change FIRMWARE in the Makefile.

------------------------------------------------------------------------

Build:

cd x49gp
make
make sdcard
make config

------------------------------------------------------------------------

Mount SD card:

OS/X:

open sdcard.dmg

Linux:

sudo mkdir -p /Volumes/X49GP/
sudo mount -o loop sdcard /Volumes/X49GP

------------------------------------------------------------------------

Put stuff in SD, e.g.:

OS/X:

cp BACKUP /Volumes/X49GP/

Linux:

sudo cp BACKUP /Volumes/X49GP/

NOTE:  If using HPGCC2 don't forget the the ARMToolbox.

------------------------------------------------------------------------

Eject SD:

OS/X:

hdiutil detach $(df | grep -i x49gp | head -1 | awk '{print $1}')

Linux:

sudo umount /Volumes/X49GP

------------------------------------------------------------------------

Run:

./x49gp config

------------------------------------------------------------------------

Where's the key labels?

Good question.  This is a bug when compiled for 64-bit platforms.

Hack:

cp hp50g-hack.png hp50g.png

------------------------------------------------------------------------

Do stuff, e.g.:

Restore backup:

BACKUP
3
->TAG
RESTORE

Install ARMToolbox (HPGCC2):

2
SETUP.BIN
3
->TAG
RCL
EVAL
(Right Click ON, Left Click C)

------------------------------------------------------------------------

To Exit Emulator

* ctrl-c to exit (from launch window)

------------------------------------------------------------------------

Start Over:

* clean slate?

rm -f flash-49g+ flash-50g flash-noboot sram s3c2410-sram
make flash-49g+ flash-50g flash-noboot sram s3c2410-sram
./newconfig

* soft reset only?

./newconfig

------------------------------------------------------------------------

Known Limitations:

* HPGCC SD Card I/O
  . libfsystem unavailable.
  . f* calls unstable (HPGCC2)
  . f* calls stable (HPGCC3)

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.