The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

DAT files from a 41 using 82164A
Message #1 Posted by Giuseppe Marullo on 21 Dec 2003, 10:29 a.m.

I tried to pull a program from my 41 using the serial interface and it worked. I got a wonderful DAT file, I feeded HP41UCC to get a TXT file, dealed with a spurious CR and in the end I got the program into its "source" form.

I used the SETRS program that has been transferred flawlessly, but I got XROM instructions where I had the HP-IL and EXT I/O instructions.

Now, is there a way to get rid from these XROM instructions and get the real ones?

I know they are "legal" but if I had to edit the file from the pc, it will not easy to read it.

Giuseppe Marullo

P.S: Diego, the interface is not fried, and the other I got has a DC to AC converter inside to run from batteries! I didn't test battery operation yet, but it should work @9VDC.

      
Re: DAT files from a 41 using 82164A
Message #2 Posted by Emmanuel, France on 21 Dec 2003, 11:13 a.m.,
in response to message #1 by Giuseppe Marullo

Prefer 8V. ;o)
I use X-I/O with 82164 and 82169 to save and get programs.
            
Re: DAT files from a 41 using 82164A
Message #3 Posted by Giuseppe Marullo on 21 Dec 2003, 11:40 a.m.,
in response to message #2 by Emmanuel, France

Emmanuel, I didn't test the interface yet with batteries. It was in a strange enclosure and the battery holder has 6x1.5V batteries, so it should run at 9V. See the auction:

http://cgi.ebay.com/ws/eBayISAPI.dllViewItem&category=15403&item=2764068279

I opened it and it has little black box, I suppose it will take care of the rs232 voltages. The nice thing is that the interface works using a AC adapter too.

I am currently using EXT I/O + 82164A to perform the program transfers, I am waiting the hpil pc card (sigh).

No utility can perform a complete translation back and forth between DAT and TXT file formats retaining the original instructions?

                  
Re: DAT files from a 41 using 82164A
Message #4 Posted by Emmanuel, France on 21 Dec 2003, 1:18 p.m.,
in response to message #3 by Giuseppe Marullo

The page cannot be found.
I think you are talking about an Hand Held Products HP-IL/RS-232 interface.
A guy in USA sent me one but I never received it.
Certainly lost in mail. Alas for me.
With your 6x1.28V battery pack, it's autopowered.
The buffer is bigger than HP-82164A.
According to infos I collected, HHP model works like HP interface.

Edited: 21 Dec 2003, 1:22 p.m.

                        
Here's the 'link'
Message #5 Posted by Raymond Del Tondo on 21 Dec 2003, 1:33 p.m.,
in response to message #4 by Emmanuel, France

Hi,

just take the auction number 2764068279, enter it in the search field of eBay, and there you are;-)

The seller was from my home town Hannover, too bad I didn't notice the auction at the time...

Regards,

Raymond

                        
Re: DAT files from a 41 using 82164A
Message #6 Posted by Giuseppe Marullo on 21 Dec 2003, 2:08 p.m.,
in response to message #4 by Emmanuel, France

Emmanuel, it is a modified HP82164A enclosed into a plastic case. The 82164 has been modified inside to accept the voltage provided from 6 1.5 Batteries. Sorry for the broken link, these are the photos I wanted to show you:

http://www.xar.it/download/hp82164a.zip (about 1200k )

The turquese box is the battery holder.

So, noone willing to tell how to get a source (without XROM statements) from a DAT file?

                              
Re: DAT files from a 41 using 82164A
Message #7 Posted by Emmanuel, France on 21 Dec 2003, 2:49 p.m.,
in response to message #6 by Giuseppe Marullo

Thanks. Got the right pictures.
A box to protect the interface and another power supply in order to replace
the HP82066B or HP82059D adapter.
Thus your interface is really portable. Well done!
***
About your DAT file, I presume that you are talking about
the format when you save a program with X-I/O
Please refer to the Synthetix Reference Card.

00B6C000F700434F4E464947 00171B1C1301A9F39673B181 FB504147452044454255543F 8EAE7308A800A801A802B700 0CA8010AA800B9000FA8010D A802A803B7000BA801B900CF 0FA8010EA80009A80307F754 41494C4C453F8E879C00A91C A91D9B739A73A819AE73B700 C20FF20038A806A805C401F2 0034A807B651C401F3003136 A806A805A804068700121A16 131510171411000000000005 ACF3F27F2AADF3F27F2D6900 11104264B5D27E0000000000 00CC072DF9

is the following program.

01 LBL "CONFIG" 02 7 E-3 03 LBL 00 04 CF IND X 05 ISG X 06 GTO 00 07 "PAGE DEBUT?" 08 PROMPT 09 GTO IND X 10 LBL 07 11 SF 00 12 SF 01 13 SF 02 14 GTO 06 15 LBL 11 16 SF 01 17 LBL 09 18 SF 00 19 GTO 08 20 LBL 14 21 SF 01 22 LBL 12 23 SF 02 24 SF 03 25 GTO 06 26 LBL 10 27 SF 01 28 GTO 08 29 LBL 15 30 SF 01 31 LBL 13 32 SF 00 33 LBL 08 34 SF 03 35 LBL 06 36 "TAILLE?" 37 PROMPT 38 CLA 39 FIX 0 40 CF 28 41 CF 29 42 ARCL X 43 ASTO X 44 SF 25 45 GTO IND X 46 GTO 06 47 LBL "8" 48 SF 06 49 SF 05 50 LBL "4" 51 SF 07 52 GTO 05 53 LBL "16" 54 SF 06 55 SF 05 56 SF 04 57 LBL 05 58 CLA 59 2,6350741 60 LBL 04 61 FS? IND X 62 "*" 63 FC? IND X 64 "-" 65 FRC 66 10 67 * 68 X0? 69 GTO 04 70 AVIEW 71 END

