Search found 137 matches

by Dave Britten
Thu Oct 29, 2020 11:37 pm
Forum: DM42
Topic: Memory usage changes?
Replies: 12
Views: 4819

Re: Memory usage changes?

With 12,296 bytes free, creating a 640x1 matrix on the stack takes it down to 1,352 bytes free. Attempting to create a 480x2 (after deleting the 640x1 matrix) reports "Insufficient Memory". The plot thickens...
by Dave Britten
Thu Oct 29, 2020 11:11 pm
Forum: DM42
Topic: Memory usage changes?
Replies: 12
Views: 4819

Re: Memory usage changes?

That sounds like a DM42 issue. The new state file being a bit smaller makes sense, since the new state file format introduced in 2.5 is a bit more efficient than the original one. But free memory dropping by that much is not OK. The Free42 core deletes its variables when it unloads a state so there...
by Dave Britten
Thu Oct 29, 2020 8:34 pm
Forum: DM42
Topic: Memory usage changes?
Replies: 12
Views: 4819

Re: Memory usage changes?

Alright, there's definitely something squirrelly going on. I have a state file from an older release named "temp.s42", which is 38K in size. Right after I load it, MEM reports 34,592 bytes free. I then immediately save this as a new state file, say "temp3.f42", which ends up bein...
by Dave Britten
Thu Oct 29, 2020 7:47 pm
Forum: DM42
Topic: Memory usage changes?
Replies: 12
Views: 4819

Re: Memory usage changes?

In Free42, the only things that use a lot of memory are large matrices and memory fragmentation (and memory fragmentation only eats into available memory if you're working with large matrices). Try deleting all variables, clearing the stack and LASTx, and then saving the state and rebooting. If ava...
by Dave Britten
Thu Oct 29, 2020 6:46 pm
Forum: DM42
Topic: Memory usage changes?
Replies: 12
Views: 4819

Memory usage changes?

Has Free42 and/or the DM42 changed its memory usage behavior within the past year or so? My usual loadout of programs and data used to report somewhere around 24,000-30,000 bytes free, whereas now it seems to be around 8,000. The weird thing is I have an old .s42 state file that's 38K, and the DM42 ...
by Dave Britten
Wed Oct 28, 2020 7:05 pm
Forum: DM41X
Topic: Export/import extended memory files?
Replies: 3
Views: 2931

Re: Export/import extended memory files?

Alright, thanks for the info. Hopefully we eventually end up with something that's as simple as importing/exporting raw program files in main memory.
by Dave Britten
Wed Oct 28, 2020 5:10 pm
Forum: DM41X
Topic: Export/import extended memory files?
Replies: 3
Views: 2931

Export/import extended memory files?

What mechanisms are there for exporting or importing data and ASCII files in extended memory? Does it involve exporting and manipulating a .d41 state file, or is there a more direct approach?
by Dave Britten
Fri Oct 23, 2020 2:37 pm
Forum: DM42
Topic: 3-bit flag
Replies: 5
Views: 2567

Re: 3-bit flag

I would probably take the lazy way out: use 4 flags. :) Unless your program has maxed out the number of available flags, this sounds like premature optimization. Have a LBL you can XEQ that simply clears all 4 flags and returns. Call this at the start of the program, and at the beginning of each of ...
by Dave Britten
Wed Oct 21, 2020 4:27 pm
Forum: Software issues
Topic: Does CORRECT and SETAF, RCLAF work on the DM41X ?
Replies: 6
Views: 3881

Re: Does CORRECT and SETAF, RCLAF work on the DM41X ?

I'm reading the RTC correction section of the manual, and not quite making sense of it. It says I need to calculate C based on a ppm correction, but doesn't say what this ppm correction represents, or how to measure it. And what effect does the sign of C have on the clock? Does a positive value spee...
by Dave Britten
Fri Oct 16, 2020 2:55 pm
Forum: DM42
Topic: Too many labels for XEQ
Replies: 19
Views: 6608

Re: Too many labels for XEQ

Hmm... Now that I'm working on some new functionality for Free42, maybe I should reconsider directories as well? Whoa... now THAT would be interesting, if as Didier notes, it can be achieved without excessive work. I think the main challenge would be to incorporate this into into the UI in an intui...