Idea for simulator: real speed menu - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Idea for simulator: real speed menu (/thread-9667.html) |
Idea for simulator: real speed menu - compsystems - 12-10-2017 02:11 PM Hello please create an option in the simulator (real speed menu) that simulates the default speed of the calculator, for the purpose of testing programs exactly as they would look in the physical device Thanks RE: Idea for simulator: real speed menu - Dirk.nl - 12-10-2017 03:06 PM Compsystem, Have you thought about the costs that HP has to make to program all your change requests. I think that HP is not a philanthropic institution, just a (very fine) commercial company. Please be realistic! RE: Idea for simulator: real speed menu - StephenG1CMZ - 12-10-2017 03:53 PM I imagine accurately running a program at the correct speed on all platforms would be a lot of work, and most people would not require that. A simpler approach that might be useful would be to have a programmable SLOWER functionality that implements a short WAIT after each statement. Compared to running the simulation at the exact speed for the whole program this has the following advantages : 1 Much less work for HP than timing all instructions and getting all platforms to match for all instructions. 2 Programmer can change the speed during a program (making games easier or more difficult; doing faster calculations and keeping the user interface relatively fixed, etc.). 3 For debugging purposes, you could run slower-than-normal (checking screen printout that goes offscreen before it is read, without having to litter your code with WAITs). RE: Idea for simulator: real speed menu - pier4r - 12-10-2017 04:01 PM (12-10-2017 03:06 PM)Dirk.nl Wrote: Compsystem, I second this point. RE: Idea for simulator: real speed menu - cyrille de brébisson - 12-11-2017 06:05 AM Hello, In the old time, on PC, people made programs/games that were not timed. The result was that when faster PC became available, these games became unuseable (too fast). Prime is the same thing. It is a platform for HP and it has many incarnations. There is the physical calculator, but also the various emulators (PC, mac, Android, IOS), all running at various speeds. Prime also comes from the HP 39GII+. And although Prime has progresses a lot since then, they used to be compatible. As a result, program creator have to take this diversity into concideration and make speed sensitive programs able to cope with the various intrinsic speeds. Sorry. Cyrille RE: Idea for simulator: real speed menu - toml_12953 - 12-11-2017 12:34 PM (12-10-2017 03:06 PM)Dirk.nl Wrote: Compsystem, They're just suggestions! How is HP going to know what people want if no one tells them? Compsystem doesn't demand anything, just tells what would be nice to have. Blue-sky, if you will. If I was a company, I'd welcome Compsystem's requests. That doesn't mean I'd try to implement all or even any of them. They'd still be valuable, however. In this particular case, other emulators for PCs have a throttle that let's them run at approximately the same speed as the physical calculator so the request isn't so far-out that it isn't possible. RE: Idea for simulator: real speed menu - chromos - 12-11-2017 12:58 PM (12-11-2017 12:34 PM)toml_12953 Wrote:(12-10-2017 03:06 PM)Dirk.nl Wrote: Compsystem, If Compsystem's posts are suggestions then Dirk.nl's 'Please be realistic!' is suggestion as well. RE: Idea for simulator: real speed menu - pier4r - 12-11-2017 01:08 PM (12-11-2017 12:34 PM)toml_12953 Wrote: They're just suggestions! Yes and no. If one collects them in one thread it is ok in my opinion. If one wants to check for feedback from the user X, one can check that thread. There is not much clutter and that's it. If one, instead, "spams" them in a new topic every time it clutters the forum section and the usability by other people (unless the forum is called "feature requests"). That is also not so great. Asking is always the easy part. Then it comes the moment when the suggestion stream becomes a bit too arrogant/complaining (see request to take over the project of Mr. Parisse), and that's also not so great. I personally I would prefer either a single thread with all feature requests from user X, or a bit more contributions, not only requests (that, as wrote, are the easy part). RE: Idea for simulator: real speed menu - salvomic - 12-11-2017 01:33 PM (12-11-2017 01:08 PM)pier4r Wrote: ... Maybe something like this thread, that's devoted to suggestions... RE: Idea for simulator: real speed menu - pier4r - 12-11-2017 02:04 PM (12-11-2017 01:33 PM)salvomic Wrote: Maybe something like this thread, that's devoted to suggestions...Oh so there is already. Therefore I don't see the reason to ignore it. RE: Idea for simulator: real speed menu - salvomic - 12-11-2017 02:27 PM (12-11-2017 02:04 PM)pier4r Wrote: ...Therefore I don't see the reason to ignore it. yes, you're right RE: Idea for simulator: real speed menu - wangchong01 - 12-11-2017 10:28 PM I don't think it's very difficult. Everything you need is a x86-cpu emulator (for windows) and control the CPU speed in the emulator, which has been already implement in the dosbox. RE: Idea for simulator: real speed menu - Luigi Vampa - 12-11-2017 11:04 PM I don't see any bad manners in Compsystem's request, though I guess it may sound too-straightforward to an English speaker. As commented in another thread, English is not the mother tongue of every forum member, and some may write more correctly than others. The worst forum members are not those who ask about prospect new features, but those leeches (like me:) who don't contribute/share ideas like Compsystems actively does. RE: Idea for simulator: real speed menu - cyrille de brébisson - 12-12-2017 05:59 AM Hello, It actually would not be very easy to do. On the HP48 simulator, it was realatively easy because the PC program was relatively simple (the CPU emulator). It was therefore possible to add in one place some delay to match the calcuator speed. However, for Prime, since the PC program running is the same C code than on the real calculator, we would need to either put delay everywhere, or to have a "monitoring process" which would stop and start the calculating process to slow it down. Even then the slow down would not be exactly proportional everywhere. Regardles, it would be usefull for checking that a program is not too slow to run on the HW machine, but should not be used on the PC to slow down the emulator as, as I said earlied, Prime is not like the 48 was in the fact that Prime is multi platform, it is not "a physical calculator with emulators", it is a calculator that works on lots of platforms (the dedicated HW, but also all the other ones). And programs should be made in consequences. Regarding the other part of the conversation: - Yes, this would have been a good suggestion to put in the suggestion thread. - Yes, the original post was a little bit on the terse side of language. Assuming that this is not from a native speaker, I do not see a problem with it. - Merry xmass! Cyrille |