John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:calculator:guides:dm41_snippets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:calculator:guides:dm41_snippets [08/04/24 00:53 BST] – [Example] johnpublic:calculator:guides:dm41_snippets [06/03/25 06:49 GMT] (current) – external edit 127.0.0.1
Line 3: Line 3:
  
 ====== DM41X Snippets ====== ====== DM41X Snippets ======
 +
 +==== Advantage Pac : Flag 21 ====
 +
 +I found that using some of the Advantage Pac programs (e.g. ''MATRX'' or ''CFIT'') would lead to ''AVIEW'' instructions in programs run subsequently to cause a ''HALT'' - requiring use of the <key>R/S</key> key.
 +
 +I was told via a question on the [[https://forum.swissmicros.com/viewforum.php?f=24 | Swiss Micros Forum ]] that this was likely to be due to the Advantage Pac setting ''FLAG 21'' (printer active) to help in its own presentation of information on the display. 
 +
 +''FLAG 21'' SET while ''FLAG 55'' is CLEAR (since there's no Printer Module active) causes AVIEW instructions to halt awaiting user intervention (<key>R/S</key> key)
 +
 +To restore things to //normal// : either ''CLEAR'' Flag 21 via ''CF'' or simply turn the calculator off and on again.
 +
 +See APPENDIX D in the HP41CX User Manual Volume 2 for a better explanation of the use of Flag 21 to control ''AVIEW'' behaviour.
 +
 +
 +
  
 ===== Extended Memory ===== ===== Extended Memory =====
Line 23: Line 38:
   * enter 1<sup>st</sup> date into Y-stack as ''dd.mmyyyy''   * enter 1<sup>st</sup> date into Y-stack as ''dd.mmyyyy''
   * key in 2<sup>nd</sup> date into X-stack as ''dd.mmyyyy''   * key in 2<sup>nd</sup> date into X-stack as ''dd.mmyyyy''
-  * <key>XEQ</key> <key>ALPHA</key> <key>D</key> <key>D</key> <key>'A'</key> <key>Y</key> <key>S</key> <key>ALPHA</key> +  * <key>XEQ</key> <key>ALPHA</key> <key>D</key> <key>D</key> <key>'A'</key> <key>Y</key> <key>'S'</key> <key>ALPHA</key> 
   * result is the difference in days.   * result is the difference in days.
   * ''DDAYS'' can be added to the ''CST'' program chooser to make it easier if multiple calculations are required   * ''DDAYS'' can be added to the ''CST'' program chooser to make it easier if multiple calculations are required
Line 32: Line 47:
  
 ''27.021966'' <key>ENTER</key> ''27.021966'' <key>ENTER</key>
-''31.052022'' <key>XEQ</key> <key>ALPHA</key> <key>D</key> <key>D</key> <key>'A'</key> <key>Y</key> <key>S</key> <key>ALPHA</key>+''31.052022'' <key>XEQ</key> <key>ALPHA</key> <key>D</key> <key>D</key> <key>'A'</key> <key>Y</key> <key>'S'</key> <key>ALPHA</key>
  
 Result = ''20,547'' Result = ''20,547''
public/calculator/guides/dm41_snippets.1712534008.txt.gz · Last modified: 06/03/25 06:49 GMT (external edit)