C compiler
|
09-15-2015, 11:45 AM
Post: #21
|
|||
|
|||
RE: C compiler
precisely! If I were a student, I'd probably want a TI....but I'm an engineer.....I want functionality, not exam mode. However, as I've repeated over and over again, if they were to provide it, they could prevent people from writing over any undesired areas using the MMU. They could not change that from their C code either if set up properly. Shoot, this is how Linux works...you have supervisor and user mode. If in user mode, you cannot change certain aspects of the system...only a superuser can (root).....and if you don't have that capability, you just cannot, even from a program.....so exam mode isn't an issue ONLY IF THEY SET IT UP THAT WAY. If we hack a way in, then there will be no protection. Why not embrace it and control it?
Oh well, I'm sure I'm talking to the wind anyways. I think the solution is through an external connection....doing the intense computation on an external processor....maybe use the GPU in an X1 tegra board or something....have 300 GFlop. Now there is an idea....a calculator with a built-in supercomputer.....building a calculator out of the X1 tegra processor (from NVIDIA). Has 2GHz quad arm core with 300GFlop GPU...that'd be a cool pocket calculator... :-) OK, I'll get off my soapbox now :-) |
|||
09-15-2015, 01:36 PM
Post: #22
|
|||
|
|||
RE: C compiler
(09-15-2015 06:50 AM)xset Wrote:(09-12-2015 07:19 PM)Tim Wessman Wrote: PLEASE STAY AWAY FROM ANYTHING THAT MESSES WITH THE EXAM MODE What TW is saying is just to stay away from exam mode routines. One evil person could easily replace small comparisons and things to bypass exam mode (imagine you see a document how to bypass your atm password, even if is an isolated case gen population loses trust on that mechanism), since the firmware upload is not encripted/signed. Nothing to do with the calculator capabilities, after all the scope for the prime was already defined. (09-15-2015 11:45 AM)webmasterpdx Wrote: Now there is an idea....a calculator with a built-in supercomputer.....building a calculator out of the X1 tegra processor (from NVIDIA). Has 2GHz quad arm core with 300GFlop GPU...that'd be a cool pocket calculator... :-) Just remote connect to a 'supercomputer' via a 40 usd android tablet My website: ried.cl |
|||
09-15-2015, 05:50 PM
Post: #23
|
|||
|
|||
RE: C compiler
(09-14-2015 04:08 PM)webmasterpdx Wrote: Who owns the code then if not hp? A few months back, I looked at the firmware files and saw a copyright by Inventec Besta (https://en.wikipedia.org/wiki/Inventec), though this is my own speculation, nothing more. |
|||
09-15-2015, 06:14 PM
Post: #24
|
|||
|
|||
RE: C compiler
(09-14-2015 05:45 AM)cyrille de brébisson Wrote: Hello, The OS does not need to be modified unless it already implements MMU protection. If the OS does not use the MMU it's better, you can do what hpgcc3 does: * Save all hardware registers * Take control of the CPU exceptions, enable the MMU to create your own isolated environment * Run the native user program in a separate address space * Unwind the mess, shut down the MMU, restore system exception handlers * Restore all hardware registers and return like nothing happened. This way you could create a secure wrapper for people to run native code in a completely sandboxed environment. This could include a virtual stack where the code could take arguments from and return results (the Prime's data and code don't need to be visible from within this environment). The wrapper would be in charge of copying the arguments and results from/back to Prime memory. Providing an environment like described above, some useful software could be written for the Prime (I'm willing to port newRPL to such environment). You could of course disallow its use during exam mode. |
|||
09-15-2015, 06:26 PM
Post: #25
|
|||
|
|||
RE: C compiler
Precisely!!!
|
|||
09-15-2015, 06:27 PM
Post: #26
|
|||
|
|||
RE: C compiler
(09-15-2015 05:50 PM)Claudio L. Wrote:(09-14-2015 04:08 PM)webmasterpdx Wrote: Who owns the code then if not hp? That's interesting... |
|||
09-18-2015, 11:35 AM
Post: #27
|
|||
|
|||
RE: C compiler
(09-15-2015 01:36 PM)eried Wrote: One evil person could easily replace small comparisons and things to bypass exam mode (imagine you see a document how to bypass your atm password, even if is an isolated case gen population loses trust on that mechanism It seems like VERY stupid idea. Why to buy expensive fancy handheld if you disable its capabilities ??? You can buy simple engineering calculator without CAS and use it during exam. Because of that standard exams they closed architecture and don't allow to develop right software. PPL is almost OK as language, but awful as environment (development and working). We have quite good hardware locked for software development. Brrrrrr The World is bloody imperfect, today if some company releases cool hand-held device it will necessarily make Gulag for its users. Step right, step left - execution by firing squad :-( Best regards XSet |
|||
09-18-2015, 08:10 PM
Post: #28
|
|||
|
|||
RE: C compiler
(09-15-2015 05:50 PM)Claudio L. Wrote:FWIW, Inventec (Inventec Multimedia & Telecom Corporation) has also been the hardware design firm for the HP 20b (aka MJ920A aka "HP Little EURO") and HP 30b financial calculators in 2008.(09-14-2015 04:08 PM)webmasterpdx Wrote: Who owns the code then if not hp?A few months back, I looked at the firmware files and saw a copyright by Inventec Besta (https://en.wikipedia.org/wiki/Inventec), though this is my own speculation, nothing more. Greetings, Matthias -- "Programs are poems for computers." |
|||
09-18-2015, 09:43 PM
Post: #29
|
|||
|
|||
RE: C compiler | |||
09-19-2015, 03:10 AM
Post: #30
|
|||
|
|||
RE: C compiler
I'd like arbitrary precision integer arithmetic and to have an optimized native function to factorize (would take too long to factorize using PPPL when dealing with a 1025 digit number).
I'm doing some research on prime numbers and need that capability. I'm sure there are lots of other areas where the math needs a lot of CPU cycles....hence the desire for native programming. |
|||
09-24-2015, 08:01 AM
Post: #31
|
|||
|
|||
RE: C compiler
(09-13-2015 02:06 AM)webmasterpdx Wrote:(09-12-2015 07:19 PM)Tim Wessman Wrote: They aren't wince dlls, nor anything to do with wince. It is fairly common however for asian manufacturers to copy names and organization to aid with familiarity of developers internally. A lot of the OS calls are named fairly similar to windows type calls even when they have slight differences or even outright missing behavior. It can honestly get a little annoying. Any method that can be used to run assembly or C code can be used to break the OS, and therefore screw with exam mode. I'm sure that it will be done eventually, by somebody, and the Prime will then be able to run any software the user desires, toggle the light, present an apparently "clean" calculator which can be switched on for inspection (think of the old boss key that some games had in the 80s and 90s) and so forth. HP will then have to shift its software development focus to defeating its own user community like TI does. Does TI introduce updates for its existing calculators that fix bugs and expand features? Not at the rate HP does, because they're busy trying to keep the kids from running Super Mario Brothers and cheating on their tests. TI probably has a larger calculator division than HP and it seems that fighting the user community is taking up most of their time and to little avail. Then again, if there comes a time that HP's calculator improvements have slowed or eventually stop, perhaps even despite existing bugs as in the cases of the 50g and the 39gii, "breaking" the OS might be in the overall interest of the user community after all. |
|||
09-24-2015, 08:55 AM
(This post was last modified: 09-24-2015 08:57 AM by xset.)
Post: #32
|
|||
|
|||
RE: C compiler
(09-24-2015 08:01 AM)Sukiari Wrote: Then again, if there comes a time that HP's calculator improvements have slowed or eventually stop, perhaps even despite existing bugs as in the cases of the 50g and the 39gii, "breaking" the OS might be in the overall interest of the user community after all. Right! Taking in account almost unusable on-board program editor, they care about damn exam mode too much :-( HP Prime is one of best handheld mini-computers, slim as smartphone with good calculator keyboard, HP is committing a crime limiting development on it. People could make it calculator of dream HP 50g + new features. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)