Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Howto Compile your own HP49G ROM (1.24) from the LGPL CAS

154 views
Skip to first unread message

Arnau

unread,
Apr 5, 2004, 9:22:13 AM4/5/04
to
Hi,

I wanted to write this HOWTO in order to make things easier to
newbies:

How to Compile your own HP49G ROM from the LGPL CAS Release
-----------------------------------------------------------

Compiling the sources of this ROM will give you the lastest available
ROM for the HP49G (1.24 version)

The VERSION command returns:

Version HP49-C
Revision #1.24
Copyright HP 2003

The VER command returns:

4.20031005

Let's start with it:

Download the Casrelease.zip file from
http://www-fourier.ujf-grenoble.fr/~parisse/english.html#HPCAS

Download the Cygwin Linux environment installer from
http://www.cygwin.com/setup.exe
The default packages to install are correct, but you also need to
select the following packages under the Devel folder:

GCC: GCC C Compiler
GCC-G++ GCC C++ Compiler
MAKE: The GNU version of the 'Make' utility
FLEX: A fast lexical analyzer generator

Extract the casrelease.zip file into the C:\Cygwin\home\CAS folder for
example.
Copy the files from C:\Cygwin\home\CAS\Tools into the folder
C:\Cygwin\Bin folder.

Start Cygwin and type:
cd /home/CAS/ROM
make

(if anything goes wrong type "make clean" and type "make" again)
Exit Cygwin (type logout)
You got the Compiled ROM in the C:\Cygwin\home\CAS\ROM folder

This are the files you need:

- Vger.flash: Use this file with the connectivity kit, or FDP to
upgrade your HP49G calculator
- rom.e49: the emu48 style file (HP4xG Emulator)
- rom.bin: the binary of the file. You can use it to directly burn a
flash rom with a rom programmer (Normally you don't

need this file)

Happy compiling!

Arnaud Amiel

unread,
Apr 5, 2004, 1:40:55 PM4/5/04
to
I haven't read the license completely but do you think it would be possible
for someone to distribute it. (I have a small hard drive and a dial up
connection so following your HOWTO is hard work).
Thanks for the instructions anyway

An other Arnaud


Arnau

unread,
Apr 5, 2004, 7:25:42 PM4/5/04
to
This ROM and sources are for HP49G not for HP49G+
I read your reply in the SD cards message and I suppose that you got the 49G+

Bye

"Arnaud Amiel" <aam...@hotmail.com> wrote in message news:<pYgcc.30$%o4.12@newsfe1-win>...

Arnaud Amiel

unread,
Apr 6, 2004, 2:37:58 AM4/6/04
to

"Arnau" <blas...@hotmail.com> wrote in message
news:6b643d1.04040...@posting.google.com...

> This ROM and sources are for HP49G not for HP49G+
> I read your reply in the SD cards message and I suppose that you got the
49G+
>
I got both and a 48 and a 38 and a 32 and a 20 and a few 45 and a 55 and an
Xpander and maybe a few I just forgot ....


Jean-Yves Avenard

unread,
Apr 6, 2004, 6:34:37 AM4/6/04
to
Arnau wrote:

> How to Compile your own HP49G ROM from the LGPL CAS Release
> -----------------------------------------------------------
>
> Compiling the sources of this ROM will give you the lastest available
> ROM for the HP49G (1.24 version)

> iling!

You missed a very important step:
You'll have to install the HPTOOLS 3.0.8 (available on my site or
hpcalc) in order to compile the CAS and link it with HP binary objects..

Jean-Yves

Jean-Yves Avenard

unread,
Apr 6, 2004, 6:35:38 AM4/6/04
to
Arnaud Amiel wrote:

The license is very specific on this matter:
You can't re-distribute binary image...

Jean-Yves

Unknown

unread,
Apr 6, 2004, 7:59:28 AM4/6/04
to
On Tue, 06 Apr 2004 20:34:37 +1000, Jean-Yves Avenard <m...@privacy.net>
wrote:

The necessary hptools is included in Parisse distribution.
You must however include the tools directory in your computers path or
maybe copy the files to the windows or system32 directory.


--
John

Arnau

unread,
Apr 6, 2004, 11:10:47 AM4/6/04
to
hi,
The HP tools are not the ones included in the CASRelease package? I
mean the ones in the CASRelease\Tools folder.
I compiled my ROM without any additional tools.

Arnau


Jean-Yves Avenard <m...@privacy.net> wrote in message news:<c4u13u$2iklj0$1...@ID-177907.news.uni-berlin.de>...

Arnaud Amiel

unread,
Apr 7, 2004, 1:40:13 AM4/7/04
to
I decided to try and install Cygwin on my PC. It is taking about 2 hours to
download (at 30k/s dialup) and about 150k on the harddrive. Now I have a new
ROM.

Thanks for the instructions above.

The other Arnaud


Kenji Nagahama

unread,
Apr 7, 2004, 7:38:51 PM4/7/04
to
Or, the HPtools in tools directory included in CASrelease can be
installed into /usr/local/bin of Cygwin which is originally blank
folder.

This information was noticed on Japanese HPcalc forum.

Kenji Nagahama
Yokohama, Japan

John Torset <> wrote in message news:<5l6570t2hp6sqlgn6...@4ax.com>...

Unknown

unread,
Apr 9, 2004, 8:06:00 PM4/9/04
to
On Tue, 06 Apr 2004 20:35:38 +1000, Jean-Yves Avenard <m...@privacy.net>
wrote:

>Arnaud Amiel wrote:

Yes you can.

>
>Jean-Yves

Taken from The LGPL license from 1. february 1999. Version 2.

2.4:

" 4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.

If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code. "


Part of the 'licence' for CASrelease states:

List of exception files from the ROM/CAS and ROM/CAS2 directories
(These files are not released under the LGPL license).
- directory ROM/CAS
<<<< List of files....................................
- directory ROM/CAS2
<<<< List of files....................................

According to LGPL it is not possible to distribute anything as not
LGPL as long as thoose files mentioned are needed to compile any
portion of a program released under LGPL.

1. Eighter are the whole resulting binaries + sources of the compiled
source released as LGPL or
2. The sources do not have the right to be distributed under the LGPL
licence.

So which option is the correct option here?

--
John

0 new messages