The Museum of HP Calculators

HP Forum Archive 09

[ Return to Index | Top of Index ]

How to turn off GRAD on HP41C
Message #1 Posted by Pat on 31 Aug 2002, 9:09 p.m.

WHat is and how to turn off the word GRAD on display on HP41C?

      
Re: How to turn off GRAD on HP41C
Message #2 Posted by Les Bell (Sydney) on 31 Aug 2002, 9:31 p.m.,
in response to message #1 by Pat

400 grads = 1 revolution (360 degrees). To switch out of that mode, press either:

<XEQ> <ALPHA> D E G <ALPHA>

or

<XEQ> <ALPHA> R A D <ALPHA>

Best,

--- Les Bell, CISSP [http://www.lesbell.com.au]

            
Re: How to turn off GRAD on HP41C
Message #3 Posted by Pat on 1 Sept 2002, 12:30 a.m.,
in response to message #2 by Les Bell (Sydney)

Thanks Les,

It works, GRAD disappeared. Do you know how I could have gotten there? The key strokes were nontrivial and I have never use the grad/degree/rad functions ever.

                  
Re: How to turn off GRAD on HP41C
Message #4 Posted by Vieira, Luiz C. (Brazil) on 1 Sept 2002, 1:44 a.m.,
in response to message #3 by Pat

Hi;

deg/rad/grad angular modes are set by executing directly their "names", as in [XEQ] [ALPHA] DEG [ALPHA]. This key sequence will result in their respective functions - DEG, RAD or GRAD - and these functions mau be part of a program. The GRAD annunciator (and respective mode) may be set by a running program.

Hope it helps.

Best regards.

                        
Re: How to turn off GRAD on HP41C
Message #5 Posted by thibaut.be on 1 Sept 2002, 4:25 a.m.,
in response to message #4 by Vieira, Luiz C. (Brazil)

I have to check, but I think to remember that the DEG/RAD/GRAD modes can also be activated by flags (SF for Pat).

I'll have a look at the manual and confirm.

                              
Re: How to turn off GRAD on HP41C: Corresponding Flags
Message #6 Posted by Juergen Rodenkirchen (GER) on 1 Sept 2002, 12:30 p.m.,
in response to message #5 by thibaut.be

The corresponding Angular Mode Flags are 42 and 43; Set/Clear combinations of them result in any of the Angular Modes. Status at reset is clear/clear, which represents DEG (if I remember right). The remaining meanings of combinations (which I do not remember) are easily obtained by experiment (just try each of the combinations clear/clear, clear/set, set/clear, set/set for Flags 42/43) :-)

Juergen

                                    
Re: How to turn off GRAD on HP41C: Corresponding Flags
Message #7 Posted by Tony Duell (UK) on 1 Sept 2002, 2:08 p.m.,
in response to message #6 by Juergen Rodenkirchen (GER)

The only problem is that you can't control flags 42 and 43 using SF and CF. You can do it with synthetic programming (of course), or by using one of the 3rd party modules that contains a flag control program that will work with any flag (the PPC ROM being the best known I think).

                                          
But why?
Message #8 Posted by Juergen Rodenkirchen (GER) on 2 Sept 2002, 3:29 a.m.,
in response to message #7 by Tony Duell (UK)

Well, yes, Tony, you're right, my oversight! However, is there any deeper reason why those flags - which are controlling a "user-function" after all - are not accessible for the user at all? I mean, you may set them indirectly by XEQ DEG, GRAD or RAD after all, so where's the reason that HP refused to operate on them directly? OK, you need 3 combinations for the 3 Angular Modes, whereas Flags 42,43 supply 4 combinations. So, I guess, the 4th combination is actually controlling a system state that's not supposed to be changed by the user?

                                                
Re: But why?
Message #9 Posted by thibaut.be on 2 Sept 2002, 4:32 a.m.,
in response to message #8 by Juergen Rodenkirchen (GER)

Maybe the answer is that to control 3 modes, you need at least 2 bits...

                                                      
Re: But why?
Message #10 Posted by Juergen Rodenkirchen (GER) on 2 Sept 2002, 7:41 a.m.,
in response to message #9 by thibaut.be