Edited: 21 Dec 2003, 3:03 p.m.

                              
HPILCOM might do the job...
Message #8 Posted by Hans Brueggemann [GER] on 21 Dec 2003, 2:56 p.m.,
in response to message #6 by Giuseppe Marullo

guiseppe, drop me a line and i'll be sending you my HPILCOM. it is a program that connects a pc to an HP82164A. when 'printing' a program from an HP41 to it, it makes the xrom translations and adds them as a comment to the program lines. maybe that's (somehow) what you are looking for.

cheers, hans

p-o-r-k-p-i-e-h-a-t-@-g-m-x-.-n-e-t (remove all minus signs)

                                    
Re: HPILCOM might do the job...
Message #9 Posted by Emmanuel, France on 21 Dec 2003, 3:01 p.m.,
in response to message #8 by Hans Brueggemann [GER]

Dear Hans,
I'm interested too. ;o).
Thanks in any case.
                                          
Re: HPILCOM might do the job...
Message #10 Posted by Giuseppe Marullo on 21 Dec 2003, 4:09 p.m.,
in response to message #9 by Emmanuel, France

Hans and Emmanuel, I am interesting in having the programs into the pc as a mean to backup them from the calculator.

This is done using .DAT format, and it worked in getting the file from the calculator to the pc. Actually I didn't succeded in putting it back to the calculator, but I was using a cut & paste from Hyperterminal, so it should work using something else.

I give it as granted, I will take a look using linux.

Once I got the .DAT file, I could decompile it to see it and maybe modify it while on the pc, but it is not too readable, because HP41UCC does not translate statement like SELECT and FINDID, REMOTE etc and shows instead XROM xx,yy.

AFAIK, it should do it, but actually I was not able to do it.

BTW, is it possible to list a program to the rs232?

Hans, I am very interested in your program (you have mail).

I am waiting a HPIL-PC interface, but it has not arrived yet. Anyway, using a serial port is always apreciated, you never know what happens with these modern pc. Serial ports are forever...

                                                
Re: HPILCOM might do the job... Danke sehr, Hans!
Message #11 Posted by Emmanuel, France on 22 Dec 2003, 5:30 a.m.,
in response to message #10 by Giuseppe Marullo

Yes, it's possible.
I use a DOS version of Procomm for listing a program, disassembling a ROM
and saving/getting programs with X-I/O.
It works under Dos, Win3.X, Win9X and XP.
Parameters are 9600,8,n,1 COM1 or COM2, ASCII download.
On HP-41, n SELECT, MANIO and PRP 'file name'
n is the address of your HP82164A.

Edited: 22 Dec 2003, 5:33 a.m.

                                    
Re: HPILCOM might do the job...
Message #12 Posted by mikeD on 3 Jan 2004, 11:09 a.m.,
in response to message #8 by Hans Brueggemann [GER]

Hi, I saw you message about connecting the HP41 to a pc, would your HPILCOM program also work for connecting an HP71 to a PC via the 82164A? If so, may I get a copy to try also??

Thanks,

mike

      
Re: DAT files from a 41 using 82164A
Message #13 Posted by Diego Diaz on 21 Dec 2003, 6:07 p.m.,
in response to message #1 by Giuseppe Marullo

Hi Giussepe, folks,

That's real good!! I was still afraid for your trafo's "health"... :-)

Hope you enjoy your Xmas "toys".

With my best wishes from Spain to all of you.

Diego.

      
Re: DAT files from a 41 using 82164A
Message #14 Posted by David on 22 Dec 2003, 10:46 p.m.,
in response to message #1 by Giuseppe Marullo

Giuseppe, The problem is HP41uuc. It's translation table doesn't have all "ROM" instructions. Since all "ROM" instructions are really XROM calls the program simple decodes the hex to the XROM code and decimal representations of ROM ID and Instruction ID if it can't find a match it the translation table. You could use a text processor with a specialized Dictionary or Macro replace, build a list of XROM #,# to Instruction name for all the ROMs you have and post-process the text file HP41ucc provides.

            
Re: DAT files from a 41 using 82164A
Message #15 Posted by Giuseppe Marullo on 23 Dec 2003, 1:15 p.m.,
in response to message #14 by David

David Diego and all, thank you for your answer. I was thinking that hp41uc was able to translate them, maybe I am wrong.

I asked about this to Leo Duran (the creator), that was kind to answer me, I will receive an answer soon from him.

As you may see from the previous answers, I was able to list a program thru the serial port, retaining its original instructions. Yes, I din't know it was possible, huh?

HPILCOM seems pretty the thing I need, but I have not tried to connect the CX yet.

Merry Xmas to all,

Giuseppe Marullo


[ Return to Index | Top of Index ]

Go back to the main exhibit hall