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 
Text files import/export on HP-41CX, HP-IL, Mac OS
07-14-2016, 02:05 PM
Post: #1
Text files import/export on HP-41CX, HP-IL, Mac OS
I'm having hard times figuring out how to import CX text files, made on my mac, to the 41CX. My setup is HP-41CX with 2 extended memory modules, HP-IL module, PIL-Box, pyILPER on Mac OS Yosemite. I use those text files as databases and printout, on the field, with the 41.
For export I use this tiny program inspired from ‘Extended Functions Made Easy’ by Keith Jarett and then copy the content from the printer’s log of the Pyilper program:

Code:

01◆LBL "PRFLAS"
 02 STO L
 03 ADV
 04 INT
 05 SEEKPTA
 06 LASTX
 07 FRC
 08 SF 25
 09◆LBL 01
 10 GETREC
 11 FC? 25
 12 RTN
 13 ACA
 14 FS? 17
 15 GTO 01
 16 PRBUF
 17 X=0?
 18 GTO 01
 19 ISG L
 20 GTO 01
 21 CLA
 22 END

Use:
- Put the name file on the Alpha register or erase it to work on the current selected text file.
- Put 0 on the X register to print the entire file or use ISG format iii.fff where i is the initial record (or line) to be printed and f the final one.
The stack is lost, L is used as index, no other register is used.

Be my saver!
Thanks
André
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Text files import/export on HP-41CX, HP-IL, Mac OS - dayd - 07-14-2016 02:05 PM



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