Search found 19 matches

by whuyse
Tue Apr 10, 2018 12:38 pm
Forum: DM42
Topic: Proposal: virtual alpha variable?
Replies: 6
Views: 1084

Re: Proposal: virtual alpha variable?

Of course, Thomas' program will need at most a 8x1 matrix and 8 loops to store the Alpha register, and just performing XTOA on the matrix in the X-reg will append it to the Alpha register, just like Bill's. And it works for an empty Alpha Register without modification.
Werner
by whuyse
Sun Apr 08, 2018 8:05 pm
Forum: Usage tips, tricks and problem reports
Topic: [DM42 Bug?] CLLCD not working right
Replies: 8
Views: 1641

Re: [DM42 Bug?] CLLCD not working right

Hi Thomas, no, it points beyond the RTN, at LBL 14. But something's wrong anyway: why is the busy annunciator lit, and the result not shown? If I remove the CLLCD right after the STOP, it works as it should. Perhaps it's the combination of CLLCD and subsequently changing GrMod that is the culprit. C...
by whuyse
Tue Apr 03, 2018 7:36 am
Forum: Usage tips, tricks and problem reports
Topic: [DM42 Bug?] CLLCD not working right
Replies: 8
Views: 1641

Re: [DM42 Bug?] CLLCD not working right

I altered the program to remove the printing commands, and added a STOP after the first PIXEL. Executing first shows the pixel at (5,5). Upon pressing R/S, the busy annunciator remains lit, and the result of drawing the pixel at (100,100) is not shown. Pressing PRGM shows the code has run till the e...
by whuyse
Wed Mar 21, 2018 4:43 pm
Forum: Usage tips, tricks and problem reports
Topic: WP 34S vs. DM42 decimal128 differences?
Replies: 5
Views: 706

Re: WP 34S vs. DM42 decimal128 differences?

I mean 'correctly rounded'. 9 SINDEG ends in ..668923 so the correctly rounded result is ..669 ASINDEG(1.564344650402308690101053194660901-01) ends in ..535301, so ..535 is the correct answer, and it's not a matter of rounding vs. truncating. Free42 is occasionally an ULP wrong because it doesn't ha...
by whuyse
Wed Mar 21, 2018 7:55 am
Forum: Usage tips, tricks and problem reports
Topic: WP 34S vs. DM42 decimal128 differences?
Replies: 5
Views: 706

Re: WP 34S vs. DM42 decimal128 differences?

comparison of the intermediate results between Free42 and WP-34S: DEG Free42 WP-34S 9 SIN 1.564344650402308690101053194671668-01 1.564344650402308690101053194671669-01 COS 9.999962727428850241175162050113502-01 = TAN 1.745499985548866079139414092834847-02 = ATAN 9.999962727428850241175162050113503-0...
by whuyse
Sun Mar 11, 2018 11:29 am
Forum: Usage tips, tricks and problem reports
Topic: First Entry into Matrix Pushes Stack
Replies: 14
Views: 1523

Re: First Entry into Matrix Pushes Stack

Thomas Okken wrote:
Sat Mar 10, 2018 4:37 pm
Update: no, wait, it's even weirder. EDIT preserves the existing stack lift status. Hmm, and that's exactly what my old code did.
No, not quite.
With v2.0.17

Code: Select all

2
ENTER
ENTER
ENTER
NEWMAT
ENTER
EDIT
42
RDN
Gives 0 on Free42 and the matrix on a 42S
Cheers, Werner
by whuyse
Sat Mar 10, 2018 4:01 pm
Forum: Usage tips, tricks and problem reports
Topic: First Entry into Matrix Pushes Stack
Replies: 14
Views: 1523

Re: First Entry into Matrix Pushes Stack

In the 42S, EDIT enables stack lift, GOTO disables it, as do the four arrow commands.
So there was only one bug, the GOTO behaviour?
Werner
by whuyse
Sat Feb 17, 2018 4:06 pm
Forum: Usage tips, tricks and problem reports
Topic: Store and recall display format
Replies: 18
Views: 1511

Re: Store and recall display format

But that's the fun part?
The first part is 'make it work'.
Second is to improve it and make short, elegant code - even if today we have memory galore. Old habits die hard.

Cheers, Werner
by whuyse
Sat Feb 17, 2018 11:31 am
Forum: Usage tips, tricks and problem reports
Topic: Store and recall display format
Replies: 18
Views: 1511

Re: Store and recall display format

Updated it again.. 10 bytes less. Guess that's it, but 'never say never'.
Werner
by whuyse
Fri Feb 16, 2018 6:40 am
Forum: Usage tips, tricks and problem reports
Topic: Store and recall display format
Replies: 18
Views: 1511

Re: Store and recall display format

Thanks Bob. Tweaked it a little, and updated the previous post accordingly.
Cheers, Werner