Search found 724 matches

by Thomas Okken
Wed Jul 14, 2021 9:05 pm
Forum: Usage tips, tricks and problem reports
Topic: Easy way to calculate function values, solve and integrate
Replies: 8
Views: 337

Re: Easy way to calculate function values, solve and integrate

The chapters on the solver and integrator in the HP-42S Owner's Manual (chapters 12 and 13) and in the HP-42S Programming Examples and Techniques book (chapters 3 and 4) also worth a read. You'll find worked-out examples and useful tips there. And everything you read there applies to Free42 and the ...
by Thomas Okken
Wed Jul 14, 2021 2:25 pm
Forum: Usage tips, tricks and problem reports
Topic: Easy way to calculate function values, solve and integrate
Replies: 8
Views: 337

Re: Easy way to calculate function values, solve and integrate

Perhaps I should also mention that it works a bit differently when calling the solver from a program: in that case, the first starting value comes from the variable you're solving for, i.e. the value you get when RCLing that variable, and the second starting value is whatever is in the X register wh...
by Thomas Okken
Tue Jul 13, 2021 3:11 pm
Forum: Usage tips, tricks and problem reports
Topic: Easy way to calculate function values, solve and integrate
Replies: 8
Views: 337

Re: Easy way to calculate function values, solve and integrate

The solver uses two starting values, so when using the SOLVE menu, you can tell it to look for a root between 1 and 2 while solving for X by typing 1 [X] 2 [X] [X]. If you only provide one starting guess, the most recent value is retained and used as the other, which is why you'll get the same root ...
by Thomas Okken
Tue Jul 13, 2021 8:55 am
Forum: Usage tips, tricks and problem reports
Topic: Free42 3.05 - Error with names of variables
Replies: 8
Views: 382

Re: Free42 3.05 - Error with names of variables

The big display is not yet implemented. Plus42 is a work in progress; expect substantial updates later this summer...
by Thomas Okken
Mon Jul 12, 2021 11:29 pm
Forum: Usage tips, tricks and problem reports
Topic: Free42 3.05 - Error with names of variables
Replies: 8
Views: 382

Re: Free42 3.05 - Error with names of variables

Walter pointed out that the WP34S manual shows a character set that contains lowercase letters that fit within the constraints of the HP-42S / Free42 menu labels. I took a look and I was pleasantly surprised, I think the letters look excellent. I'm adding them to Free42 and Plus42; updated Plus42 bu...
by Thomas Okken
Sat Jul 03, 2021 9:13 pm
Forum: Usage tips, tricks and problem reports
Topic: Free42 3.03 and DM42 crashes when L4STK routine is called in NSTK mode
Replies: 15
Views: 811

Re: Free42 3.03 and DM42 crashes when L4STK routine is called in NSTK mode

Could you try this test case as well? 00 { 30-Byte Prgm } 01▸LBL "FAC" 02 FUNC 11 03 LNSTK 04 X>0? 05 GTO 00 06 1 07 RTN 08▸LBL 00 09 DUP 10 1 11 - 12 XEQ "FAC" 13 × 14 END Run it by entering 10 XEQ "FAC" in 4STK mode. This was the test case that triggered the incorrect...
by Thomas Okken
Thu Jul 01, 2021 5:05 pm
Forum: Usage tips, tricks and problem reports
Topic: Free42 3.03 and DM42 crashes when L4STK routine is called in NSTK mode
Replies: 15
Views: 811

Re: Free42 3.03 and DM42 crashes when L4STK routine is called in NSTK mode

I just created a new release that fixes the L4STK crash. The cause was an incorrect fix for an earlier crash in LNSTK. Both functions should be OK now.

3.0.5 is on my web site now, and is under review for the iOS and Android app stores.
by Thomas Okken
Wed Jun 30, 2021 12:25 am
Forum: Usage tips, tricks and problem reports
Topic: Free42 3.03 and DM42 crashes when L4STK routine is called in NSTK mode
Replies: 15
Views: 811

Re: Free42 3.03 and DM42 crashes when L4STK routine is calledin NSTK mode

I can reproduce it, this is malfunctioning in 3.0.4 as well. It looks like L4STK doesn't pad out the stack to four levels if it's called in NSTK mode, in a FUNC context, with DEPTH < 4.

I'm a bit busy at the moment but I'll try to fix it before the end of the week.
by Thomas Okken
Sun Jun 27, 2021 11:21 pm
Forum: DM42
Topic: DM42/DM15L - best and fastest way to display x during program ?
Replies: 6
Views: 465

Re: DM42/DM15L - best and fastest way to display x during program ?

If you don't need the WAIT program to work in big stack mode, you can change the DUP to RCL ST X and the DROP to R↓.

It shouldn't just stop, though. If you post your complete program, or email it to me, I could take a look at it.
by Thomas Okken
Fri Jun 25, 2021 5:12 pm
Forum: DM42
Topic: DM42/DM15L - best and fastest way to display x during program ?
Replies: 6
Views: 465

Re: DM42 - best and fastest way to display x during program ?

It's not very elegant, but you could use something like this to implement short delays: 00 { 33-Byte Prgm } 01▸LBL "WAIT" 02 FUNC 00 03 DUP 04 3600 05 ÷ 06 →HMS 07 TIME 08 HMS+ 09▸LBL 00 10 TIME 11 X≥Y? 12 RTN 13 DROP 14 GTO 00 15 END Pur the desired delay, in seconds, in X, and call XEQ &...