Post Reply 
WP 34S and 31S bugs and fixes
12-21-2015, 08:46 PM
Post: #241
RE: WP 34S and 31S bugs and fixes
(12-21-2015 08:41 PM)Marcio Wrote:  When is the 34s going Droid? Smile

When someone has the time and courage to implement it and support many resolutions, OS versions and so on...
Find all posts by this user
Quote this message in a reply
12-22-2015, 03:29 AM
Post: #242
RE: WP 34S and 31S bugs and fixes
Build 3842 throws an unexpected result when trying to get the Version of the firmware through the following keystrokes:

[h] [3] [3] (X.FCN->VERS)

The menu item selected is ???, and executing that returns "Undefined OP-CODE".

Tested on HP30B hardware running Build 3842.

-- Sanjeev Visvanatha
Find all posts by this user
Quote this message in a reply
12-22-2015, 06:32 AM
Post: #243
RE: WP 34S and 31S bugs and fixes
Oops! It works on the classical emulator though. We'll investigate.

d:-?
Find all posts by this user
Quote this message in a reply
12-22-2015, 09:44 AM
Post: #244
RE: WP 34S and 31S bugs and fixes
(12-22-2015 03:29 AM)Sanjeev Visvanatha Wrote:  Build 3842 throws an unexpected result when trying to get the Version of the firmware through the following keystrokes:
...

There must be a problem with my new (Win7) build environment. I'm going to rebuild on my XP VM and post the results soon.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-22-2015, 10:39 AM
Post: #245
RE: WP 34S and 31S bugs and fixes
(12-22-2015 09:44 AM)Marcus von Cube Wrote:  I'm going to rebuild on my XP VM and post the results soon.
Hi Marcus!

I see that you've now updated the real builds, but since you didn't also update the emulator EXEs, they still suffer from the complex 0^x bug ... Sad

Franz
Visit this user's website Find all posts by this user
Quote this message in a reply
12-22-2015, 11:28 AM (This post was last modified: 12-22-2015 12:27 PM by Marcus von Cube.)
Post: #246
RE: WP 34S and 31S bugs and fixes
(12-22-2015 10:39 AM)fhub Wrote:  
(12-22-2015 09:44 AM)Marcus von Cube Wrote:  I'm going to rebuild on my XP VM and post the results soon.
Hi Marcus!

I see that you've now updated the real builds, but since you didn't also update the emulator EXEs, they still suffer from the complex 0^x bug ... Sad

Franz
Thanks for the hint. I'm working on fixing my build issues. I'll update the emulator(s) later today.

EDIT: Done!

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-22-2015, 01:20 PM
Post: #247
RE: WP 34S and 31S bugs and fixes
(12-22-2015 11:28 AM)Marcus von Cube Wrote:  EDIT: Done!
Yep, everything working fine again - many thanks! Smile

BTW, maybe you can update my program 'PF.wp34s' in the library with the attached new version (only when you have nothing else to do)?
This new version is about 10-times faster and it displays the exponents for multiple factors in the alpha display.
Of course it's not necessary to make new builds only for this ...

Franz


Attached File(s)
.zip  PF.zip (Size: 954 bytes / Downloads: 5)
Visit this user's website Find all posts by this user
Quote this message in a reply
12-22-2015, 01:46 PM
Post: #248
RE: WP 34S and 31S bugs and fixes
(12-22-2015 01:20 PM)fhub Wrote:  BTW, maybe you can update my program 'PF.wp34s' in the library with the attached new version (only when you have nothing else to do)?

Gern geschehen! Smile

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
01-06-2016, 09:58 PM (This post was last modified: 01-07-2016 12:45 AM by emece67.)
Post: #249
RE: WP 34S and 31S bugs and fixes
I've found another bug, this time in the (XROM) code for the complex gudermannian function. For all arguments it throws an "Illegal Operation" error. Both the real machine and the emulator show it.

Its current code is:
Code:
        XLBL"cpx_gd"
        xIN MONADIC_COMPLEX
        [cmplx]Num 1/2
        [cmplx][times]
        [cmplx]TANH
        [cmplx]ATAN
        [cmplx]RCL+ Z   // incidentally, this should be RCL+ X
        xOUT xOUT_NORMAL

This code uses the definition of the complex gudermannian function:
\[gd(z) = 2\arctan(\tanh{z\over2})\]

The problem is that [cmplx]ATAN is implemented also in XROM, inside another xIN/xOUT environment. As xIN/xOUT cannot be nested this causes the error.

A workaround consists in using a different definition for the complex gudermannian function, namely \[gd(z) = \arcsin(\tanh z)\]
with code:
Code:
        XLBL"cpx_gd"
        xIN MONADIC_COMPLEX
        [cmplx]TANH
        GSB cpx_asin
        xOUT xOUT_NORMAL

