The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

New version of the WP34s Qt Emulator
Message #1 Posted by pascal_meheut on 12 Apr 2012, 4:29 p.m.

I've just uploaded a new version of the WP34s Qt Emulator. It includes an improved Stopwatch which now continue to run even if you go back to calculator mode. The = annunciator blinks. And it supports RCL.

I've also upgrade the serial library to a more recent version. I've did not notice any difference but as always, feel free to report a bug if you find one.

I've also uploaded new beta versions of the WP34sFlash tool but it is still not full tested.

      
Re: New version of the WP34s Qt Emulator
Message #2 Posted by Namir on 12 Apr 2012, 8:22 p.m.,
in response to message #1 by pascal_meheut

Pascal,

A link please?? :-)

namir

            
Re: New version of the WP34s Qt Emulator
Message #3 Posted by Paul Dale on 12 Apr 2012, 8:31 p.m.,
in response to message #2 by Namir

https://sourceforge.net/projects/wp34s/

                  
Re: New version of the WP34s Qt Emulator
Message #4 Posted by Namir on 12 Apr 2012, 9:06 p.m.,
in response to message #3 by Paul Dale

Merci!!!!!!!!

Namir

      
Re: New version of the WP34s Qt Emulator
Message #5 Posted by pascal_meheut on 14 Apr 2012, 2:49 a.m.,
in response to message #1 by pascal_meheut

I've uploaded new versions with now support for Linux 64 bits and a few fixed & improvements in STOPWATCH.

            
Re: New version of the WP34s Qt Emulator
Message #6 Posted by fhub on 14 Apr 2012, 4:33 a.m.,
in response to message #5 by pascal_meheut

Quote:
I've uploaded new versions with now support for Linux 64 bits and a few fixed & improvements in STOPWATCH.
Are you sure?
I only see the wp-34s-flash-windows.zip updated but not the wp-34s-emulator-windows.zip.

Edited: 14 Apr 2012, 4:37 a.m.

            
Re: New version of the WP34s Qt Emulator
Message #7 Posted by Nobby K. on 14 Apr 2012, 9:37 a.m.,
in response to message #5 by pascal_meheut

I have checked Rev. 2796.

It seemes that trunk/decNumber/decContext.h needs following fix.

Rev. 2796 version works on realbuild version. But it does not work on QtGui without the patch.

% LANGUAGE=en svn diff trunk/decNumber/decContext.h
Index: trunk/decNumber/decContext.h
===================================================================
--- trunk/decNumber/decContext.h	(revision 2796)
+++ trunk/decNumber/decContext.h	(working copy)
@@ -29,6 +29,9 @@
 /*  extended -- must be either 0 or 1 [present only if DECSUBSET]     */
 /*                                                                    */
 /* ------------------------------------------------------------------ */
+#if defined __x86_64__
+# define __WORDSIZE 64
+#endif

#if !defined(DECCONTEXT) #define DECCONTEXT @@ -43,7 +46,11 @@ typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; +#if __WORDSIZE == 64 +typedef unsigned long int uint64_t; +#else typedef unsigned long long int uint64_t; +#endif

/* Conditional code flag -- set this to 0 for best performance */ #define DECSUBSET 0 // 1=enable subset arithmetic

Other fixes works good.

      
Re: New version of the WP34s Qt Emulator
Message #8 Posted by Alexander Oestert on 14 Apr 2012, 3:30 a.m.,
in response to message #1 by pascal_meheut

I just found this and was wondering if that would make it possible (and hopefully easy) to bring the WP-34s QT emulator to Android devices.

            
Re: New version of the WP34s Qt Emulator
Message #9 Posted by pascal_meheut on 14 Apr 2012, 3:40 a.m.,
in response to message #8 by Alexander Oestert

Quote:
I just found this and was wondering if that would make it possible (and hopefully easy) to bring the WP-34s QT emulator to Android devices.

It should be possible but maybe not as easy as it seems. This is somewhere in the TODO list but I wonder if an iOS version should not be first.

                  
Re: New version of the WP34s Qt Emulator
Message #10 Posted by Alexander Oestert on 14 Apr 2012, 10:19 a.m.,
in response to message #9 by pascal_meheut

I would be happy with either - and both, obviously! :-)

                  
Re: New version of the WP34s Qt Emulator
Message #11 Posted by Howard Owen on 14 Apr 2012, 10:37 a.m.,
in response to message #9 by pascal_meheut

Quote:
... but I wonder if an iOS version should not be first.

You'll have to rework your code. Apple won't allow apps built with other tool-kits into the app store. You'd need to rework it regardless, of course. But maybe the Android QT support would make the port easier?

                        
Re: New version of the WP34s Qt Emulator
Message #12 Posted by pascal_meheut on 14 Apr 2012, 3:45 p.m.,
in response to message #11 by Howard Owen

Quote:
You'll have to rework your code. Apple won't allow apps built with other tool-kits into the app store. You'd need to rework it regardless, of course. But maybe the Android QT support would make the port easier?

I know I'll have to rework the code or even to rewrite it in Objective-C but that's the point: to learn new things. The Android Qt should make the port easier but with the current design, supporting various resolutions could be tricky. Anyhow, I'll check which OS will be first once I have time to work on it.

So far, having iPhone, iPad, Mac and more fun learning a new langage & environnment that simply porting to a new more or less compatible Qt platform, my favorite is iOS.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall