Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[49G] Connectivity Kit Help please

296 views
Skip to first unread message

Mark C J Posen

unread,
Nov 5, 1999, 3:00:00 AM11/5/99
to
I've just received my free PC cable from HP and I'm trying to understand how
to transfer programs to and from the HP49G.

Please can someone tell me:

1) where can I find the full list of the "backslash" codes for writing
programs on the PC using an editor? ...yes I know they're in the HP48
documentation! :-)

2) What the "switches" (I presume that's what they are) in the header line
mean (e.g. %%HP: T(1)A(R)F(.);) since this is about as clear as mud!

Many thanks in advance for any help provided!

--
Mark Posen
RPC Telecommunications: http://www.rpctelecom.com
Satcom.UK: http://www.satcom.co.uk


J.R. Chaffer

unread,
Nov 5, 1999, 3:00:00 AM11/5/99
to Mark C J Posen
'FREE CABLE' ??????

I was told they were in at the UW Bookstore in Seattle.
Price: about $30.

Free???

jrc

Keith Farmer

unread,
Nov 5, 1999, 3:00:00 AM11/5/99
to

"J.R. Chaffer" wrote:
>
> 'FREE CABLE' ??????

> > Mark Posen
> > RPC Telecommunications: http://www.rpctelecom.com
> > Satcom.UK: http://www.satcom.co.uk

^^

Yes, free -- he's in Europe.

Carsten Witzel

unread,
Nov 5, 1999, 3:00:00 AM11/5/99
to
Keith Farmer <far...@pacbell.net> wrote:

And he had the luck to choose the right retailer. Whether you
get your cable free or not is up to the distributor, as it seems.
I bought my HP49 in August in Germany, without this damned cable.
The distributor - TomTech, in order to warn everyone - doesn't give
you a free cable, if you bought the HP49 too early.
--
Carsten Witzel -- E-Mail: Carsten...@Uni-Duesseldorf.de

Read Predmore

unread,
Nov 5, 1999, 3:00:00 AM11/5/99
to
Hi Mark,

> 1) where can I find the full list of the "backslash" codes for writing
> programs on the PC using an editor? ...yes I know they're in the HP48
> documentation! :-)
>

As of 5 November 1999, the backslash equivalences are not working with
the
HP49G using the PC Connectivity kit (HPComm-30r2.zip). However, you can
enter the ANSI character code from a Windows text editor such as
Notepad.
To enter the ANSI code hold down the ALT key, then type Zero+nnn and
then
release the ALT key. The nnn is the HP49G CHARS Code shown below. For
example, the start of program delimiter, ´, is entered by typing
ALT+0171.

The backslash equivalences are included for the future, when the
software
is working. Call HP49G Technical Support at 970-392-1001 about the
new connectivity software which is included with the PC-HP49G cable.

Thanks,

Read

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

HP48G/HP49G Backslash Equivalences

HP49G ANSI Back- Description
CHARS Char- slash
Code actor Equi-
valent

128 Ä \<) Angle symbol for polar notation
129 Å \x- x with bar above it
130 Ç \.V
131 É \v/ Square root symbol
132 Ñ \.S Integral symbol
133 Ö \GS Uppercase Greek Sigma
134 Ü \|>
135 á \pi Lowercase Greek pi
136 à \.d Differentiation symbol
137 â \<= Less-than or equal-to symbol
138 ä \>= Greater-than or equal-to symbol
139 ã \=/ Not-equal-to symbol
140 å \Ga Lowercase Greek alpha
141 ç \-> Right arrow
142 é \<- Left arrow
143 è \|v Down arrow
144 ê \|^ Up arrow
145 ë \Gg Lowercase Greek gamma
146 í \Gd Lowercase Greek delta
147 ì \Ge Lowercase Greek epsilon
148 î \Gn Lowercase Greek eta
149 ï \Gh Lowercase Greek theta
150 ñ \Gl Lowercase Greek lambda
151 ó \Gr Lowercase Greek rho
152 ò \Gs Lowercase Greek sigma
153 ô \Gt Lowercase Greek tau
154 ú \Gw Lowercase Greek omega
155 õ \GD Uppercase Greek Delta
156 ú \GP Uppercase Greek Pi
157 ù \GW Uppercase Greek Omega
158 û \[]
159 ü \oo Infinity symbol
171 ´ \<< Start of program delimiter (<<)
176 ∞ \^o Degree symbol
181 µ \Gm Lowercase Greek mu
187 ª \>> End of program delimiter (>>)
215 ◊ \.x Cross-product operator
216 ÿ \O/ Slashed Oh
223 fl \Gb Lowercase Greek beta
247 ˜ \:- Division symbol

