The following warnings occurred:
Warning [2] Undefined array key 26547 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26551 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26555 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26605 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26609 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26611 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26614 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26678 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26683 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26555 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26614 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 26683 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





Converting HP-97 Programs to HP-41



#10

Is there a program for the PC that will take a text file of HP-97 code and convert it to HP-41 code? I have a book called "Building Systems Design with Programmable Calculators". Program listings are included for both the TI-59 and the HP-97. I'd like to test some of the programs out on the HP-41 emulator.

Using the tables from Section 3 of the Card Reader Manual, it probally wouldn't be too difficult for me to write a conversion program. I was wondering if someone already had???

Thanks.


#11

Hi;

does the emulator also emulates the card reder functions? The tables in the card reader's manual consider its existence. Except for a few functions AND situations (local labels), there is always a way to create an HP41's "version" for the HP67/97 program instead of a "translation", but it demands inspection, not only a single exchange.

But the task is very interesting. BTW, would you, please, specify some data about this book? Editors, authors, date... it seems to be a book from the good times...

I "lost" a book about Designning Switching Power Supplies and it had the listings of many programs for the HP41 and TI58/59 to help getting parameters.

Success!


#12

I think one of the emulators might emulate the card reader functions. I'll have to check to see which one does. I normally use V41, which doesn't, as far as I know.

The book was by Sital Daryanani, PE, who was the Chief of Design at Syska & Hennessy Engineers in New York. The book is Copyright 1980, published by McGraw-Hill Book Company, Architectural Record Books. The book is hardback, 306 pages.

I had picked the book up in 1980 when I was working at EBASCO Engineers in New York and was doing several joint projects with Syska & Hennessy. I had forgotten that I even had the book and ran across it last week when I was unpacking some boxes that had been in storage for many years. I should unpack more boxes - who knows what I might find.

If I get some time this weekend, I may try to code a simple translation program. Depends on how good the Super Bowl game is.

#13

Okay, I did a little review of the card reader manual to see how it converts 67/97 code to 41. The Card Reader Rom has additional functions, i.e., 7DSP7 to correspond to HP-67 DSP 7. It looks like the card reader does a direct function substitution on a step by step basis. It's fairly easy to enter the 67/97 program manually and make these substitutions and as long as card reader is inserted, then program should run fine.

Since the 67/97 uses a separate instruction step for each digit of a number, a good conversion program could consolidate them into a single instruction on the 41. So the program could use fewer steps. As long as the 67/97 code doesn't do anything tricky and only uses labels for all branches, a single pass parser could probally do the job. If the program contains indirect addressing, then a two pass would probally be needed to do some fixup on the addressing. That might get a little tricky.

I wonder if someone could scan pages 42 through 46 of the card reader manual which contains the Compability function List. I don't have a copy of the card reader manual and have been looking at the one on the Museum CDROM, but it's quality on these pages is not the best. A good scan at 300 DPI would really be appreciated.

Or if someone has an extra card reader manual they wouldn't mind parting with - just e-mail me the price.

I'll probally try this weekend to make a first pass at a conversion program. I'll let you know how it goes.


#14

Hi;

I'm scanning them for you right now. As soon as they are ready, I'm sending them to the e-mail you specified in your post, right?

Also, the reader's manual adds a lot of changes taht must be made to existing 67/97 applications programs in many pakcs; I'll add them, too, o.k.?

I'll make sure the scans are readable.

Best regards.


#15

Luiz, Thanks, I really appreciate it. Yes, use the bjh@vpes.com. Sounds good on the section on application packs. They may help me on items to look for during the conversion process.


#16

Hi, Bill;

I'm sending you a sample at this very moment so you can check for image preferences.

It took me a while because of the reasons I mentioned in teh e-mail.

Best regards.

#17

I want to thank Luiz for providing scans of the HP-97 to Hp-41 compatibility pages - I can now read the information. Will be starting the program this weekend. I'm pretty ruty on coding but hope to throw together something in Turbo Pascal this weeked. I'll let everyone know how I make out.


#18

Hello, Bill;

please, be my guest. It's a pleasure to do something to anyone who gives to our gesture the consideration you are giving now. As I always say, this is gold... Thank you for your feedback.

About your converting program, have you considered the possibility of having a final ASCII code that can be directly used by other converting programs? I mentioned this because there is a DOS-based program named HP41UC.EXE (UC = Universal Converter) that converts programs listed in almost any code (if not all) available for the HP41 to the other. You may input ASCII (text), RAW, LIF and other formats and generate an output file coded in any of these codes, or an extra, printable, HP41's barcode-compatible file. If your program reads an HP67/97 list and generate an ASCII file with the equivalent listing for the HP41 that can be directly read by HP41UC.EXE, than you may also have the converted output from the HP41UC.EXE, allowing the HP41's version of the original HP67/97 listing to be directly loaded in an HP41 with HPIL connection (or recorder in a floppy) or printed as a barcode.

I do not remember were the HP41UC.EXE is available at the net for download, but I still have the original .ZIP file. In this file there is a .DOC (or .TXT, I don't remember) that describes how to perform any of the conversions and mostly how should the text be organized so that it can be read by HP41UC.EXE. As you are reading text and reordering and substituting strings, formatting the final text accordingly will not be so much trouble, right? I know it is another task and if you allow me to, I'd suggest trying one of both:
> focus this subject in the main program, what would lead you to two concerns, and would probably take a lot more of your development time, OR
> generate a first source as a first task, save it into a file, and slightly change it to an HP41UC.EXE compatible format and save it into another file (that's what I would do)

I hope you forgive-me being so nosy (as if I am not nosy...) but sometimes good suggestions may come form were we do not expect, right? This is just a guess because I think it can be done...

Best regards.

Luiz C. Vieira (Brazil)


Possibly Related Threads…
Thread Author Replies Views Last Post
  Does the HP Prime really compiles the user programs? CompSystems 3 2,702 12-13-2013, 01:55 PM
Last Post: Mike Morrow
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 5,555 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP Prime: Lists in programs Alberto Candel 7 3,453 12-04-2013, 02:16 AM
Last Post: Alberto Candel
  HP Prime: FLOOR, iPart , and their use in programs Alberto Candel 6 2,554 12-01-2013, 10:17 PM
Last Post: Alberto Candel
  [HP-41][HP-71B][HP-75C/D][HP-IL] Found a mother-lode of programs on ftp.stak.tk rdj 2 1,650 11-26-2013, 05:31 PM
Last Post: rdj
  HP Prime: matrices in programs, in need of help Alberto Candel 9 3,174 11-26-2013, 01:33 AM
Last Post: cyrille de Brébisson
  HP-97 Printer Malfunction Dan Lewis 17 5,176 11-25-2013, 10:18 AM
Last Post: Thomas Chrapkiewicz
  HP Prime: password protection for programs Davi Ribeiro de Oliveira 2 1,566 11-22-2013, 12:45 PM
Last Post: Geoff Quickfall
  Question about transfering programs to the HP Prime Namir 10 3,318 11-17-2013, 04:01 PM
Last Post: Namir
  Converting Great Circle Navigation from 41C to 42S Bill Triplett 11 3,377 11-13-2013, 07:24 AM
Last Post: Kimberly Thompson

Forum Jump: