[comp.sys.handhelds] HP48 Questions

ezk@cunixf.cc.columbia.edu (Erez "HWank1" Zadok) (07/06/90)

[Sorry if this is a repeat.  Our networks were down for some time.]

(1) I heard that someone wrote a program for the hp48 that can control
remote-controlled equipment via its IR port.  Is that true?  If so, how good
is the program, who wrote it, how does it work, and where can I get it?

(2) Since the hp48 can read in from a pc, and most PCs with modem or network
interface can download from remote hosts, is there an HP48 BBS or public ftp
site that I can download HP programs for the HP48?

You can email me if this has been discussed to death in c.s.h.

Thanks,
Erez.
A wank's morning starts	one machine   | Arpa:	ezk@cunixf.cc.columbia.edu
clock cycle after midnight.	      | Usenet: ...!rutgers!columbia!cunixf!ezk
 -HebrewWank #1 (US meaning, not UK!) | Bitnet:	ezk@cunixf, erzus@cuvmb

sheppard@hpnmdla.HP.COM (Roger Sheppard) (07/12/90)

I posted the same request to rec.video when the subject of universal remotes
came up. I have had no responses with good leads yet. I will post information
if it becomes available. Until then we are on our own.

Roger-

fseipel@hpuxa.ircc.ohio-state.edu (Frank E. Seipel) (02/21/91)

Concerning RAM cards: I tried a Smith Corona 32K card at Sears today. The
LCD displayed a 'melting' pattern upon turning on the calculator. Even after
pulling out the card the calculator would not reset; I had to remove the
batteries. Several users have reported success with these cards; is there
something I am doing wrong? Do you have to modify the card to make it work
in the 48SX?

I am interesting in doing some machine language programming on the 48. I
am using a Macintosh and a program called SASS. I was able to make SASS
assemble the sample program patterns.s, and then x-ferred it to the 48SX.
I then executed \->SYS. The program ran, but the calculator display went
blank after a few seconds, then the memory was lost. I did not alter the
source code in any way. What did I do wrong here, and what do I need
(software, books, etc) to start programming in machine code on the 48SX?

ervin@pinbot.enet.dec.com (Joseph James Ervin) (02/22/91)

Your questions regarding information for machine language programming
are similar to some that I asked, and which got virtually no response from
the net.  

So, let me share with you my recent experiences.

To my knowledge there is no official documentation or books which describe
how to do ML programming on the HP48SX.  Here are some sources of
information that have served me well.

First, check out Alonzo Gariepy's notes on the 
Saturn processor, which is the processor HP used in the 28 and also in the 
48SX.  This will give you a decent introduction to the instruction set and the
basic architecture of the processor.

Then, you should read Alonzo Gariepy's notes on doing ML programming on 
the HP48SX.   These notes provide some useful information, and give some 
decent examples of how to do things.

Next, I recommend you take a look at the internals description by Derek
Nickel.  
This gives a decent explanation of the different data types used 
in the 48SX, and how they are each represented.  Of all the internals
lists that
have been posted recently, I believe that his has the best descriptions
of 
the various object types, their prologs and how they are stored.

Next, I recommend that you get the list of internal addresses that Jake
Schwartz
recently posted to the net.  This gives a good description of all (?)
the known 
internal addresses and what they do.

Finally, I suggest you get the Star assembler described in note 132.  After
reading the README. file and the STAR.REF files which come as part of the Star 
assemlber, you should have a pretty decent feel for how to program the 48SX.
STAR was written by Jan Brittenson, and he has put in a good effort to make it
fairly transportable.  I was able to compile and run it on a VAX/VMS system 
without requiring much effort on my part.

Lastly, let me make one more suggestion.  READ THE DOCUMENTS I HAVE 
MENTIONED ABOVE, in the order I have specified them.  Alonzo's notes will
give you a decent foundation regarding the architecture of the SATURN processor
and the instruction set.   Derek's notes will give you a good foundation 
in the object types and how the 48SX stores information internally. 
After reading
these documents, I have been able to undertake a fairly non-trivial ML
project, 
the fruits of which will appear in this conference shortly, with luck.

I hope that helps.

>>>Joe 

P.S. All of the documents mentioned above are available on Wayne's mail server;
a service that I highly recommend.  Information regarding Wayne's mail
server has
appeared in this conference recently.

DBOREN@cc.weber.edu (05/09/91)

I have a couple of questions to make about the HP48.
1. where can I find the info about making my own cable to transfer from
   the pc to my hp. I know I saw it posted once but I seem to have lost
   the info.
2. Also what do I need to do to load tetris-ml. I can convert the asc
   file with asc-> and get something like Library Code 1700: Tetris,
   what do I need to do from here nothing I do seems to work. I have
   tried to attach it but I must be doing something wrong.
3. Also what is the exact difference between kermit files with the header
   HPHP and those that have %%HP. I can load those with %%HP most of the
   time without any problem, but those with HPHP will give me problems
   alot of the time.

dboren@cc.weber.edu