\nnn For a particular character number
See CHARS screen for characters and numbers.
Example: \131 for square root symbol

Diego Berge

unread,
Nov 6, 1999, 3:00:00 AM11/6/99
to
On Fri, 5 Nov 1999 14:10:26 -0000, "Mark C J Posen"
<mpo...@my-deja.com> wrote:

> I've just received my free PC cable from HP and I'm trying to understand how
> to transfer programs to and from the HP49G.
>
> Please can someone tell me:
>

> 1) where can I find the full list of the "backslash" codes for writing
> programs on the PC using an editor? ...yes I know they're in the HP48
> documentation! :-)

You know where to find it then -- ask someone local to you to snail
mail you a copy of the character table on the manual.

Alternatively, you can generate your own with the following prog
(not actually tested -- legal on a 48, may burn your 49):

\<<
RCLF 3 TRANSIO
128 255
FOR n n ": " + n
CHR + "
" + PR1
NEXT STOF
\>>

> 2) What the "switches" (I presume that's what they are) in the header line
> mean (e.g. %%HP: T(1)A(R)F(.);) since this is about as clear as mud!

T: Translation mode
T(0): No translation
T(1): Translate LF <-> LF/CR
T(2): Translate LF and char. codes 128-159 (where the 48 differs
from ISO 8859-1, IIRC)
T(3): Translate LF and char. codes 128-255 (use pure ASCII)

A: Angle mode
A(R): Radians
A(D): Degrees
A(G): Grads (Centesimal degrees)

F: Fraction mark (radix)
F(.): Use a dot as fraction mark
F(,): Use a comma as fraction mark

HTH.

Regards,
Diego Berge.


John H Meyers

unread,
Nov 6, 1999, 3:00:00 AM11/6/99
to mpo...@my-deja.com
"Mark C J Posen" <mpo...@my-deja.com>:

> I've just received my free PC cable from HP

Send a bunch over here for the Americans :)

> where can I find the full list of the "backslash" codes
> for writing programs on the PC using an editor?

There are only a handful of very commonly used "digraph"
ascii translation symbols, all preceded by a backslash,
which make it possible to represent a 256-character set using
only 96 ascii characters (so you can use any PC text editor,
and also can post the stuff and send it in E-mail):

Num Sym Description
--- --- -----------
128 \<) angle symbol
131 \v/ square root
132 \.S integral symbol
133 \GS Greek Sigma (\GSLIST)
135 \pi pi
136 \.d derivative symbol
137 \<= less or equal
138 \>= greater or equal
139 \=/ unequal
141 \-> right arrow (\->LIST, \-> a b c)
142 \<- left arrow (\<-local)
143 \|v down arrow (\|vMATCH)
144 \|^ up arrow (\|^MATCH)
156 \PI capital pi (\PILIST)
159 \oo infinity
171 \<< program delimiters
187 \>>
092 \\ backslash

Notice how most of these "look like" the characters which
they represent, so they are very easy to learn.

Lower-case Greek letters are generally like \Ga (alpha); the other
upper-case Greek letters are \GD (delta) and \GW (omega).

For any other character, you can always use \nnn
(with the decimal character number,
which you can obtain from the CHARS application in the calc).

> [What is this] header line: %%HP: T(1)A(R)F(.);

Include at least "%%HP: T(3);" at the beginning of any PC file,
to be sure that the calc will translate the full range of symbols.

The optional angle mode [ e.g. A(D) ] affects only the interpretation
of complex numbers or vectors specified in polar form, using the
"angle" symbol; the "fraction mark" mode [ F(.) or F(,) ] will
be important to specify if the ascii file includes any numbers
containing decimal points; bear in mind that this mode *also*
affects the character used to separate complex values
and function arguments, e.g. COMB(5.,2.) vs. COMB(5,;2,)

When a file is sent *from* the calc using Kermit in ascii mode,
a complete %%HP "mode header" is automatically generated;
when a file is sent back *to* the calc, a mode header
forces the calc to duplicate the original modes
(except for the Approximate mode of the HP49,
which is needed for correct 48 -> 49 transfer of
"real" integers sent from the 48 without decimal points).