Do you mean, HP intended to prevent confusion of the "average" user? Might well be. What about similar situations? E.g. Modes (SCI, ENG, FIX): they are controlled by more than 1 Flag and they are "user-functions" as well; I can't remember whether their respective Flags can be controlled by the user directly (by means of SF, CF) or not. However, if your guess is right, HP should have disabled direct control of these too ...

                                                            
Re: But why?
Message #11 Posted by Andrés C. Rodríguez (Argentina) on 2 Sept 2002, 7:54 a.m.,
in response to message #10 by Juergen Rodenkirchen (GER)

Flags between 0 and 10 are controlled only by the user, and have no meaning for the system.

Flags between 11 and 29 are controlled by the user with SF or CF and also by specific functions like [USER], [ALPHA]; and have meaning for the system such as selecting radix and digits grouping, enabling or disabling the beeper, error handling, writing private cards, , overwriting write protected cards, controlling printer modes, enabling Autorun (we could call it AUTOEXEC nowadays), etc.

Flags 30 to 55 are system flags, the user cannot set or clear them except by specific functions like FIX, SCI, ENG, DEG, RAD, GRAD, ON; and some combinations are not enabled or not documented. The user can test them with FS?, FC?; but in some cases the results will be meaningless.

Synthetic programming, and the Extended Functions STOFLAG, RCLFLAG and X<>F instructions allow for advanced flag manipulation; these are the usual ways to test "invalid" flags combinations. I did some experimenting some years ago, without any remarkable result.

                                                                  
Re: But why?
Message #12 Posted by Juergen Rodenkirchen (GER) on 2 Sept 2002, 9:19 a.m.,
in response to message #11 by Andrés C. Rodríguez (Argentina)

Thanks for the summary of Flag control and manipulation, Andres! B.t.w., I liked espec. your comparison of Flag set{11,...,29} with AUTOEXEC :-) Intersesting point of view ...

                                                                        
Re: But why?
Message #13 Posted by Andrés C. Rodríguez (Argentina) on 2 Sept 2002, 5:47 p.m.,
in response to message #12 by Juergen Rodenkirchen (GER)

If Flag 11 is set (if I recall correctly), when the calculator is turned on it will start running the program at the point it was when turned off (as if an automatic R/S have ocurred). That is why I mentioned Autoexec. Keep in mind that Flag 11 is tested and reset each time the calculator is turned on.

For instance, the following program is a fun example:

01 LBL "JOKE"

02 LBL 01

03 SF 11 ; Prepare for autoexec when turned on ...

04 OFF ; Turns itself OFF, waits HERE for someone to turn the calculator ON ...

05 GTO 01 ; Repeat as fast as possible!

06 END

                                                                              
What about CONFIG.SYS?
Message #14 Posted by Juergen Rodenkirchen (GER) on 3 Sept 2002, 3:28 a.m.,
in response to message #13 by Andrés C. Rodríguez (Argentina)

I agree, FL11 used this way certainly is the most obvious that can be compared with AUTOEXEC as it AUTOmatically EXECutes the program you wish on turn on. On the other hand, as all Flags out of the remaining set {12,...,29} will put your calculator in a customized state, would it make sense to compare it with a nowadays_CONFIG.SYS?

                                                                                    
Autoexec.bat and config.sys of a 41C...
Message #15 Posted by thibaut.be on 3 Sept 2002, 9:46 a.m.,
in response to message #14 by Juergen Rodenkirchen (GER)

Config.sys

Device=DoCmd.Activate!WhateverYouFind

Autoexec.bat If ResetSequence=True Then Radix="." Format=Fix(4) AngleMode=Rad AutoOff=True Beef=On End If

Run

You see, no emm386, no himem, no UMB, no conflict.... That's the way (ha-ha ha-ha) we like it !

                                                                                          
X-mem vs. "emm386"
Message #16 Posted by Karl Schneider on 4 Sept 2002, 12:23 a.m.,
in response to message #15 by thibaut.be

Whether added by a module or built into the 41CX:

X-Functions = "emm386".

Unfortunately, X-memory is more like a swap space than extended memory. 2.2 kB RAM can be constraining, as users of the 28C found out...

                                                            
Re: But why?
Message #17 Posted by Chan Tran on 3 Sept 2002, 6:47 p.m.,
in response to message #10 by Juergen Rodenkirchen (GER)

