| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| public:calculator:guides:dm41_snippets [03/08/24 15:27 BST] – [Advantage Pac : Flag 21] john | public:calculator:guides:dm41_snippets [24/01/26 08:09 GMT] (current) – [Example] john |
|---|
| |
| |
| ====== DM41X Snippets ====== | ====== DM41X Hints & Tips ====== |
| |
| ==== Advantage Pac : Flag 21 ==== | ===== Module Switching ===== |
| |
| I found that using any Advantage Pac program (e.g. ''MATRX'' or ''CFIT'') would lead to ''PSE'' instructions in programs run subsequently to be interpreted as ''STOP'' - requiring use of the <key>R/S</key> key. | Using the [[dm41x_ladybug_module| Ladybug module]] for Integer/Base calculations means it's impossible to also have the [[41z_module| 41Z complex number module]] or the [[hp16c_emulator| HP16C simulator module]] and the necessary library "plugged in" at the same time. There is a clash between ''Library 4'' needed for ''41z'' (and also needed for ''16C'') and ''OS/4'' which is needed for ''Ladybug''. |
| | |
| | I've used the DM41X "module save/load" function to have different module-plugged states: |
| | |
| | * ''41z.m41'' : with ''41Z 2x2 Deluxe'' and ''Library 4'' modules active |
| | * ''16c.m41'' : with ''HP16 C Simulator'' and ''Library 4'' modules active |
| | * ''lady.m41'' : with ''Boost'', ''OS/4'' and ''Ladybug'' modules active |
| | * ''adv.m41'' : with ''Advantage Pac'' module active |
| | |
| | |
| | These are accessed via ''setup'' -> ''2. Module'' -> ''4. Load Modules'' -> ''1. Load AM list'' |
| | |
| | Choosing the required *.m41 file will automatically unplug/plug whichever modules were active when the config. was saved. |
| | |
| | This makes it easier to remember which supporting library/module are needed to use each particular module's functions. |
| | |
| | It's possible to also save the ''flash'' state - which modules have been pre-loaded into the DM41X's Flash Memory making them //available// to be //plugged in// using different options at the ''setup'' ''2. Module'' choices.... you'll work it out. |
| | |
| | |
| | ===== 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. | 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'' turns ''PSE'' into ''STOP'', it appears. | ''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) |
| |
| The easiest thing to restore things to //normal// is to turn the calculator off and on again. This clears ''Flag 21''. | To restore things to //normal// : either ''CLEAR'' Flag 21 via ''CF'' or simply turn the calculator off and on again. |
| |
| Another way is to manually clear with ''CF''. Another, poor, way is to use the Module management to unplug and replug a module - this causes the DM41X to reset, clearing ''FLAG 21'' | See APPENDIX D in the HP41CX User Manual Volume 2 for a better explanation of the use of Flag 21 to control ''AVIEW'' behaviour. |
| |
| ''Turning it OFF and ON again'' is the best option! | |
| |
| |
| Page last updated: ~~LASTMOD~~ | Page last updated: ~~LASTMOD~~ |
| |
| {{tag>dm41x calculator}} | {{tag>calculator dm41x}} |
| |
| |