The Museum of HP Calculators

HP Forum Archive 17

[ Return to Index | Top of Index ]

Programs Shrinkers for ours beloved HPs
Message #1 Posted by Patrice on 18 Sept 2007, 8:11 p.m.

Hi all,

Does anybody know about or have programs or binaries used to shrink other programs.

What is that beast? A program that remove unneeded things from programs to speed up and shortening them. Usefull when a program don't fit in a ROM module!

HP41: I recall about (but can't find again) a program that removed unneeded labels from programs after GTOs and GSBs have been computed. From what I recall, it was published in a french magazine and the author was the former president (or something like that) of the french PPC Paris, and it was synthetic of course.

HP71B, HP75C/D, HP 83/85/86/87: it would remove remarks, shortening var names and remove lines tags and labels after jumps are computed.

HP 86/87: I remember a program (binary) called SHRINK86 which was doing at least the remarks and var names. I may even have it on floppy but it is protected with a special record on floppy to prevent copiing.

Thanks for reading. Patrice

      
Re: Programs Shrinkers for ours beloved HPs
Message #2 Posted by Allen on 18 Sept 2007, 8:29 p.m.,
in response to message #1 by Patrice

The best one I have ever seen was for the HP48 called BZ Cheers,al

            
Re: Programs Shrinkers for ours beloved HPs
Message #3 Posted by Tim Wessman on 19 Sept 2007, 12:59 a.m.,
in response to message #2 by Allen

The decompresser is built into all 49/50s as well. The compression is pretty good. I use it on a lot of the routines in my surevying software and cut about 40% of the size of the program down. Debug4x has BZ built into it so making compressed libraries is a breeze.

TW

                  
Re: Programs Shrinkers for ours beloved HPs
Message #4 Posted by Reth on 19 Sept 2007, 2:16 a.m.,
in response to message #3 by Tim Wessman

I guess the original poster is after something else (like program optimizer), not compressing program.
Cheers,
Reth
                        
Re: Programs Shrinkers for ours beloved HPs
Message #5 Posted by Patrice on 19 Sept 2007, 5:28 a.m.,
in response to message #4 by Reth

You right.

                        
Re: Programs Shrinkers for ours beloved HPs
Message #6 Posted by Doug on 20 Sept 2007, 9:28 p.m.,
in response to message #4 by Reth

HP41: ESMLDL-OS (7B), not a program, is a function: CMPDL

Best

                              
Re: Programs Shrinkers for ours beloved HPs
Message #7 Posted by Patrice on 22 Sept 2007, 11:01 a.m.,
in response to message #6 by Doug

Thanks Doug,

I did not know this one.

On first try, I see it did a lot of things. Will do a deep test later.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall