HP Forums
WP34s: emulator feature request - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: WP34s: emulator feature request (/thread-4741.html)

Pages: 1 2 3


RE: WP34s: emulator feature request - Paul Dale - 11-09-2015 10:02 AM

This sounds like a stack lift issue. Pressing enter disables stack lift and the paste function doesn't re-enable it. Fix committed.

It doesn't look like the 31S is getting these changes at the moment.


Have I ever mentioned how painful stack lift is to support?


- Pauli

(11-09-2015 09:05 AM)fhub Wrote:  Marcus, there's still a small problem:
pasting multiple numbers only works for the 1st time!

Try the following:
1) copy the 3 numbers (full lines) to the clipboard:
1.1
2.2
3.3
2) now paste them to the emulator --> working fine
3) now clear the stack (by [<-] and 3-times [ENTER])
4) paste them again to the emulator --> now you only have 3.3 in X, the first 2 numbers have disappeared (although they are still in the clipboard)

PS: after a few more trials it seems that [ENTER] is the problem:
whenever you press [ENTER], then a following paste doesn't paste all numbers but only the last one.

Franz



RE: WP34s: emulator feature request - fhub - 11-09-2015 10:54 AM

(11-09-2015 10:02 AM)Paul Dale Wrote:  This sounds like a stack lift issue. Pressing enter disables stack lift and the paste function doesn't re-enable it. Fix committed.
Yep, the new build 3837 solves this probem.

Thanks to Pauli and Marcus for the quick fix,
Franz


RE: WP34s: emulator feature request - Marcus von Cube - 11-09-2015 10:55 AM

(11-09-2015 10:02 AM)Paul Dale Wrote:  This sounds like a stack lift issue. Pressing enter disables stack lift and the paste function doesn't re-enable it. Fix committed.

... and rebuilt.

Walter, we are on 3837 already.


RE: WP34s: emulator feature request - Paul Dale - 11-09-2015 11:25 AM

(11-09-2015 06:52 AM)Dieter Wrote:  If I knew how to use it I also would try the console version. ;-)

I not sure you really want to....

The key mapping is near the top of console.c, the top three rows map naturally to a US qwerty keyboard, the numbers are themselves and the extra keys are more sporadic.

There are extra commands:
  • Q to quit
  • T to toggle trace mode on and off -- allows debugging in xrom and show command numbers as you execute them
  • F toggles the extra information display -- only touch this to avoid screen clutter
  • C displays an instructions executed counter & resets it to zero
  • X simulates a copy displaying on the screen
  • V simulates a paste of three numbers
  • control-L redraws the display

The text display includes a lot of status information and internal state at the top of the screen. This includes the stack and other lettered registers and a lot of other things too. The calculator display is crudely rendered as well.

All in all, good for debugging but not all that easy to use for anyone except me Smile


- Pauli


RE: WP34s: emulator feature request - walter b - 11-09-2015 11:53 AM

Ok, retried with build 3837:

Selected one Excel cell, copied to clipboard, opened WP 34S, right-clicked on [WP], clicked on <Paste number(s)> ... nothing happened. Sad What did I miss? Confused

d:-?


RE: WP34s: emulator feature request - fhub - 11-09-2015 11:58 AM

(11-09-2015 11:53 AM)walter b Wrote:  ..opened WP 34S, right-clicked on [WP], clicked on <Paste number(s)> ... nothing happened.
You're right, it does not work from this right-click menu, it only works when you do it in the top menu bar.

Franz


RE: WP34s: emulator feature request - walter b - 11-09-2015 12:04 PM

Thanks for pointing this out. Usually, I hide this titlebar. Anyway, it's not logical working just one of both possible ways.

d:-/


RE: WP34s: emulator feature request - ggauny@live.fr - 11-09-2015 12:53 PM

Hi,

How find build 3837 ? On SourceForge I don't see 3837 ?


RE: WP34s: emulator feature request - fhub - 11-09-2015 12:58 PM

(11-09-2015 12:53 PM)ggauny@live.fr Wrote:  How find build 3837 ? On SourceForge I don't see 3837 ?
You'll always find the latest builds here:
http://sourceforge.net/p/wp34s/code/

Franz


RE: WP34s: emulator feature request - Marcus von Cube - 11-09-2015 01:00 PM

(11-09-2015 12:04 PM)walter b Wrote:  Anyway, it's not logical working just one of both possible ways.

I agree. Try again, please!


RE: WP34s: emulator feature request - walter b - 11-09-2015 01:21 PM

Looks significantly better now. Thanks! Seems we can use it now.

d:-)


RE: WP34s: emulator feature request - walter b - 11-09-2015 01:25 PM

... and look in the square brackets - there you find [r3839] as the most recent build now.

d:-)


RE: WP34s: emulator feature request - Marcus von Cube - 11-09-2015 01:48 PM

(11-09-2015 01:25 PM)walter b Wrote:  ... and look in the square brackets - there you find [r3839] as the most recent build now.

Should be fixed now.


RE: WP34s: emulator feature request - walter b - 11-09-2015 03:36 PM

Yes, it is.

d:-)


RE: WP34s: emulator feature request - Dieter - 11-09-2015 08:06 PM

(11-09-2015 01:00 PM)Marcus von Cube Wrote:  I agree. Try again, please!

Great – it works! Thank you very much!

Two observations:
  • Copy: the Raw output seems to be formatted according to ALL 6 mode. For instance, 1E–6 pi is copied as 0,000003141592653589793 while 1E–7 pi yields 3,141592653589793E-7. For me this looks a bit strange, but maybe there is a special reason for this instead of, say, ALL 3.
  • Paste: additional digits (17+ in SP resp. 35+ in DP mode) seem to get correctly rounded. That's nice.
    Even very long input like 0,000000000000000314159265358979323846264338327950288 works.
But I really like it. It's really a big improvement. Thanks again.

Dieter


RE: WP34s: emulator feature request - pascal_meheut - 11-09-2015 08:15 PM

The Qt emulators have been rebuilt too.


RE: WP34s: emulator feature request - walter b - 11-09-2015 08:32 PM

(11-09-2015 08:15 PM)pascal_meheut Wrote:  The Qt emulators have been rebuilt too.
(11-08-2015 12:50 PM)Paul Dale Wrote:  ... the Qt emulators ... Are they really emulators? They don't emulate anything, rather they are more like ports.

??

d:-?


RE: WP34s: emulator feature request - pascal_meheut - 11-09-2015 09:18 PM

We emulate the hardware: screen, keyboard...


RE: WP34s: emulator feature request - Marcus von Cube - 11-09-2015 09:50 PM

(11-09-2015 08:06 PM)Dieter Wrote:  Two observations:
  • Copy: the Raw output seems to be formatted according to ALL 6 mode...
  • Paste: additional digits (17+ in SP resp. 35+ in DP mode) seem to get correctly rounded...

This is standard behavior of the underlying decNumber library.


RE: WP34s: emulator feature request - matthiaspaul - 11-10-2015 02:02 AM

I too was hoping this would be implemented one day. ;-) Thanks, Pauli and Marcus, for the great workl

(11-08-2015 09:28 PM)Dieter Wrote:  what about a keyboard shortcut? For instance Ctrl+Shift+C and Ctrl+Shift+V?
Sounds like a good hotkey, but it would conflict with my clipboard manager. So, ideally, the hotkey would have to be configurable...

Now, with direct register export/import bypassing keyboard and display in place, two related feature suggestions appear to be in reach:

- Raw copy & paste selected register(s) to/from clipboard via keyboard and mouse in "debug" mode
- Allow to edit a number in a selected register in a popup window via keyboard and mouse in "debug" mode

Greetings,

Matthias