Search found 28 matches

by hsilop
Mon Apr 08, 2019 4:47 am
Forum: Software Library
Topic: External stack
Replies: 42
Views: 1893

Re: External stack

... You could use that mechanism to create parameters. For example, a function that takes a parameter X and uses a local A could look like this: ... Similarly, the caller could create a local variable in which the function stores a return value. The LSTO mechanism is pretty flexible -- or at least ...
by hsilop
Sat Apr 06, 2019 12:48 am
Forum: Software Library
Topic: External stack
Replies: 42
Views: 1893

Re: External stack

The next release of Free42 will have local variables, which will make it possible to preserve the stack with no side effects at all. Stay tuned... That would totally rock! It'd be almost like a fully-fledged third generation language. Any chance for parameter passing and function return values too?...
by hsilop
Fri Apr 05, 2019 7:46 am
Forum: Software Library
Topic: External stack
Replies: 42
Views: 1893

Re: External stack

Forget this shit approach, the PUSH/POP stack thread by whuyse is a MUCH more elegant solution.

I'm just a noob ... matrices rock!
by hsilop
Fri Apr 05, 2019 7:28 am
Forum: Software Library
Topic: PUSH/POP stack
Replies: 6
Views: 1551

Re: PUSH/POP stack

This is far superior to my "solution"!

Is there a way to test if "STACK" exists in the PUSH function? That way you could dynamically create it as needed. Just a thought. Matrices are cool in HP42S/DM42 land! Registers ... pfft.
by hsilop
Wed Mar 27, 2019 1:24 am
Forum: Software Library
Topic: DM42 program with EVERY instruction?
Replies: 9
Views: 624

Re: DM42 program with EVERY instruction?

Thanks Thomas, I'll have a look at the "stress" program. Sounds like what I am after.
by hsilop
Tue Mar 26, 2019 6:19 am
Forum: Software Library
Topic: DM42 program with EVERY instruction?
Replies: 9
Views: 624

DM42 program with EVERY instruction?

For fun I am building an DM42 decoder that I can run from the command line. Developing it in PHP. I'm about two thirds through I guess but I haven't got a program that contains all the byte codes for me to test it on. Does anyone know if there is such a program? It doesn't have to do anything sensib...
by hsilop
Thu Mar 21, 2019 5:58 am
Forum: Usage tips, tricks and problem reports
Topic: Can you stop Save State saving programs also?
Replies: 2
Views: 304

Re: Can you stop Save State saving programs also?

That would explain why a dump of the s42 files looks the way they do. Looks like a bunch of 16-byte registers. More-or-less a core dump.
by hsilop
Tue Mar 19, 2019 1:48 am
Forum: Usage tips, tricks and problem reports
Topic: Can you stop Save State saving programs also?
Replies: 2
Views: 304

Can you stop Save State saving programs also?

I have setup custom keys to call my various programs. I notice that if I clear the calculator and reload the state it has the programs back in memory, but not necessarily the version I was last working on. I use File>Save Program to save programs as I work on them. Trouble is if I do a load Calc Sta...
by hsilop
Mon Mar 18, 2019 11:31 pm
Forum: Discuss!
Topic: Post a high resoluition photo of a DM42?
Replies: 21
Views: 1964

Re: Post a high resoluition photo of a DM42?

Thanks Tom, this is my first dog. I decided on a Sheltie after doing a few of those "which breed is right for you" websites. Every one had a Sheltie in the top 3. Plus I remember a friend when I was a teenager who had one. Lovely little dogs. So far so good, she's almost 7 months old now and "almost...
by hsilop
Sun Mar 17, 2019 11:27 pm
Forum: Discuss!
Topic: How did you discover SwissMicros?
Replies: 45
Views: 6780

Re: How did you discover SwissMicros?

I only "discovered" them a few months back. While reading the Wikipedia page on the HP Voyager Series I stumbled across a section about clones. https://en.wikipedia.org/wiki/Hewlett-Packard_Voyager_series#Clones Immediately curious I visited the URL only to uncover the DM42. I am now the proud owner...