HP Forums

Full Version: Petroleum Fluids Pac unt conversion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Hi all. I recently came in possession of a Petroleum Fluids Pac without a manual. I really only purchased it because of the unit conversions. The only problem is I don't know what function starts the unit conversion! Does anyone know how to get it working? Thanks

okay, i found the function! But I want to copy it to extended memory on a 41cx, but (the function is CON) when I try to copy CON to main memory, I get nonexistant? how would I get around this? it must be existant because I can run it from the module......

Hi;

you can only copy a program from a ROM module to the calculator's RAM. If execute [CAT] 2, you'll see

CON
instead of
LBL'CON
This means CON is a function and cannot be copied to RAM. That's why you have a [NONEXISTENT] message.

Cheers.

So there is no way at all? could I hand copy the code into my hp-41 and save it as a function? I am dshort

Hi;

as a function, instead of a program, CON cannot be listed in the display.

You can list almost everything in the Petroleum Fluid module except for:

CZ
CCR
CON
INCON
All others, since LBL'Z to LBL'INU can be copied into RAM and listed, printed, altered, saved in magnetic cards, etc, as an ordinary program. CON is treated by the calculator's operating system as SIN or LN. They cannot be listed as an ordinary program.

Unfortunately.

Best regards.

CZ, CCR, Con and INCON are written in 41's M-code, so they cannot be accessed by the user. Regarding CON and INCON, make sur the units are spelled correctlty (i.e., PSI-ATM to convert between psi and atm) and always separated by a dash.

Unless you have a RAMBOX or an HEPAX module, it's better to keep the module plugged to the calculator, as I do with mine. It's a great addition!

Feel free to e-mail me for a units listing and some rules to follow when converting units.

Darn.....I use 6 modules total, and want to get rid of the petroleum one because all I need from it are the units.

is some sort of copy protection?

Hi;

do you have an extension for the HP41 ports? I'm a lot curious and I would like to know how does it look like.

Mine are conventional, 4-places ports.

About CON and any other HP41 function: the goal is not to protect the code itself, even if it is a consequence of the use of M-code (machine code). By using M-code, many internal resources are easily and directly accessible, being in some cases, unavailable for programs.

It's a fact that CON could be written as a program, but for sure it's functionality would be sacrificed somehow, and it would probably use resources that would be needed by other programs, like subroutine calls. Also, an equivalent program would be bigger than the function.

Cheers.