From: bson@rice-chex.ai.mit.edu (Jan Brittenson)
Newsgroups: comp.sources.hp48
Subject: v03i009:  uud - a uudecoder v1.0b, Part01/01
Date: 2 Dec 91 02:50:22 GMT
Followup-To: comp.sys.hp48
Organization: Univ. of North Carolina @ Wilmington

Checksum: 3800185134 (verify with brik -cv)
Submitted-by: Jan Brittenson <bson@rice-chex.ai.mit.edu>
Posting-number: Volume 3, Issue 9
Archive-name: uud/part01


   This is a beta version of UUD, an HP-48 uudecoder. It is considered
a test version since any bugs may have rather disastrous effects, and
although I've tried to test and debug it thoroughly, new problems may
surface under unusual conditions. This means that if losing any data
is unacceptible, then you should probably refrain from using this
program until some time has passed with no bug reports, at which point
I will repost it as a non-beta version.

UUD is relatively simple to use:

	UUD
		Uudecode the string in level one, replacing
		it with the resulting object.

			string --> obj


   Any kermit preamble (the familiar "HPHP48-X" sequence) is ignored,
so it can be used to uudecode objects built on a development system
without bothering to generate the kermit preamble, as well as those in
binary HP-48 kermit format. Any preamble is simply skipped.

   The total memory usage is the size of the string plus the size of
the resultant object, plus ten nybbles. Since the size of a uuencoded
file is about 1.6 times that of a binary file, the largest decodable
string is approximately the available memory divided by 2.6. For 24kB
of free memory, this means roughly 9.5kB. The string can reside
anywhere, while the result will be allocated in TEMPOB.

   The binary and source code is provided "as is," under the GNU
General Public License. For more details on this, see the source code
included below. As I post this, I notice the code may need some
browsing, which I will take care of once any bugs are fixed.

Happy hacking!

						-- Jan Brittenson
						   bson@ai.mit.edu