Search found 33 matches

by hsilop
Mon Jul 15, 2019 8:06 am
Forum: Usage tips, tricks and problem reports
Topic: Cannot write to DM42 via USB
Replies: 1
Views: 210

Re: Cannot write to DM42 via USB

Eureka!

Solved it myself. I took a backup of *everything* on the DM42 to my laptop then went item the System>Enter System Menu>Format FAT Disk menu and selected "Format FAT Disk". Once I activated the USB Disk I found I could write to it. So just copied everything back.

All is good. Weird!
by hsilop
Mon Jul 15, 2019 7:55 am
Forum: Usage tips, tricks and problem reports
Topic: Cannot write to DM42 via USB
Replies: 1
Views: 210

Cannot write to DM42 via USB

Suddenly I can no longer copy files from my laptop to the DM42 via the USB cable.
From a terminal window I get this error:

cp: cannot create regular file '/media/steve/DM42/PROGRAMS/astro.raw': Read-only file system

Why is it suddenly READ ONLY ? Can I fix it?
by hsilop
Sun Jul 14, 2019 2:47 am
Forum: Software Library
Topic: Astronomical programs
Replies: 2
Views: 625

Re: Astronomical programs

I just uploaded some astrophysics programs if that helps.
by hsilop
Sun Jul 14, 2019 1:26 am
Forum: Software Library
Topic: Astrophysics programs
Replies: 3
Views: 312

Re: Astrophysics programs

I probably should also point out that the single value functions are designed to be assigned to a key and used in CUSTOM mode. That way you can press the yellow shift key before the assigned key to invoke the inverse operation. Each program announces this by briefly showing the inverse functions nam...
by hsilop
Sat Jul 13, 2019 5:40 am
Forum: Software Library
Topic: Astrophysics programs
Replies: 3
Views: 312

Astrophysics programs

Here is my current suite of Astrophysics programs. You must first execute 00 to initialize the set of constants the programs refer to. If anybody knows how I can get this program to run automatically, that'd be great. I just run it once and save the calculator state so all the variables are setup co...
by hsilop
Mon Apr 08, 2019 4:47 am
Forum: Software Library
Topic: External stack
Replies: 42
Views: 3154

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: 3154

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: 3154

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: 1867

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: 971

Re: DM42 program with EVERY instruction?

Thanks Thomas, I'll have a look at the "stress" program. Sounds like what I am after.