UPDATE: DMCP-3.21 / DM42-3.18 and dynamic stack extension

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Thomas Okken
Posts: 1100
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: UPDATE: DMCP-3.21 / DM42-3.18 and dynamic stack extension

Post by Thomas Okken »

ratwolf wrote:
Thu Apr 22, 2021 9:41 pm
But why the program is running properly on free42 e.g. MacOS version, both in 4STK and NSTK?
Guess DM42 is different here?

Also in free42 (again MacOS version :-)) after CLST in NSTK mode it shows exactly 1: and 2:
My apologies, I really should have read your post more carefully before replying!

But still, a program written for the four-level stack is always likely to mis-behave with the big stack. It just sounds like in this particular case, the mis-behavior consists of leaving a steadily increasing amount of garbage on the stack... and with enough iterations, that could potentially even get Free42 on a Mac to run out of memory. It's just easier to run out of memory when there isn't as much of it available to begin with.

Regarding the stack labels vs. the empty stack: ah, cool, so I did do it the way I intended in Free42. That's a relief! So I can blame SM for this particular quirk, then. :D
Post Reply