System flags, the ones related to SCI,FIX,ENG or DEG,GRAD and RAD can not be set directly but can be tested in user program so that the program could know which mode the calc is set.

                        
Re: How to turn off GRAD on HP41C
Message #18 Posted by Andrés C. Rodríguez (Argentina) on 1 Sept 2002, 3:20 p.m.,
in response to message #4 by Vieira, Luiz C. (Brazil)

If you have a 41CX, or a 41C/CV with an Extended Functions Module, a RCLFLAG operation may have caused GRAD to appear.

      
How to turn off GRAD on HP41C
Message #19 Posted by Emmanuel on 1 Sept 2002, 1:57 p.m.,
in response to message #1 by Pat

You have to handle Flag 42. 3 methods in order to turn "GRAD" off. 1- XEQ ALPHA R A D ALPHA or XEQ ALPHA D E G ALPHA. 2- Using Synthetic Programming and working on "d" register. 3- Using a PPC ROM for instance: 42 XEQ ALPHA I F ALPHA. Good luck!

      
Re: How to turn off GRAD on HP41C
Message #20 Posted by Emmanuel on 1 Sept 2002, 2:13 p.m.,
in response to message #1 by Pat

[ for M \ for N ] for O

01 LBL "IF" 02 ABS 03 24 04 + 05 STO [ 06 8 07 ST/ [ 08 MOD 09 RCL d 10 X<> [ 11 INT 12 SCI IND X 13 ARCL X 14 X<>Y 15 X<> ] 16 X<> \ 17 X<> d 18 FC?C IND ] 19 SF IND ] 20 X<> d 21 STO [ 22 RDN 23 12 24 - 25 SCI IND X 26 ARCL X 27 X<> ] 28 STO d 29 RDN 30 CLA 31 RTN

      
Re: How to turn off GRAD on HP41C
Message #21 Posted by Emmanuel on 1 Sept 2002, 2:38 p.m.,
in response to message #1 by Pat

IF you're using an interface (HP82164A RS232c or HP82169A HPIB/HPIL for instance) and HP82183A Extended I/O module, please INP a file (IF.BIN why not?)containing the following codes line:

003AC600F30049466112144091751895754B907ECE75689DF39B7371CE77CE76CE7EABF7A8F7CE7E9175751112419DF39B73CE77917E758785CC070914

            
Re: How to turn off GRAD on HP41C
Message #22 Posted by Tony Duell (UK) on 1 Sept 2002, 8:03 p.m.,
in response to message #21 by Emmanuel

Note that all that hex data must be one one line. There must be no spaces, newlines, etc in the middle of it. INP will complain if there are. Is the format of the INP (and OUTP) data documented anywhere, or didyou figure it out the hard way like I did?

                  
Re: How to turn off GRAD on HP41C
Message #23 Posted by Emmanuel on 2 Sept 2002, 4:37 p.m.,
in response to message #22 by Tony Duell (UK)

Please use Synthetic HP-41C QRC for SP in order to "understand" those curious hex codes: ... F3 TEXT 2 00 NULL 49 I 46 F 61 ABS 12 2 14 4 40 + 91 STO 75 M 18 8 95 ST/ 75 M 4B MOD 90 RCL 7E d ... You use similar codes with program "LB" (Load Bytes).

                        
Re: How to turn off GRAD on HP41C
Message #24 Posted by Tony Duell (UK) on 2 Sept 2002, 6:35 p.m.,
in response to message #23 by Emmanuel

I am well aware of the hex coding for HP41 Focal instructions. I've worked with it often enough, and my SP QRG (the 40 page booklet) is in front of me as I type. The point is that INP and OUTP hex streams have (IIRC) the program length sent first (as 2 bytes / 4 hex characters) and a checksum on the end (1 byte, 2 hex characters). The exact format of that, and how the checksum is calculated, seems to be undocumented. Before you ask, yes _I_ think I understand how it's done...

            
Re: How to turn off GRAD on HP41C
Message #25 Posted by Pat on 1 Sept 2002, 8:09 p.m.,
in response to message #21 by Emmanuel

