Transferring programs to and from an HP41CL
|
11-23-2017, 01:03 PM
Post: #1
|
|||
|
|||
Transferring programs to and from an HP41CL
Hi,
What is the best way to transfer programs to and from the HP41CL using the serial port, and a Macintosh (no PC, no Linux). I have downloaded the Ruby script to no success so far. It would be nice to be able to use the Mac (or any other PC) as a virtual printer (print to file), like an HP82162A for example. Maybe this is totally feasible, and has been done. I’m a newbie at this or with a CL for that matter. Aside from the Ruby Script, I haven’t found any other info on this. Thanks Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 01:46 PM
(This post was last modified: 11-23-2017 01:48 PM by Sylvain Cote.)
Post: #2
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 01:03 PM)Neve Wrote: What is the best way to transfer programs to and from the HP41CL using the serial port, and a Macintosh (no PC, no Linux).By using the clupdate program of course Extract from the clupdate-1.0.0-readme.txt included in the clupdate-1.0.0.zip file. Code: ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Assuming YFNX is mapped and activated, the minimum do to is ... Code: calculator: SERINI Sylvain edit: typo |
|||
11-23-2017, 01:51 PM
Post: #3
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
Sylvain,
I was talking about RPN programs, not ROM images. Or did I miss something....? Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 02:08 PM
(This post was last modified: 11-23-2017 02:10 PM by Neve.)
Post: #4
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 01:24 PM)Geir Isene Wrote: What is the problem you encounter with the Ruby script? I think my Ruby is not compatible with MacOS 10.13.2 High Sierra. I'll figure it out. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 02:22 PM
Post: #5
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 02:14 PM)Geir Isene Wrote: Please do tell me what you figure out ☺️ Will do. But I don’t think it has anything to do with the script. I may just not have installed Ruby correctly. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 02:38 PM
(This post was last modified: 11-23-2017 02:39 PM by Neve.)
Post: #6
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 02:58 PM
Post: #7
|
|||
|
|||
RE: Transferring programs to and from an HP41CL | |||
11-23-2017, 06:23 PM
Post: #8
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
I guess I’m gonna have to get myself a PIL box then...
Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 06:24 PM
Post: #9
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 02:58 PM)Sylvain Cote Wrote:(11-23-2017 01:51 PM)Neve Wrote: Sylvain,Sorry, I did not get that, my mistake. No sweat. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 09:32 PM
Post: #10
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
Maybe this is a dumb question, but other than updating the CL board, what can the serial port be used for for an average user like me? Any usefulness to it at all?
Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 09:39 PM
(This post was last modified: 11-23-2017 09:39 PM by Neve.)
Post: #11
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 09:35 PM)Geir Isene Wrote: Well, updating the ROMs in your CL is a pretty big deal, though. Of course!! I’m not saying it’s not a big deal, I’m just asking what it can be used for other than that. I don’t have an HEPAX RAM. Thank you. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-23-2017, 11:02 PM
Post: #12
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
Assuming I've understood the original post correctly, he's after a way to get FOCAL programs (not whole ROM images) into his 41CL using his serial cable. Is there no way to do this aside from purchasing yet another piece of hardware (PILbox)?
(Post 132) Regards, BrickViking HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a) |
|||
11-23-2017, 11:57 PM
Post: #13
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 11:02 PM)brickviking Wrote: Is there no way to do this aside from purchasing yet another piece of hardware (PILbox)? My short answer is no. (knowing there is no better way to get someone to come up with one than to say it can't be done...). Keep in mind that the 41 was popular before PCs were widely used, so serial ports, cables, baud rates, etc. were still years and many $$ away. In recent years, JF Garnier's PIL-Box has IMHO enabled a whole new 2nd life of interest in the 41 (as well as 71B, 75C, etc.), by simulating the original peripherals with modern and cheap hardware; since they exactly simulate the original HP-IL, all the original tools, ROMs, programs, accessories, etc. work as they originally did, so the need for serial comm. is not so important. Also, hardly any PCs come with serial ports any more, and USB/Serial converters are often plagued by driver issues, cheap clone chipsets that don't work on all machines, and other small but highly annoying issues which frustrate many users. USB (by comparison) just works. If you really like to tinker and get deep with the tools, Geir's answer is totally correct and great advice, you can do this with Serial transfers to RAM blocks and use HEPAX to move it to Expanded memory, etc. but it's a 37-step process to move a single FOCAL program. With a PIL-Box, it's 1 or 2 steps. Which is not to say one is "better" than the other, it's just a matter of how you want to spend your time - moving the FOCAL program, or using it once moved. Short recommendation: Get a PIL-Box. It's a decision you will never regret. Small factoid to consider: Have you ever seen an add to sell a PIL-Box in the classifieds, or seen a post complaining that the PIL-Box isn't worthwhile? --Bob Prosperi |
|||
11-24-2017, 01:28 AM
Post: #14
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 11:57 PM)rprosperi Wrote: Short recommendation: Get a PIL-Box. It's a decision you will never regret.Small detail left out of the PILBox discussion (I have one and can attest to its great value). Without an HP-IL interface for the 41 and at least one HP-IL cable, the PILBox is little more than a paperweight you get to assemble yourself. Unless you already have those accessories, count on spending at least as much for them as for the PILBox. Not to discourage getting one, just pointing out the prerequisites. As Bob says, once acquired, you won't regret having one. I have also gone through the "37-step process" to transfer a HEPAX image, disassemble it, assemble other code and merge, then package with MLDL2K into a ROM image that can be transferred back. Quite a pain, yes, but instructive. And free. Another possibility might be to use go41cx or go41cxt to create the HEPAX image and transfer that to the 41CL. You may (or may not) find it easier to key in a FOCAL program with an emulator on a PC or tablet. The go41cxt program on a tablet is well worth the small coin to acquire, and really, really useful all by itself. ~Mark Remember kids, "In a democracy, you get the government you deserve." |
|||
11-24-2017, 01:42 AM
(This post was last modified: 11-24-2017 01:49 AM by Dave Frederickson.)
Post: #15
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 11:57 PM)rprosperi Wrote: Small factoid to consider: Have you ever seen an add to sell a PIL-Box in the classifieds, or seen a post complaining that the PIL-Box isn't worthwhile? First, I'm a strong proponent of the PIL-Box. I have two. Second, yes, I have seen one for sale here in the Classifieds by a strong proponent of the 41CL (you bought it ). I was baffled by the sale. Dave |
|||
11-24-2017, 03:28 AM
Post: #16
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-24-2017 01:42 AM)Dave Frederickson Wrote: Second, yes, I have seen one for sale here in the Classifieds by a strong proponent of the 41CL (you bought it ). I was baffled by the sale. LOL, you got me. He had two, so was selling one. Now, I have two, too. --Bob Prosperi |
|||
11-24-2017, 11:00 AM
Post: #17
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-23-2017 11:02 PM)brickviking Wrote: Assuming I've understood the original post correctly, he's after a way to get FOCAL programs (not whole ROM images) into his 41CL using his serial cable. Is there no way to do this aside from purchasing yet another piece of hardware (PILbox)? That’s exactly that. You understood correctly. Engineer & Senior IT Executive 2x HP41CL, HP41CX, HP48GX, HP50g, 2x82162A Printer, 2x82143A Printer, 2x HP-IL, 2x Card-Readers, PIL-BOX. |
|||
11-24-2017, 02:32 PM
Post: #18
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-24-2017 10:40 AM)Geir Isene Wrote: Why would I want two? Sell me on the idea of a second one ☺️ Basically for convenience. My original unit is mounted in the desktop stand I made for use with 71B machines; the adapter is under the angled platform that holds the machine, and the wires extend out each side, USB to the PC and HP-IL leads to my loop next to and above the desk. I use the 71B many times a week. But I also use a 75C often and every now and then a 41C (and occasionally an HP-110 Portable Plus) for other side HP-IL trips, and it was a hassle to disconnect/reconnect the whole setup, so a 2nd PIL-Box is used for these machines. I suppose one could also use both PIL-Boxes together to provide even more virtual devices, but I'd assume they would need to be connected to different PCs... hmmm.... some interesting things to check out here coming to mind, so thanks for the question Geir. --Bob Prosperi |
|||
11-24-2017, 06:18 PM
Post: #19
|
|||
|
|||
RE: Transferring programs to and from an HP41CL
(11-24-2017 10:40 AM)Geir Isene Wrote: Why would I want two? Sell me on the idea of a second one ☺️I have 2 x PIL-Box and 2 x PIL-IO. In the case of the PIL-Box ... When I am doing IL device testing, I put one PIL-Box before and one PIL-Box after the device under test. It allow me to see in the Virtual-IL Scope the exact messages the device is consuming and the response message it is producing. Controller <--HPIL--> PIL-Box-1 <--HPIL--> DeviceUnderTest <--HPIL--> PIL-Box-2 <--HPIL--> Controller On Windows: PIL-Box-1 <--USB--> Computer (USB port 1) running: ILPilBox-1 <--TCP--> ILScope-1 On Windows: PIL-Box-2 <--USB--> Computer (USB port 2) running: ILPilBox-2 <--TCP--> ILScope-2 On Linux/macOS: PIL-Box-1 <--USB--> Computer (USB port 1) running: pyILPER-1 with the scope tab On Linux/macOS: PIL-Box-2 <--USB--> Computer (USB port 2) running: pyILPER-2 with the scope tab Sylvain |
|||
11-24-2017, 07:28 PM
Post: #20
|
|||
|
|||
RE: Transferring programs to and from an HP41CL | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)