If you want to be sure of strictly correct ascii program transfers,
be sure to set an HP49 to Approximate mode when receiving a file
from an HP48, and to Exact mode when receiving a file from an HP49
(this could also have been automated by HP, but they didn't do it)

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

Come to think of it, you can actually get the *calculator*
to translate all these symbols for you, by using the same
functions as the internal 48/49 Kermit application uses:

To translate HP48/49 symbols (ISO-8859-1) into ascii digraph symbols:
\<< \->STR 3 TRANSIO #.....h SYSEVAL \>> @ use KVIS address (below)

To translate ascii digraph symbols into HP48/49 symbols (ISO-8859-1):
\<< \->STR 3 TRANSIO #.....h SYSEVAL + \>> @ use KINVISLF address

Get these SYSEVAL addresses from tables which you can download from
either www.hp.com or www.hpcalc.org

HP48 HP49 Entry point name
----- ----- ----------------
#3016Bh #2F34Dh KINVISLF (digraphs -> calc)
#2FEDDh #2F34Eh KVIS (calc -> digraphs)
#2FEC9h #2F34Fh KVISLF (like KVIS, but inserts <cr> for PC's)

CAUTION: Back up your memory first, mistakes can wipe out memory!

Example:

Type 141 CHR to make a string containing one right-arrow character;
the first program transforms that one-character string into the
three-character string "\->" and the second program does the reverse.

The inclusion of ->STR in these programs converts any other objects
to strings for you (and prevents crashes from bad args or no args);
use OBJ-> to re-compile any string (only from HP48/49 character set).

-----------------------------------------------------------
With best wishes from: John H Meyers <jhme...@mum.edu>


Sent via Deja.com http://www.deja.com/
Before you buy.

Mark C J Posen

unread,
Nov 8, 1999, 3:00:00 AM11/8/99
to
Carsten Witzel <wit...@rz.uni-duesseldorf.de> wrote in message
news:7vv7gn$2...@poseidon.rz.uni-duesseldorf.de...

I don't know about this... but I "simply" wrote off to the HP representative
in Germany and they sent me the cable. It didn't actually come with the
calculator. I would have thought that this would apply to you too. Here
are the instructions:

-------------------------
To monitor the memory of your HP49G, to download games,softwares[sic],
etc.

This offer is valid in France, Spain, Italy, Switzerland, Benelux,
Germany, Austria, Denmark, Sweden, Finland, Norway, England, Ireland
and for all requestes marked before December 31 st 1999.

Not valid where prohibited by law

1. Write your name and complete address in capital letters on paper
2. Attach the bar code located on the box of your 49G (proof of
purchase)
3. Attach a copy of your store receipt and highlight the amount of your
HP 49G.
4. Send these 3 elemnts to:

Prints & More GmbH
<<HP 49G Connectivity>>
Hellerichstr.34
75181 Pforzheim-Huchenfeld
Germany
------------------

Hope this helps!

Mark

John H Meyers

unread,
Nov 9, 1999, 3:00:00 AM11/9/99
to pred...@astro.umass.edu
Read Predmore <pred...@astro.umass.edu>:

> As of 5 November 1999, the backslash equivalences are not working

> with the HP49G using the PC Connectivity kit HPComm-30r2.zip).

The translations are done within the calc, rather than in the PC,
(see the KVIS and KINV programs I just posted, which work
in the calc), so the problem should have been fixed
in the calc itself (seems to work in 1.10)

However, make sure that your PC file starts with
%%HP: T(3); or %%HP: T(3)A(D)F(.);

The T(3) is necessary to tell the calc to perform all the
possible translations. If by any freak chance the calc
is not yet actually interpreting the T(3) as it should,
set the calc's own translation mode ahead of time via
3 TRANSIO, or edit IOPAR in HOME to ( 9600. 0. 1. 1. 3. 3. }

I have had trouble with that comm software only in truncating
files which are all strings (e.g. C$ $ on the second line);
in such cases, Hyperterminal work fine instead.

Read Predmore

unread,
Nov 9, 1999, 3:00:00 AM11/9/99
to
Hi John,

I have set IOPAR to ( 9600. 0. 1. 1. 3. 3. } and the translation works
from the HP49G to the PC, but not back from the PC to the HP49G.

Program on HP49G is:

« 23 '’' STO »

When this is send to the PC with the above IOPAR, the result on
the PC is:

%%HP: T(3)A(D)F(.);
\<< 23. '\Gd' STO
\>>

which is fine.

However, when this is sent back to the HP49G from the PC, the result
on the HP49G is:

« 23. '\G' »

NOT what I would like.

My flags are:

{ # 1418004000FF0h
# 0h
# 10004002020000h
# 0h }

I would appreciate any comments that you have.

Thanks,

Read

John H Meyers wrote:
>
> Read Predmore <pred...@astro.umass.edu>:
>
> > As of 5 November 1999, the backslash equivalences are not working
> > with the HP49G using the PC Connectivity kit HPComm-30r2.zip).
>

0 new messages