The Museum of HP Calculators

HP Forum Archive 09

[ Return to Index | Top of Index ]

Petroleum Fluids Pac unt conversion
Message #1 Posted by David Erdman on 11 Jan 2003, 12:48 p.m.

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

      
Re: Petroleum Fluids Pac unt conversion
Message #2 Posted by DE on 11 Jan 2003, 2:06 p.m.,
in response to message #1 by David Erdman

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......

            
Re: Petroleum Fluids Pac unt conversion
Message #3 Posted by Vieira, Luiz C. (Brazil) on 11 Jan 2003, 2:31 p.m.,
in response to message #2 by DE

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.

                  
Re: Petroleum Fluids Pac unt conversion
Message #4 Posted by DE on 11 Jan 2003, 2:42 p.m.,
in response to message #3 by Vieira, Luiz C. (Brazil)

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

                        
Re: Petroleum Fluids Pac unt conversion
Message #5 Posted by Vieira, Luiz C. (Brazil) on 11 Jan 2003, 3:54 p.m.,
in response to message #4 by DE

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.

                              
Re: Petroleum Fluids Pac unt conversion
Message #6 Posted by Juan J on 12 Jan 2003, 11:33 a.m.,
in response to message #5 by Vieira, Luiz C. (Brazil)

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.

                                    
Re: Petroleum Fluids Pac unt conversion
Message #7 Posted by DE on 12 Jan 2003, 9:59 p.m.,
in response to message #6 by Juan J

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?

                                          
Re: Petroleum Fluids Pac unt conversion
Message #8 Posted by Vieira, Luiz C. (Brazil) on 12 Jan 2003, 10:36 p.m.,
in response to message #7 by DE

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.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall