HPGCC is a suite of tools and libraries, that allow you to program ARM-based HP calculators in C. Being released under the GPL, it is free to use and modify. HPGCC is a project aiming to make advanced programming in C easy.
The following components are included:
HPGCC combines these components into a convenient package.
HPGCC Version 2.0 Service Pack 2 has been released
Download the Windows or Linux version.
Consider subscribing to the blog's RSS feed.
To do that, please click your browsers RSS icon on the blog main page.
Firefox ,for example, then maintains so called 'dynamic bookmarks' for the hpgcc.org site, which are automatically updated, whenever new entries are posted.
Public Subversion Commit Feed
You can also subscribe to the HPGCC Subversion Repository feed, for live notifications of changes to the SVN's trunk code base. Stay up-to-date!
Library Updates
Recent runtime-library snapshots, nightly builds.
Full 2.0 version, including sources or Binary only 2.0 version
Old versions Full 1.1 version, including sources or Binary only 1.1 version
The 1.1 snapshots are now "frozen" and kept for archiving purposes
Why should you program in C?
Ease of use. SysRPL is only found on HP calculators, and it is not trivial to master. Being stack based, it is very different from most languages. C is an industry standard, with only a few HP specific things to learn. Experienced programmers can apply their knowledge without the burden of learning a whole new programming language.
Speed. The most commonly used language for advanced programming is 'System RPL', or 'SysRPL'. On modern calculators, SysRPL is mostly executed by an emulated 'Saturn' processor. C on the other hand is executed directly by the ARM chip. The same program written in C will be many (up to 100) times faster than the equivalent SysRPL program.
Power. There are many things that can be controlled via a C program, but not by a SysRPL program. For instance, a C program could alter the CPU speed, display flicker-less grayscale, or control the beeper precisely. A pure sysRPL program could not.
Project Status
At present, it is possible to write functional programs in C. There are all the basic library functions you would expect; graphics, keyboard support, file I/O, RPL Stack access etc. The compiler and core libraries are stable.
Please subscribe to the HPGCC mailing list for further updates.
Documentation
Library documentation is included in the distribution files. In addition, please see hplib, fsystem, hpg, ggl and win for recent HPGCC reference material.
Library Sources
A current source snapshot can be browsed here
Examples
And some example programs can be browsed here
Downloads
All 'official' HPGCC releases are Here
You could browse the Subversion Repository for the latest working files.If you want to check out a working copy to your own computer:
On Unix(Linux,cygwin,OSX) platforms, you would typically do a
% svn co https://hpgcc.svn.sourceforge.net/svnroot/hpgcc hpgccMake sure you use a recent (version 1.2 or newer) client.
On Windows we strongly recommend Tortoise SVN, which integrates nicely into the Windows Explorer Shell.
There is also the excellent (free) Subversion book online.
If you want or need documentation, that's your ultimate choice.
Nightly builds
(These don't include the compiler and other binary tools)
Full 2.0 version, including sources or
Binary only 2.0 version
Old versions
Full 1.1 version, including sources or
Binary only 1.1 version
The 1.1 snapshots are now "frozen" and kept for archiving purposes
If you need help, either post on the mailing list or the newsgroup comp.sys.hp48.
HP-Stack (by Philippe Salmon), which facilitates and extends the RPL Stack access provided by the core library.
See here for HP-Stack docs
HP-Parser (by Philippe Salmon), which is required by the HP-Stack module
See here for HP-Parser docs
For forums and bug reports, please see the SourceForge Page.
Some Links
Using GCC on the HP49g+ - This page started HPGCC.
Philippe Salmon's Site - Some useful extensions and libraries for HPGCC.
"Eddie" C. Dost's HP49g+ Emulation Project - Aims to create an Open Source workstation based emulator.
HP49g+ Emulation Project - Aims to create a PC based emulator and has some nice reverse info. -- seems to be abandoned, though --
An important note to users
This entire project, including the libraries, is released under the GPL. Under the terms of the GPL, you are required to release any software that uses these libraries under the GPL as well.
Understandably, a large number of developers would prefer to keep their source code private. To solve this issue, additional rights are granted to non-profit developers. For non profit use only, you may use HPGCC without putting your code under the GPL
If you write something useful, please consider sending it to us. If you would like to help HPGCC, please ask in the forums or the mailing list.
The Core HPGCC developers are:
Ingo Blank

Claudio Lapilli

You can post to hpgcc-devel@lists.sourceforge.net , if you have problems or suggestions.
(Go here to subscribe, or browse the archive.)
Please don't post to the list without subscribing first.
Otherwise your posts are being discarded!
Thank you.
PGP signing key
pub 1024D/14137F7D 2005-08-23 Ingo Blank <iblank@hpg......> Key fingerprint = FEA5 B074 1EB2 29B3 1FAB CFD3 AFD6 E2D0 1413 7F7D
pub 1024D/149EB7E8 2004-10-28 Ingo Blank <ingo@hp.......> Key fingerprint = 430B FE32 AB2B 3D2D BEAC 841F EAB8 9C14 149E B7E8SSL Server Certificate
MD5 fingerprint = 58:2A:7D:6C:3D:93:6B:B4:FF:DB:5D:D5:B4:DA:FA:F1 SHA1 fingerprint = 1A:2C:48:5E:84:88:31:48:B3:85:E3:2E:EC:2A:55:CF:5E:AE:FC:C1
Last updated:
2008-08-18