![]() |
WP 34S: Some testing required - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: WP 34S: Some testing required (/thread-200921.html) |
WP 34S: Some testing required - Marcus von Cube, Germany - 10-12-2011 In preparation of any upcoming keyboard changes I've modified the software to behave a little more like the 41C. It's in SVN and it's very likely buggy. I didn't test my changes thoroughly. So I ask you to download and install either the emulator or the firmware and report any bugs or strange behavior in the keyboard engine.
Before you ask: There is no hidden ASN command!
Re: WP 34S: Some testing required - fhub - 10-12-2011 Quote:WOW, works great - congratulations Marcus! :-) So far I've found no problems ... One question: is it intended that SHOW now only works as long as you hold down the key?
Franz
Re: WP 34S: Some testing required - Try again! - Marcus von Cube, Germany - 10-12-2011
Quote: You found a bug. The temporary displays need some more attention. We may leave it the way it is now but I tend to better bring back the old behavior.
Edit: hopefully fixed. Edited: 12 Oct 2011, 2:54 p.m.
Re: WP 34S: Some testing required - Try again! - fhub - 10-12-2011 Quote:Yes, SHOW is working again as before, but I just found that something with the f/g/h keys is seriously broken: if you press one of these shift-keys you can't undo this anymore! :-( [f] and [g] pressed more often than once just doesn't switch off the prefix again, you can switch from g to f and from f to g, but it doesn't go away at all. And [h] is even more mysterious: pressing [h] repeatedly switches from h to f to h to f ... ;-)
Franz
Re: WP 34S: Some testing required - Try again! - Marcus von Cube, Germany - 10-12-2011 Quote:
I've tried it on both the emulator and the real hardware. It works fine. Have you updated the DLL?
Re: WP 34S: Some testing required - Try again! - fhub - 10-12-2011 Quote:Yes, latest DLL 1717 from yesterday.
Now I've tried it again and I found a small difference whether I use the touchpad (instead of a mouse on my Win7 netbook) or the keyboard: Re: WP 34S: Some testing required - Try again! - Marcus von Cube, Germany - 10-13-2011 So it's emulator only and Win 7 related. Can you try with a mouse instead?
Re: WP 34S: Some testing required - Try again! - fhub - 10-13-2011 Quote:I can't imagine what this should have to do with Win7 or using a mouse instead of the touchpad!? But ok, I've tried it now with a mouse and this is just as bad as with the keyboard - whenever f/g/h is activated it can't be switched off anymore with f/g/h keys.
The last version I have where this problem does not exist is 1716, so it can't suddenly be a problem of Win7 when it hasn't been so for any previous version.
Re: WP 34S: Some testing required - Try again! - Marcus von Cube, Germany - 10-13-2011 The reason I'm suspecting Win7 is that it works flawlessly on my XP development system. I have an idea how to fix it, though. I'll report back here when you can test again.
Re: WP 34S: Some testing required - Try again! - Didier Lachieze - 10-13-2011 Hi Marcus, I’ve tested the latest emulator & dll version under Win7 and I have the same issue. It's very strange. For example when I start the emulator if I click on [h] with the mouse several times the h indicator toggles as expected, however sometimes I get the f indicator on when the h indicator should be off. If I use the keyboard and press [h] to toggle the h indicator, I see h and f indicators alternatively in the display. For [g] it's similar: with the mouse the indicator generally toggles correctly but with the keyboard I keep seeing the g indicator in the display. Same for [f].
Edit: I've tried to run it with different compatibility modes (Win XP SP2, Sp3, Vista..): same behavior. Edited: 13 Oct 2011, 7:06 a.m.
Re: WP 34S: Some testing required - Jeff O. - 10-13-2011 OK, I see that the function name is displayed and NULLs out if you hold the key down. I like that, but might make the "NULL" display go away upon release of the key or after a time delay. What other features/changes are there that makes it "behave a little more like the 41C"?
Re: WP 34S: Some testing required - Marcus von Cube, Germany - 10-13-2011 NULL not going away is a bug that should be fixed now. Yes, it's exactly that you can see the command before it executes what makes 34S behave a little more like the 41C. This helps recognize the commands being executed, especially while you are waiting for your latest overlay from Eric. Hold down one of the hot keys A to D and see if they will execute their default function or call a label, see the actual address called by XEQ + some key, preview the next step in SST mode with the option to cancel it by keeping DOWN pressed for a second...
I did some more work an the shift key detection. I hope I could fix the strange behavior reported by Franz.
Re: WP 34S: Some testing required - Try again! - Marcus von Cube, Germany - 10-13-2011 The whole GUI stuff is a bit flaky and has ever been so. It's code originally written by HP for their internal testing. There ware and most probably still are some strange pieces of code which I do not completely understand and have modified to death. Please try the latest version of the emulator and see if I fixed the issues.
Re: WP 34S: Some testing required - Dominic Richens - 10-13-2011 I like the idea! Is there a way for LBL A-D to have it display a user defined string? For example with the TVM solver, is there a way it could it display 'N=' when you press and hold A? I can never remember which program I had assigned to LBL A, B, C or D.
I modified the TVM solver to display the label like the HP-20b does _after_ they key is released, so at least I know when I've hit the wrong key as opposed to puzzling at the wrong answer.
Re: WP 34S: Some testing required - Try again! - Namir - 10-13-2011 Marcus, Sorry for asking you the obvious. What is the URL for the latest eumlator? I keep getting links to older emulator versions when I search through Google.
Namir
Re: WP 34S: Some testing required - Marcus von Cube, Germany - 10-13-2011 Nice idea but not possible with the current infrastructure. I can only display the text representation of an opcode after it has been decoded but before it's executed. Pressing and holding A does not execute any code, it just compiles the keyboard input to XEQ A which is then displayed.
If we ever find a way to support real assignable keys, we may associate them with descriptive strings but at the moment, we have no such plans or resources.
Re: WP 34S: Some testing required - Try again! - Marcus von Cube, Germany - 10-13-2011 Go to http://wp34s.svn.sourceforge.net/viewvc/wp34s/ and find your way to trunk/realbuild and trunk/windows/bin. I'd prefer a real SVN client such as Tortoise SVN. You find instructions here: http://sourceforge.net/scm/?type=svn&group_id=389575
For the emulator, get the wp34s-?.dat files, emulator.dll and wp34sgui.exe.
Re: WP 34S: Some testing required - Try again! - Namir - 10-13-2011 Merci!!
Re: WP 34S: Some testing required - Marcus von Cube, Germany - 10-13-2011 From a conversation I had with Jeff O.:
Quote: Binary program images need to be modified to work on the current release. There is a space before the Y in the exchange command.
Edited: 13 Oct 2011, 11:55 a.m.
Re: WP 34S: Some testing required - Try again! - fhub - 10-13-2011 Quote:No, the problem still exists in SVN 1725! The only thing that has changed is that now [h] doesn't toggle between 'f' and 'h' anymore (but stays with 'h'), but in about 80% f/g/h don't switch themselves off. Re: WP 34S: Some testing required - Try again! - Marcus von Cube, Germany - 10-13-2011 Franz, I don't have Win 7 and the problem does not exist on XP. So I need an idea. I ask you to explain exactly what you are doing and what happens then. I can then create custom versions with debug output built in for you to test. I fear that Win 7 does a different handling of events. Wait until Friday.
Re: WP 34S: Some testing required - Try again! (GERMAN) - fhub - 10-13-2011 Quote:Ok, wenn meine bisherigen (mehrmaligen) Erklärungen in Englisch nicht verständlich waren, dann also nochmals in Deutsch: ;-)
Also, bleiben wir mal bei der Tastatur: Wenn ich den Emulator mit der Maus bediene, zeigt sich in etwa 80% das gleiche Verhalten, in ca. 20% klappt das Ausschalten der Shift-Funktion mit der jeweiligen Taste aber. Ich sehe allerdings kein System dahinter, ob es klappt oder nicht ist eher zufällig.
Wie gesagt tippe ich auf ein Timing-Problem, d.h. daß der Emulator irgenwie zwischen Taste drücken, loslassen und wieder drücken nicht mehr richtig unterscheiden kann, welcher Tastenzustand gerade herrscht.
Franz
Re: WP 34S: Some testing required - Try again! (GERMAN) - fhub - 10-13-2011 Hallo Marcus, hier noch eine (vielleicht nicht unwichtige) Ergänzung:
D.h. ich drücke [f], dann nochmals [f], und intern ist tatsächlich dieses f-Shift wieder korrekt ausgeschaltet, es wird aber immer noch 'f' angezeigt! Tatsächlich scheint das ganze also ein reines Anzeigeproblem dieser f/g/h-Indikatoren zu sein.
Franz
WP 34S: Windows 7 copy ordered / KML anybody? - Marcus von Cube, Germany - 10-14-2011 In order to fix the Win 7 problems with the emulator I've just ordered a copy of Windows 7 so I have a testing environment. I hope this will sort the bugs out. It might be the right time to rewrite the emulator DLL based on KML. Are there any KML specialists here willing to do it? The result should
This might even be the basis of a future port to other GUIs like Mac OS, Linux, iOS or Android. I'm willing to help but I feel that others are more qualified for the job than me.
Edited: 14 Oct 2011, 5:09 a.m.
Re: WP 34S: Windows 7 copy ordered / KML anybody? - Marcus von Cube, Germany - 10-14-2011 Thanks to Franz' information I've made another attempt at fixing the emulator issues. Please test.
I still would prefer a complete redevelopment of the emulator. Any takers?
Re: WP 34S: Windows 7 copy ordered / KML anybody? - fhub - 10-14-2011 Quote:And this time you were finally sucessful, everything is working fine again with the new SVN 1727 - congratulation! :-)
Many thanks for your good work, Re: WP 34S: Windows 7 copy ordered / KML anybody? - fhub - 10-15-2011 Quote:Marcus, have you ever thought about using Christoph Giesselink's EmuXX system as base? It's source code is available, it has a very powerful KML scripting language and is used (and thus known) already to a lot of people.
I guess it shouldn't be too hard to make a connection between the EmuXX GUI code and your calculator code!?
Franz.
Re: WP 34S: Windows 7 copy ordered / KML anybody? - Marcus von Cube, Germany - 10-15-2011 Franz, I was hoping for some external help for this. It's exactly what I had in mind.
|