I am not familiar with hp48. I had one during my university courses and
never used anymore.
Before starting a project I would like to know if some knows if it is
possible to exchange data
from a Pc and Hp48. Something like I send a matrix to Hp48 have it
multiplied by 2 and send it back
to the pc. I mean can I have access to the Hp memory using datatypes.
I hope this wouldn't sound a silly question.
Regards,
Massimo.
> I would like to know if some knows if it is
> possible to exchange data
> from a Pc and Hp48.
If you have the manual, please read Chapter 27 : it even describes how to
build the cable.
--
Samuel Thibault <samuel....@fnac.net>
> I had an HP48 during my university courses
> Is it possible to exchange data between a Pc and Hp48.
> Something like sending a matrix to Hp48
> have it multiplied by 2 and send it back to the pc.
You can send data from PC to 48 and then send other data back,
you can use your PC as an input device to send commands
and data to the HP48 (and get a stack display back in text form),
and finally, you can run an HP48 emulator right on your PC,
and skip the sending :)
The scanned 48G User's Guide (in PDF):
http://www.hpcalc.org/hp48/docs/misc/hp48gug.zip
Emulator files for PC:
http://www.hpcalc.org/hp48/pc/emulators
[r->] [OFF]
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Well, I am not sure I understand well the question, but I beleive that what
you are talking about s possible.
If you set the calculator in Kermit Server mode, you can send data AND
commands to the calculator AND request data to be sent back to it. This of
coure require you to be able to script your kermit program on the PC (See
Kermit documentation)...
Regards, Cyrille
"Massimo Milizia" <m.mi...@teoresi.it> wrote in message
news:3C84DA96...@teoresi.it...
"Massimo Milizia" <m.mi...@teoresi.it> escribió en el mensaje
news:3C84DA96...@teoresi.it...
Look into using the calculator's SERVER mode and Kermit's REMOTE HOST
command on the PC. The entire command line (including any translated
characters and prefixed control characters) must not exceed 90
characters if CKSM option 3 is chosen, or up to 92 characters if CKSM
option 1 is chosen , so you may well need to SEND data as named objects
to the calculator first. The calculator's entire stack will be returned
to the PC after the REMOTE HOST.
It would probably be more convenient to use one of the emulators on the
PC though.
Visit www.columbia.edu/kermit for information on Kermit in general, and
www.columbia.edu/kermit/hp48.html for additional notes on the
calculator's implementation of Kermit.
> I hope this wouldn't sound a silly question.
Not at all.
--
Regards,
James
With MS-DOS kermit, you can define a macro in mskermit.ini, e.g.
define z remote host \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9
This allows you to abbreviate a command line of up to 9 words
from the Kermit window, e.g.
z CLEAR MEM PATH VARS
or, without a macro, you can just say (with no word count limit):
rem ho CLEAR MEM PATH VARS ...
If you want to see something which no one else even knows about,
send a "remote dir" command from Kermit -- what I'd like to know
right now is, what's the internal function which produces that
directory listing? (which you can't see on the calc itself!),
and wouldn't it be neat to be able to print that out?
Of course, the HP48 Program Development Link (PDL) is much more
convenient for this ancient (and perhaps obsolete) purpose;
HP discontinued that product many years ago, and offered
no equivalent replacement product, but by searching this
newsgroup at Google, you can find a download site.
The PDL ought to work with HP49G as well (command names can be
added, and the optional "library" which can be transferred
to the calc to speed up some operations is entirely in UserRPL).
One handy use of the PDL is its built-in instant HELP
for all the original HP48S[X] commands -- just type
any command name (case-insensitive) then press F1!
IMHO, the PDL is better than any GUI product that has since been
produced; put it on your Libretto (if you have one) and laugh
at how ten more years of technology have accomplished
nothing really new, other than to slow down the interface :)
Yes, and either method does save a bit of typing.
When I mentioned the limit on the length of the command line, I meant
the command line that is being sent to the 48. I suppose to be more
accurate I should say that the 48 will put whatever it receives in the
type C packet on stack level 1 and then execute OBJ\->. Anyway, whatever
you send to the 48 with Kermit's remote host command has to fit within a
single packet.
> If you want to see something which no one else even knows about,
> send a "remote dir" command from Kermit
Well, actually, I did that last night, so I think that "no one" is going
a bit too far. I surmise that the Kermit on the PC sends a type G
subtype D command. On the calculator one can use "D" "G" PKT to get a
directory listing from a server, either a PC or another calculator.
> -- what I'd like to know
> right now is, what's the internal function which produces that
> directory listing?
Good question. Note that the 49G's FILER displays the type and size of
variables but not the checksums.
> (which you can't see on the calc itself!),
> and wouldn't it be neat to be able to print that out?
It would indeed.
> Of course, the HP48 Program Development Link (PDL) is much more
> convenient for this ancient (and perhaps obsolete) purpose;
> HP discontinued that product many years ago, and offered
> no equivalent replacement product, but by searching this
> newsgroup at Google, you can find a download site.
>
> The PDL ought to work with HP49G as well (command names can be
> added, and the optional "library" which can be transferred
> to the calc to speed up some operations is entirely in UserRPL).
>
> One handy use of the PDL is its built-in instant HELP
> for all the original HP48S[X] commands -- just type
> any command name (case-insensitive) then press F1!
I have the PDL on my old PC, but for some reason or other I stopped
using it and went back to using a text editor and Kermit.
Still, I was surprised that they didn't release a fully updated version
for the 48G series and 49G.
> IMHO, the PDL is better than any GUI product that has since been
> produced; put it on your Libretto (if you have one) and laugh
> at how ten more years of technology have accomplished
> nothing really new, other than to slow down the interface :)
And make certain companies a heck of a lot of money.
--
Regards,
James
The doubt come from how the manual has been traslated in Italian:
"....you can send and receive files..."
that's way I asked about data rather than files.
Many thanks all of you!
:-))
Massimo.
John H. Meyers wrote:
> [...] by searching this newsgroup at Google, you can find a
> download site [for PDL]
Yeah, some kind soul gave us this link:
http://www.satlan.com/survey/nicklin/data/pdl.zip
But that's version 1.0, I think that the last version was 1.1, right?
Hmm, if only an even kinder soul ... :-)
ftp://ftp.stud.fh-heilbronn.de/pub/system/hp48/hacker/compiler/other/pdl/pdl.tar.gz
> One handy use of the PDL is its built-in instant HELP [...]
> -- just type any command name (case-insensitive) then press F1!
Or use the right mouse button.
> IMHO, the PDL is better than any GUI product that has since been
> produced
Tom Wellige's HPShell is also worth a try!
http://www.wellige.com/hpshell
Regards,
Bye.
Jordi Hidalgo
HPCC member #1046
jo...@tv3mail.com
-
CAUTION:
*48* ONLY, uses *unsupported* entry point, back up memory first!
\<< PATH \->STR 10 CHR + :!appendVARS$: #2DC39h SYSEVAL \>>
I wonder where's that entry on a 49g?
A sample (printed string) from my 48GX(R):
{ HOME JUNK }
P5 68 Program 10744
LIBSL 88.5 Program 22700
LIBSM 114.5 Program 23319
off 17.5 Command 45169
dates 18 Global Name 47018
te 12 Global Name 11940
This gives you the variable name, size, type, and decimal checksum
(no hidden variables, wrong sizes for commands and functions).
For a complete catalog of your HP48,
just print this for every directory.
\<< PATH \->STR 10 CHR + MEM DROP :!appendVARS$: #2DC39h SYSEVAL \>>
CAUTION:
*48* ONLY, uses *unsupported* entry point, back up memory first!
The above lists the current directory's variables
in a printable (string) format, as would otherwise be seen
only by sending a "remote dir" command ( "D" "G" PKT)
to the HP calc's Kermit SERVER from another computer (or calc)
which implements Kermit command packets and displays the results.
Sample printable output:
[variable name, size, type, and decimal checksum]
{ HOME JUNK }
P5 68 Program 10744
LIBSL 88.5 Program 22700
LIBSM 114.5 Program 23319
off 17.5 Command 45169
dates 18 Global Name 47018
te 12 Global Name 11940
Can anyone find the 49g equivalent (and is it stable?)