P41CX, Palm TX, and CPU Speed setting



#2

I sense in advance that the answer to the following will be "It's a matter of personal taste and comfort," but I still would like to get a sense of what experienced users are doing.

I am running P41CX on a new Palm TX. It looks beautiful on the larger screen, and runs like lightening on this newer machine. Therein lies my dilemma.

I would like very much for the emulator to run programs and calculations at the maximum possible speed, even though this isn't "true" to the original calculator. However, if I set the CPU setting slider to the maximum end, the virtual keypad is way too sensitive, and I get a lot of "NULLs" if the stylus lingers on a function key a little too long.

I am sure that more experienced users of the emulator on newer PDAs have had time to experiment with this issue and to strike the balance between speed and oversensitivity of the keypad.

Les


#3

If the programs you're running on P41CX are HP-42S-compatible, you could try using Free42 to run them instead. Free42 uses the system clock to handle the NULL timeout, so the keyboard reacts the same regardless of how fast or slow your machine is, and, it *always* executes programs at maximum speed. (Plus, when Free42 is idle, it is *really* idle, so that the OS is able to go to low-power mode; P41CX busy-waits, preventing low-power mode, which is why it runs down the battery so quickly.)

In case you're not sure if your programs run on a 42S, there's a quick check you can try: import the *.raw files into Free42, and then set the Preferences so that printer output is sent to a text file; print your programs using PRP, and then search for XROM in the print-outs. If you don't find any XROMs, the programs should work.

(Note that the HP-42S and Free42 do not support HP-41-style Synthetic Programming, nor do they support full keyboard customization (USER mode).)

- Thomas


Edited: 24 Apr 2006, 9:29 p.m.


#4

Thanks Thomas. The emulators and skins are very nice indeed, and I would like to get to know this calculator better, at least in emulated form.

I have one question regarding 41C to 42S program porting.

In 41C programs, it is not uncommon to assign certain routines to the keys of the top row, with corresponding local labels A thru E in the code. The routines are accessed out of USER mode by hitting the appropriate top row keey--indeed many an HP41C application quick reference card provides these key assignment.

In executing such locally labeled routine, what does one do? Change them to global labels in the code and access them from the program menu?

Maybe this is an irksome amateurs question, but if someone has a moment this would help me greatly in the task of porting HP41 progs to HP42.

Les


#5

Les,

The HP-42S is compatible with this behaviour from HP-41C programs: in 'Modes', you can choose the 'LCLBL' option, which will make the 'Custom' menu have 'A',..,'E..' on the first page and 'F',..'J' on the second one. So it is not a problem to port a program making use of this facility.

More problematic are programs that make use of both this facility and other key assignements (you have this in the Finance module I think). In that case you will not have *both* local labels and the normal custom menu on the 42S, unless you toggle LCLBL on/off, which is a bit troublesome - but workable.

In short, as long as your HP-41 program does not make use of specific modules commands (such as the Advantage), or uses extended memory/extended functions from the CX (except for the alpha commands), and does not use synthetic or assembly programming, you should be able to use it without the slightest modification on the 42. And since Thomas was kind enough to provide .raw format import (used in 41 emulators) and a program to convert 41 modules user code to .raw, you can import a lot of 41 stuff into the 42 (but nothing synthetic/assembly).

Hope this helps.

Cheers,
Vincent


#6

That is great! Thank you!

The other issue I have is the treatment of SF 21. In the absence of a printer on the HP41CV, this flag leads to AVIEW and VIEW halting execution, and, as I understand from my youth of writing for 41C, it is ubiquitous in programs to permit viewing of program output one line at a time in absence of a printer. (If you put STOP after each AVIEW to halt execution, in the presence of a printer you need to hit R/S to continue and that defeats the purpose of a printer! Hence the usefulness of the flag.)

Is there anyway to emulate this printer-absent behaviour in Free42? If Thomas has provided a way to disable output to his "virtual" printout, I have yet to find it. On the other hand, it is delightful to have printer emulation. I recently wrote a certain unnameable person about his excellent 41C emulator, and he advise that, alas, he has no plans to develop the code further, much less provide printer support....

I seem so fickle! Don't have printing when I want it, want to disable it when I do!!!!

Many thanks again,

Les

Best


#7

I believe that going to 'Modes' and then circulate to select 'POFF' instead of 'PON' will do the job...


#8

It actually is under "PRINT", but I found it!

I think I need to either experiment more with the calculator on my own time, or invest in the CD or DVD this site sells.... ;)

Thank you, Mr. Weber--you have been very indulgent of this newbie!

Les

#9

Free42 looks and runs great on my brand new Verizon (Really "Ut Star.. whoozeit" - used to be Audiovox) 6700. The last great line of Palm smart phones sold out to Windows (though a Treo 700p is rumored) and there are no Linux smart phones available with a national US carrier that I'm aware of, so I get to remember just what is so annoying about WinCE. One of the things that is not annoying is Free42. Great Job, Thomas! Supporting five platforms, by my count, must be a chore. Pulling it off so wonderfully well on the three I have tried is amazing! I've visited your tip jar, and encourage others to do the same. Well done!

Regards,
Howard


#10

One other thing that is not annoying about Windows CE is that it is very similar to Windows from a programming point of view, so porting Free42 to it was comparatively easy. Porting software to PalmOS is harder, and ARM-native PalmOS apps are particularly problematic (Free42 was pretty easy to ARMify, but that's because the application structure was designed for maximum portability from the outset -- most developers will have a much harder time). Hopefully the new Linux-based PalmOS will rescue the Palm platform from being steamrollered by WinCE and its unpleasant UI.

Thanks for contributing! (I'm getting close to airfare for my next U.S. vacation; a few more donations will help with the hotel and rent-a-car. ;-) )

- Thomas

Edited: 27 Apr 2006, 7:57 a.m.


Possibly Related Threads...
Thread Author Replies Views Last Post
  48G vs 49G+ User RPL Speed Comparison John Colvin 7 1,671 11-16-2013, 10:07 PM
Last Post: Han
  HP Prime - Revision Suggestion - Setting the Clock Bill Triplett 5 1,484 11-15-2013, 12:36 AM
Last Post: Joe Horn
  setting up subroutines that are called many times... Geoff Quickfall 4 1,289 10-18-2013, 03:41 AM
Last Post: Geoff Quickfall
  HP Prime Tip: Setting Up User Keys Eddie W. Shore 2 1,070 09-27-2013, 09:53 PM
Last Post: Eddie W. Shore
  WP-34S: Speed of y^x Marcel Samek 1 781 09-14-2013, 07:31 PM
Last Post: Paul Dale
  WP-34S function execution speed ? Gene Wright 4 1,131 09-04-2013, 05:40 PM
Last Post: Paul Dale
  HP-71B CPU frequency? Christoph Giesselink 18 3,243 03-02-2013, 09:35 AM
Last Post: Gerson W. Barbosa
  HP-39gII speed Mic 2 1,009 02-24-2013, 05:55 PM
Last Post: Thomas Klemm
  Calculator Speed Benchmark (Add Loop) Thomas Chrapkiewicz 2 933 01-20-2013, 11:24 AM
Last Post: Thomas Chrapkiewicz
  Speed comparison: HP 30b vs. WP 34s Dieter 9 1,841 12-08-2012, 04:34 AM
Last Post: Paul Dale

Forum Jump: