Post Reply 
HP41 port to HP42s.
01-04-2022, 04:51 PM (This post was last modified: 01-04-2022 04:55 PM by ggauny@live.fr.)
Post: #1
HP41 port to HP42s.
Hi all,

I'm trying to port some of old HP41's programs to HP42s. I search equivalent instructions for ACA and ACX existing in HP41 but not in HP42s.

Maybe AIP, AGRAPH, ATOX ?

Can you help me ?
Thank in advance.

Gérard.
Find all posts by this user
Quote this message in a reply
01-04-2022, 07:09 PM
Post: #2
RE: HP41 port to HP42s.
Neither ACA nor ACX are included in any version of the bare-bones HP-41, not even the 41CX. They do become available when the Printer ROM is plugged in, or an HP-IL module, or the Infrared Printer module. The DM42 doesn't include the ACA or ACX functions either.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
01-04-2022, 10:12 PM
Post: #3
RE: HP41 port to HP42s.
ACA (accumulate alpha) adds the contents of the ALPHA register to the printer's buffer, and ACX (accumulate X) adds the contents of the X register. There will probably also be PRBUF instructions, which cause the printer to print the contents of the buffer without waiting for it to fill up. The buffer is automatically printed when it fills up, so a program may choose not to use PRBUF during processing, and only call it once, at the end, to flush whatever hasn't been printed yet. Or it may call PRBUF more frequently, to get the output to appear without delay.

There are no direct equivalents on the HP-42S, since it doesn't expose the print buffer the way the HP-82143A and the HP-IL printers do. So logic that makes heavy use of ACA, ACX, and other AC* functions, may not be trivial to port, at least not to a real 42S. (In Free42, you could emulate the buffer using long strings and APPEND.)
Visit this user's website Find all posts by this user
Quote this message in a reply
01-05-2022, 08:29 AM
Post: #4
RE: HP41 port to HP42s.
Hi,

Many thanks. I will try a way to do.
Have a good day.

Gérard.
Find all posts by this user
Quote this message in a reply
Post Reply 




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