The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
How to export HP-41 programs to PC
04-27-2020, 04:17 PM
Post: #1
How to export HP-41 programs to PC
Dear community,
I am looking for advice.

I am still using my 1983 purchased HP-41CX. Over the recent years I built up a little collection (HP-41 CX, HP-41CV, Printer 82143A, 82160A HP-IL Module, Cassette Drive 82161A, PILbox, 82104A Card Reader, Math I, Circuits I), just for the fun of it.

Everything works just fine (apart from some trouble with the printer pinch rollers, but that’s a different story.).
With JFG PILBOX and the ILPER 2.4 SW I can transfer files to real tapes or virtual mass storage. So far so good.

But I haven’t been able to transfer my own programs to the PC in order to upload them into one of the emulators(PC version from W. Furlow, Android go41CX from Olivier de Smet)-

What I can use on the PC is the disc-image file provided by the ILPER tool, HDRIVE1.dat
I can use this file in the EMU41 program and read the programs with the READP command. So far so good.

But how to get the programs out of HDRIVE1.dat in form of single program files, let’s say prog1.raw, prog2.raw, … . on the PC. (Or .text or any other format I can use in an emulator HP41UC.EXE).

I tried the following (HPIL Module, PILBOX and PC (ILPER, Dosbox installed)):
1. Hp41UC.exe program

The hp41UC conversion program complains, when I try to convert the HDRIVE1.date file.
hp41uc.exe /d=HDRIVE1.dat / t<=HDRIVE1.txt

(Error: invalid ASCII hex-digit in 4 byte header [60])
HDRIVE1.dat s an image file, with multiple files on it, not a single program file. I assume, that is the reason.
I successfully converted a prog_xy.dat file I copied from Warren Furlows DVD. That works just fine. [Does that mean two different file types share the same .dat file extension?]

2. EMU41
Alternatively, I tried the OUTP command in EMU41, but it doesn’t work. What do I need to do exactly for this command?
Is it even the right command with my setup? I read the emu41eng.pdf doc, but I found no hint how to export programs.


3. DOSLINK
With the DOSLING device in ILPer I tried to print a program into a text file, like prog1.txt, but it never worked.
I selected DOSLINK with 4 SELECT as current device.
I stored an empty prog1.txt file (only 1 empty line) in the ILPer directory and selected it as output file in the DOSLINK device.
Then I put ‘prog1 as active program in the hp41, by rolling through CAT1 , etc.
Then I typed LIST 020 … -> no data were transferred to the prog1.txt file. I closed the file with the C button. It was printed on the ILPER printer, but nothing came into the prog1.txt File.
PRP ‘prog.1’ same result.
[but I managed to read a text file stored in the ILPER directory into ASCII file in the extended memory, with the INA command.]



Can anyone show me a procedure or explain me how I can get my files out of the real or virtual machines into .raw files (or any other filetype, I can work with).
Needless to say that I spend lots of hours for searching the web, forum, etc.
I am convinced the problems sits somewhere between chair and keyboard.. Big Grin

Thanks for your support,
Uli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to export HP-41 programs to PC - Drulli - 04-27-2020 04:17 PM



User(s) browsing this thread: 1 Guest(s)