Hope this helps, regards.
Find all posts by this user
Quote this message in a reply
01-06-2016, 10:26 PM
Post: #250
RE: WP 34S and 31S bugs and fixes
Thanks for pointing this out. I'm sure Pauli will fix it. I'l do the recompile then.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
01-06-2016, 11:01 PM
Post: #251
RE: WP 34S and 31S bugs and fixes
Nice catch. I'll apply the fix once I get back to a machine that can access the subversion server.

This is a fall out of the space saving measures we've done, complex atan used to be in C and this worked fine, but it was moved to XROM which saved memory.


- Pauli
Find all posts by this user
Quote this message in a reply
01-06-2016, 11:07 PM
Post: #252
RE: WP 34S and 31S bugs and fixes
(01-06-2016 11:01 PM)Paul Dale Wrote:  This is a fall out of the space saving measures we've done, complex atan used to be in C and this worked fine, but it was moved to XROM which saved memory.

Wir sparen, koste es was es wolle (~ We save regardless of the costs). Wink

d:-)
Find all posts by this user
Quote this message in a reply
01-07-2016, 07:19 AM
Post: #253
RE: WP 34S and 31S bugs and fixes
(01-06-2016 11:07 PM)walter b Wrote:  Wir sparen, koste es was es wolle (~ We save regardless of the costs). Wink

This one was an all around win I think. The bulk of the work is still done in C.

The patch has been committed.


- Pauli
Find all posts by this user
Quote this message in a reply
01-07-2016, 03:14 PM
Post: #254
RE: WP 34S and 31S bugs and fixes
(01-07-2016 07:19 AM)Paul Dale Wrote:  The patch has been committed.
... and built.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
01-13-2016, 08:49 AM
Post: #255
RE: WP 34S and 31S bugs and fixes
I use to use the Qt emulator with the TitleBar hidden. Today I opened a remote desktop session to my desktop from a laptop with a screen smaller than that on my desktop. Then I tried to open the Qt emulator and its window opened off screen.

The problem is that, when the Qt emulator is placed off screen AND the TitleBar is hidden, there is no way to move it on screen again. All usual (Win7) methods fail. Among the methods I've tried are: right-click over the thumbnail that appears when hovering over the taskbar icon (the maximize/minimize/move... menu does not appear); WIN key + space (same); WIN key + arrow keys (no response); double click on the show desktop button (same); cascade windows (same)...

Regards.
Find all posts by this user
Quote this message in a reply
01-13-2016, 11:10 AM (This post was last modified: 01-13-2016 12:07 PM by striegel.)
Post: #256
Moving off-screen window
(01-13-2016 08:49 AM)emece67 Wrote:  ...
The problem is that, when the Qt emulator is placed off screen AND the TitleBar is hidden, there is no way to move it on screen again. All usual (Win7) methods fail. Among the methods I've tried are: right-click over the thumbnail that appears when hovering over the taskbar icon (the maximize/minimize/move... menu does not appear); WIN key + space (same); WIN key + arrow keys (no response); double click on the show desktop button (same); cascade windows (same)...
...

Have you tried using Alt+Tab to select a different window and Alt+Tab to re-select the emulator then Alt+space then the m key then one arrow key followed by moving the mouse to bring the window into view?
Find all posts by this user
Quote this message in a reply
01-13-2016, 03:04 PM
Post: #257
RE: WP 34S and 31S bugs and fixes
(01-13-2016 11:10 AM)striegel Wrote:  Have you tried using Alt+Tab to select a different window and Alt+Tab to re-select the emulator then Alt+space then the m key then one arrow key followed by moving the mouse to bring the window into view?

Yes, Alt+space does not open the menu and Alt+space m arrow does nothing.
Find all posts by this user
Quote this message in a reply
01-13-2016, 03:10 PM
Post: #258
RE: WP 34S and 31S bugs and fixes
(01-13-2016 03:04 PM)emece67 Wrote:  Yes, Alt+space does not open the menu and Alt+space m arrow does nothing.
Well, you can change the window position manually in the registry:

[HKEY_CURRENT_USER\Software\WP-34s\WP34sEmulator\MainWindow]
"Position"="@Point(160 35)"

Franz
Visit this user's website Find all posts by this user
Quote this message in a reply
01-18-2016, 05:41 PM
Post: #259
RE: WP 34S and 31S bugs and fixes
Very small issue on the Linux emulator:

Selecting "Help" / "Show Website" results in
Quote:The file or folder http://wp34s.sourceforge.net/ does not exist.

I downloaded the emulator today from http://sourceforge.net/projects/wp34s/
"Help" / "About" shows
Build date: Jan 9 2016
Svn revision: 3872

I did not erase the previous install, I just refreshed my installation with
Code:
tar tzf /tmp/wp-34s-emulator-linux64.tgz

Not sure whether this very small issue was present on the previous version I had.

Thanks and best regards,
Ivan
Find all posts by this user
Quote this message in a reply
01-18-2016, 06:11 PM
Post: #260
RE: WP 34S and 31S bugs and fixes
Works fine on my Ubuntu install. Which liinux version do you use?
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 5 Guest(s)