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

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
ljubo
Posts: 70
Joined: Sat Jun 20, 2020 1:46 pm
Location: Austria

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

Post by ljubo »

Thomas Okken wrote:
Sat Jul 03, 2021 9:13 pm
This was the test case that triggered the incorrect bug fix that ended up breaking L4STK. Free42 3.0.5 finally handles *both* test cases correctly.

viewtopic.php?f=17&t=2913
10 XEQ "FAC" in 4STK mode is returning 3,628,800.0000, means 10! (tested with DM42pcm 3.20.7b) What was outcome before bugfix?
Last edited by ljubo on Sat Jul 03, 2021 9:37 pm, edited 1 time in total.
HP-15C, DM15L, HP-35S, DM42
User avatar
lispm
Posts: 27
Joined: Tue Jun 29, 2021 2:23 pm
Location: Germany

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

Post by lispm »

Thomas Okken wrote:
Sat Jul 03, 2021 9:13 pm
Could you try this test case as well?

Code: Select all

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 bug fix that ended up breaking L4STK. Free42 3.0.5 finally handles *both* test cases correctly.

viewtopic.php?f=17&t=2913

Works with 3.05 on ubuntu!

TI 55, HP16C, HP41C, DM42, APPLE ][, TRS-80, ATARI 800XL, ATARI 520ST, XEROX 1186 DANDELION, SYMBOLICS 3640, TI EXPLORER II
BLOG: https://yazuu.org/en/showblog_public.php?user=1&blog=
User avatar
lispm
Posts: 27
Joined: Tue Jun 29, 2021 2:23 pm
Location: Germany

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

Post by lispm »

Thomas Okken wrote:
Sat Jul 03, 2021 9:13 pm
Could you try this test case as well?

Code: Select all

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 bug fix that ended up breaking L4STK. Free42 3.0.5 finally handles *both* test cases correctly.

viewtopic.php?f=17&t=2913
works both on ubuntu with free42 3.05 aswell as with the ALPHA release on DM42
Stack looks ok no UNSUPPORTED-- on the stack left.

TI 55, HP16C, HP41C, DM42, APPLE ][, TRS-80, ATARI 800XL, ATARI 520ST, XEROX 1186 DANDELION, SYMBOLICS 3640, TI EXPLORER II
BLOG: https://yazuu.org/en/showblog_public.php?user=1&blog=
Peet
Posts: 257
Joined: Tue Sep 29, 2020 12:01 am
Location: Germany

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

Post by Peet »

ljubo wrote:
Sat Jul 03, 2021 9:02 pm
...please try the new version DM42pcm-3.20.7b
Doesn't apply to this bug though the strange behavior of the top-buttons in LCLBL (to execute "XEQ a" you have to key in "XEQ shift F" instead of "XEQ shift A") still exists.
My programmable calculators - former: CBM PR100, HP41CV, HP28S, HP11C - current: HP48G(256kB), HP35S, Prime, DM41X, DM42
ljubo
Posts: 70
Joined: Sat Jun 20, 2020 1:46 pm
Location: Austria

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

Post by ljubo »

Peet wrote:
Sat Jul 03, 2021 11:45 pm
ljubo wrote:
Sat Jul 03, 2021 9:02 pm
...please try the new version DM42pcm-3.20.7b
Doesn't apply to this bug though the strange behavior of the top-buttons in LCLBL (to execute "XEQ a" you have to key in "XEQ shift F" instead of "XEQ shift A") still exists.
This is DM42pcm specific problem - going to look into that (will post updates in Third Party Firmware forum)
HP-15C, DM15L, HP-35S, DM42
ljubo
Posts: 70
Joined: Sat Jun 20, 2020 1:46 pm
Location: Austria

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

Post by ljubo »

ljubo wrote:
Sun Jul 04, 2021 12:48 am
Peet wrote:
Sat Jul 03, 2021 11:45 pm
ljubo wrote:
Sat Jul 03, 2021 9:02 pm
...please try the new version DM42pcm-3.20.7b
Doesn't apply to this bug though the strange behavior of the top-buttons in LCLBL (to execute "XEQ a" you have to key in "XEQ shift F" instead of "XEQ shift A") still exists.
This is DM42pcm specific problem - going to look into that (will post updates in Third Party Firmware forum)
This was indeed very confusing - please test the pre-release version DM42pcm-3.20.8a (shifted pcm is disabled if LCLBL is active - see https://github.com/ljubo106/DM42pcm/releases).
HP-15C, DM15L, HP-35S, DM42
jwiede
Posts: 44
Joined: Mon Oct 18, 2021 11:17 pm
Location: San Jose, CA USA

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

Post by jwiede »

ljubo wrote:
Sun Jul 04, 2021 2:09 pm
This was indeed very confusing - please test the pre-release version DM42pcm-3.20.8a (shifted pcm is disabled if LCLBL is active - see https://github.com/ljubo106/DM42pcm/releases).
Can you clarify what behavior is now expected with DM42pcm-3.20.8? Does it resolve the lower-case access issue?
DM42, DM16L, and a menagerie of HPs thanks to CAS (Calc Acq Syndrome)!
Peet
Posts: 257
Joined: Tue Sep 29, 2020 12:01 am
Location: Germany

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

Post by Peet »

jwiede wrote:
Sun Dec 12, 2021 12:36 am
Can you clarify what behavior is now expected with DM42pcm-3.20.8? Does it resolve the lower-case access issue?
Did you overlooked that a changelog can be called up on the linked page in your quota?
My programmable calculators - former: CBM PR100, HP41CV, HP28S, HP11C - current: HP48G(256kB), HP35S, Prime, DM41X, DM42
jwiede
Posts: 44
Joined: Mon Oct 18, 2021 11:17 pm
Location: San Jose, CA USA

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

Post by jwiede »

Peet wrote:
Sun Dec 12, 2021 11:26 am
Did you overlooked that a changelog can be called up on the linked page in your quota?
Nope, just wasn't clear the 3.20.8b CHANGELOG also covered 3.20.8 (it does) -- without diff-checking, its not obvious that 3.20.8b and 3.20.8 are essentially the same release, nor that the CHANGELOG was updated for 3.20.8.
DM42, DM16L, and a menagerie of HPs thanks to CAS (Calc Acq Syndrome)!
Post Reply