Thanks for the instructions ... they worked and the GRAD annunicator is now gone.

I have one Financial and three Memory Modules installed but they were not used. I had not run any other programs so how did I got into this state remains a mystery. Glad I am out of it. Thanks for all the help I received.

                  
Just a supposition...
Message #26 Posted by thibaut.be on 2 Sept 2002, 3:19 a.m.,
in response to message #25 by Pat

Was the USER indicator turned on ?

Maybe one of the keys were assigned to "GRAD"... I remember I did this in my trigs classes as some exercices were expressed in degrees and other in radians...

                        
Re: Just a supposition...
Message #27 Posted by Andrés C. Rodríguez (Argentina) on 2 Sept 2002, 7:41 a.m.,
in response to message #26 by thibaut.be

Good point!!

                              
How powerful our 41's are....
Message #28 Posted by thibaut.be on 2 Sept 2002, 8:19 a.m.,
in response to message #27 by Andrés C. Rodríguez (Argentina)

When we give a glance to our favourite claculator, really, aren't we impressed on how powerful it is ?

                              
How powerful our 41's are....
Message #29 Posted by thibaut.be on 2 Sept 2002, 8:20 a.m.,
in response to message #27 by Andrés C. Rodríguez (Argentina)

When we give a glance to our favourite claculator, really, aren't we impressed on how powerful it is ?

This machine has been developped to be USED rather than to be a technology showcase...

                                    
Re: How powerful our 41's are....
Message #30 Posted by Vieira, Luiz C. (Brazil) on 2 Sept 2002, 8:57 a.m.,
in response to message #29 by thibaut.be

Hi;

may I extend this "compliment" to all of them? At least, the "original HP equipment"? I myself posted this opinion more than one time in here, and it's good to know I'm not alone in my thoughts.

And let's also consider THE users: we see a thread in here were everyone shown his knowledge in a way all others agreed and kept adding suggestions, opinions, solutions, about a single angle mode. We know the machine can do it all, we know many of us know it all, and we feel fine reading and posting more and more info (as this bunch of words in here). For fun, pleasure, needing.

It's a pity (a shame?) the recent Hewlett-Packard Co. can no longer see or understand it all.

Good words. Good thread.

                                          
Re: How powerful our 41's are....
Message #31 Posted by Ellis Easley on 2 Sept 2002, 11:11 a.m.,
in response to message #30 by Vieira, Luiz C. (Brazil)

I love the early machines and all the capabilities packed into them. I have never been a power user and although I am old enough, I wasn't involved in the "heyday" when people were trying to figure out how to use them for the first time, when HP calculators represented as much computing power as an ordinary person could afford.

I want to give some credit to later computer companies, including HP, for the amount of computer power that is now available to ordinary users at an inexpensive price. I worked for a personal computer manufacturer and I know that all the emphasis was on making the machines easier for unskilled people to use so more people would buy them, and over time this has led to a great reduction in the entry price and a tremendous increase in the calculating power. (That so much of that power is being used to deliver pornographic images is beside the point!)

With the graphical user interface, preferences and online help, you don't so much figure out how to use the computer as tell it how to work. (I know this isn't true, but it's the company line, and like communism, it appears to be a beautiful dream that will never become reality.)

Well, I've always preferred trying to figure out how things work to actually using them. To me, "Plug and Play" is a cruel joke - what fun is there in that? I have an amatuer radio book from the 1930's or 40's (not the ARRL handbook, but a book for more general use). One chapter is about a facsimile system that was being tested at the time. Broadcast stations would transmit newspapers overnight, you wouldn't even have to step outside to get your paper in the morning. It was a graphical system that printed on electrosensitive paper. You would buy the printing unit and connect it to the output of your radio. A critical step in the project was wiring a switch to disconnect your radio's speaker, otherwise you would hear a terrible din all night! That's the kind of high technology I can get excited about!

                  
Re: How to turn off GRAD on HP41C
Message #32 Posted by Emmanuel on 2 Sept 2002, 12:54 p.m.,
in response to message #25 by Pat

You're welcome. <p> It was a pleasure. <p> Good luck!


[ Return to Index | Top of Index ]

Go back to the main exhibit hall