Search found 22 matches

by whuyse
Wed Jun 13, 2018 6:59 am
Forum: Usage tips, tricks and problem reports
Topic: Incongruity of the PIXEL function
Replies: 5
Views: 321

Re: Incongruity of the PIXEL function

From the manual: F34 F35 AGRAPH behaviour C C The image is merged with the existing display (logical OR) -- default state C S The image overwrites all pixels in that portion of the display S C Duplicate 'on' pixels are turned 'off' S S All pixels are reversed (logical XOR) Cheers, Werner
by whuyse
Tue Jun 12, 2018 2:16 pm
Forum: Usage tips, tricks and problem reports
Topic: Incongruity of the PIXEL function
Replies: 5
Views: 321

Re: Incongruity of the PIXEL function

LBL “PIXOFF” “x” SF 34 AGRAPH CF 34 END The “x” is the multiplication sign. To be foolproof, the program would have to save the state of flags 34 and 35, then set 34 and clear 35, do AGRAPH and restore flags 34 and 35 to their original settings. But by default they are both clear, so.. Cheers, Werner
by whuyse
Tue Jun 12, 2018 1:32 pm
Forum: Usage tips, tricks and problem reports
Topic: Incongruity of the PIXEL function
Replies: 5
Views: 321

Re: Incongruity of the PIXEL function

Unfortunately, this is exactly how the HP42S behaves as well.
Cheers. Werner
by whuyse
Tue Apr 10, 2018 12:38 pm
Forum: DM42
Topic: Proposal: virtual alpha variable?
Replies: 6
Views: 1644

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

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

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

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

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

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

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