The Museum of HP Calculators

HP Forum Archive 16

[ Return to Index | Top of Index ]

P41CX
Message #1 Posted by gileno on 19 May 2006, 6:15 p.m.

"SHIFT GTO ..." Don't work! ! !
PalmTX
Thank's
      
Re: P41CX
Message #2 Posted by Eric Smith on 19 May 2006, 6:41 p.m.,
in response to message #1 by gileno

What do you expect the third "." to accomplish? If you just want to pack program memory and position to the end, the command is "GTO ..".

If it doesn't work, what does it do? What is displayed?

You might find it helpful to read How to Ask Questions the Smart Way.

            
HP-41 PACK and X-Function "PCLPS" [was: P41CX]
Message #3 Posted by Karl Schneider on 20 May 2006, 1:31 a.m.,
in response to message #2 by Eric Smith

Eric --

Thanks for the link, which contained an informative and very witty essay!

Gileno --

Please heed Eric's advice.

I wrote the following, until I later realized that you were talking about an emulator/simulator. Nonetheless, it may prove useful to owners of real 41C/CV/CX calc's.

"GTO .." and "CLP" execute the "PACK" command, which essentially defragments program memory. PACK itself might fail to complete, if the contents of program memory are corrupted. The Extended Function "PCLPS" does not execute PACK. It is built into the 41CX, and is available on the X-Functions module for the 41C or 41CV.

Recently, program memory became corrupted on my own fullnut HP-41CX. PACK, CLP, and "GTO .." all failed, and the calc malfunctioned in other ways as well. PCLPS enabled restoration by deleting the corrupted programs prior to my manually executing PACK.

Full story here:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv016.cgi?read=90348#90348

-- KS

Edited: 22 May 2006, 11:25 p.m.

            
Re: P41CX
Message #4 Posted by Garth Wilson on 20 May 2006, 4:40 a.m.,
in response to message #2 by Eric Smith

Quote:
What do you expect the third "." to accomplish? If you just want to pack program memory and position to the end, the command is "GTO ..".

If you have the ZENROM, GTO. gives you GTO ST _ , GTO.. gives you GTO ___ and GTO... packs and puts you ready to start a new program after the existing ones.

                  
Re: P41CX
Message #5 Posted by gileno on 20 May 2006, 10:10 a.m.,
in response to message #4 by Garth Wilson

I have the ZENROM, GTO. gives GTO ST _ , GTO.. gives GTO ST _ and GTO... gives GTO ST _ ?!?!?!!?
I have a pamlTX 

Edited: 20 May 2006, 10:11 a.m.

                  
Re: P41CX
Message #6 Posted by gileno on 20 May 2006, 1:18 p.m.,
in response to message #4 by Garth Wilson

Port 1 = PPC
Port 2 = ZenRom
Port 3 = CCD
Port 4 = Advantage

Perfect !!! :-)

                        
Re: P41CX
Message #7 Posted by Doug on 20 May 2006, 11:16 p.m.,
in response to message #6 by gileno

There is some information in the Articles Forum:

by Reinhard Breuer on 24 July 2000, 11:10 p.m.

Might try switching CCD and Zenrom port locations, see what happens. They are both using the same I/O poll.

Best

            
Re: P41CX
Message #8 Posted by vassilis prevelakis on 20 May 2006, 10:26 a.m.,
in response to message #2 by Eric Smith

While we are all speculating what the original poster really meant, here is my take:

If you want to go to the last program in memory without packing or adding a new END, you can use routing GE from the PPC ROM. This is a synthetic routine, but it can be copied from the ROM to RAM, so you do not need to have the PPC ROM itself. I have this routine in all my HP41s.

**vp

PS it looks like asking vague questions results in lots of interesting replies. Maybe I should post a new message with a simple question mark as the subject and no contents :-)

------------------------------------------------------------

Listing of GE (from RAM):


[ Return to Index | Top of Index ]

Go back to the main exhibit hall