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

This is an old revision of the document!


Hints & Tips

DM41X Snippets

Extended Memory

FIXME

Copy a program to Extended Memory:

  • Put Prog's name in Alpha register
  • XEQ storep
  • The prog remains in main memory but can be deleted (CLP) if memory needed
  • To restore to main memory put name in Alpha and then XEQ GETSUB

DDAYS

To find the number of days between two dates

  • enter 1st date into Y-stack as dd.mmyyyy
  • key in 2nd date into X-stack as dd.mmyyyy
  • XEQ</key> ALPHA</key> D</key> D</key> Alt</key> Y</key> Shift</key> ALPHA</key> * result is the difference in days. * DDAYS can be added to the CST program chooser to make it easier if multiple calculations are required ==== Example==== Days between 27/2/66 and 31/5/22 27.021966 ENTER</key> 31.052022 XEQ</key> ALPHA</key> D</key> D</key> Alt</key> Y</key> Shift</key> ALPHA</key> Result = 20,547 Check : 365 ÷</key> Result 56.293 I'm 56 and a bit… sounds right… ===== XYZALM ===== Various Alarm functions Put any message for the Alarm into the ALHPA register Load the stack registers with: * Z : Repeat Interval HHHH.MMSSs or 0 * Y : Date DD.MMYYYY or 0 * X : Time HH.MMSSs Execute XYZALM to set the alarm When alarm goes off it is Acknowledged by pressing any key except STO. * Acknowledging a non-repeating (i.e. Z was 0) alarm cancels it. * Acknowledging a repeating alarm cancels it and re-arms it, adding the Repeat Interval to create the new alarm time. * Pressing STO</key> cancels the alarm but makes it a PAST DUE alarm. ==== Example ==== Set alarm for 22:20, today, not repeating, called Supper * ALPHA</key> Shift</key> U</key> P</key> P</key>E</key>R</key> ALPHA</key> * 0</key> ENTER</key> (for Z = repeat interval) * 0</key> ENTER</key> (for Y = Date = Today) * 22.20 XEQ</key> ALPHA</key> X</key> Y</key> Z</key> Alt</key> L</key> M</key> ALPHA</key> At 22:20 the alarm is activated. ALPHA shows SUPPER. Alarm is cancelled by pressing any key but STO</key> Pressing STO</key> creates a PAST DUE alarm which means it gets re-triggered if the calculator is turned off. It can be cancelled and deleted by pressing any key (except STO</key>) and then the calculator will turn off. Pressing STO</key> will create a new Past Due alarm, and allow the calculator to turn off. On turn on the Past Due alarm will still exist and turning off will trigger it again. A Past Due alarm is useful to remind you that something happened previously and turning the calculator off is a memory-jogger. CATALOGUE 5 R/S and steps through all alarms. To clear an alarm from the Catalogue: SHIFT Ctrl ( where Ctrl is √'' on top row )— John Pumford-Green 31/05/22 13:13Page last updated:06/03/25 06:49 GMT
public/calculator/guides/dm41_snippets.1712531384.txt.gz · Last modified: 06/03/25 06:49 GMT (external edit)