DAT files from a 41 using 82164A

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.


Prefer 8V. ;o)
I use X-I/O with 82164 and 82169 to save and get programs.

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:


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?


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.



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...




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?


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.


is the following program.

02 7 E-3
03 LBL 00
05 ISG X
06 GTO 00
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?"
38 CLA
39 FIX 0
40 CF 28
41 CF 29
44 SF 25
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
71 END

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


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

(remove all minus signs)


Dear Hans,
I'm interested too. ;o).
Thanks in any case.

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...


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.



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.


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.


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


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??



Possibly Related Threads...
Thread Author Replies Views Last Post
  How to copy files from 9114B to hard drive via PIL-box? Joe Horn 23 8,141 12-14-2013, 11:57 PM
Last Post: Geoff Quickfall
  How to update PRIME Firmware using Files on PC Harold A Climer 2 1,532 12-04-2013, 12:05 PM
Last Post: Erwin Ried
  Loading .prgm files to the Prime Thomas Chrapkiewicz 8 2,341 10-25-2013, 09:34 AM
Last Post: Eddie W. Shore
  Proper location for files on the PC for Connectivity Kit ,etc. Harold A Climer 8 2,163 10-23-2013, 02:43 AM
Last Post: Marcus von Cube, Germany
  Updated PPC DVD Version 2.10: HP-41 Searchable Program Files and Scannable Barcode Jake Schwartz 3 1,481 09-27-2013, 09:51 PM
Last Post: Olivier (Wa)
  HHC 2013 speakers' files Joe Horn 2 1,295 09-26-2013, 02:51 AM
Last Post: Geoff Quickfall
  Nonpareil Rom files davorin 2 1,162 09-20-2013, 06:20 PM
Last Post: Didier Lachieze
  [Sigma]DAT on the 50G Matt Agajanian 2 922 09-06-2013, 09:46 PM
Last Post: Matt Agajanian
  Trouble with RS-232/HP-IL Interface (HP 82164A) Hans Holzach 9 2,520 01-08-2013, 01:52 AM
Last Post: Marcus von Cube, Germany
  41 and 71B Overlays, DXF Files? aj04062 0 803 11-25-2012, 08:04 AM
Last Post: aj04062

Forum Jump: