Post Reply 
WP34s: emulator feature request
11-09-2015, 10:02 AM
Post: #21
RE: WP34s: emulator feature request
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
Find all posts by this user
Quote this message in a reply
11-09-2015, 10:54 AM
Post: #22
RE: WP34s: emulator feature request
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
11-09-2015, 10:55 AM
Post: #23
RE: WP34s: emulator feature request
(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.

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
11-09-2015, 11:25 AM
Post: #24
RE: WP34s: emulator feature request
(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
Find all posts by this user
Quote this message in a reply
11-09-2015, 11:53 AM
Post: #25
RE: WP34s: emulator feature request
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:-?
Find all posts by this user
Quote this message in a reply
11-09-2015, 11:58 AM
Post: #26
RE: WP34s: emulator feature request
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
11-09-2015, 12:04 PM
Post: #27
RE: WP34s: emulator feature request
Thanks for pointing this out. Usually, I hide this titlebar. Anyway, it's not logical working just one of both possible ways.

d:-/
Find all posts by this user
Quote this message in a reply
11-09-2015, 12:53 PM
Post: #28
RE: WP34s: emulator feature request
Hi,

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

Gérard.
Find all posts by this user
Quote this message in a reply
11-09-2015, 12:58 PM
Post: #29
RE: WP34s: emulator feature request
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
11-09-2015, 01:00 PM
Post: #30
RE: WP34s: emulator feature request
(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!

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
11-09-2015, 01:21 PM
Post: #31
RE: WP34s: emulator feature request
Looks significantly better now. Thanks! Seems we can use it now.

d:-)
Find all posts by this user
Quote this message in a reply
11-09-2015, 01:25 PM
Post: #32
RE: WP34s: emulator feature request
... and look in the square brackets - there you find [r3839] as the most recent build now.

d:-)
Find all posts by this user
Quote this message in a reply
11-09-2015, 01:48 PM
Post: #33
RE: WP34s: emulator feature request
(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.

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
11-09-2015, 03:36 PM
Post: #34
RE: WP34s: emulator feature request
Yes, it is.

d:-)
Find all posts by this user
Quote this message in a reply
11-09-2015, 08:06 PM (This post was last modified: 11-09-2015 08:18 PM by Dieter.)
Post: #35
RE: WP34s: emulator feature request
(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
Find all posts by this user
Quote this message in a reply
11-09-2015, 08:15 PM
Post: #36
RE: WP34s: emulator feature request
The Qt emulators have been rebuilt too.
Find all posts by this user
Quote this message in a reply
11-09-2015, 08:32 PM
Post: #37
RE: WP34s: emulator feature request
(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:-?
Find all posts by this user
Quote this message in a reply
11-09-2015, 09:18 PM
Post: #38
RE: WP34s: emulator feature request
We emulate the hardware: screen, keyboard...
Find all posts by this user
Quote this message in a reply
11-09-2015, 09:50 PM
Post: #39
RE: WP34s: emulator feature request
(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.

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
11-10-2015, 02:02 AM
Post: #40
RE: WP34s: emulator feature request
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


--
"Programs are poems for computers."
Find all posts by this user
Quote this message in a reply
Post Reply 




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