(Comp.sys.hp48) Item: 276 by bson at rice-chex.ai.mit.edu Author: [Jan Brittenson] Subj: Utility: UUD -- a uudecoder Date: 25 November 1991 [Note: This UUdecoder runs on the HP 48. If you'd like one that runs on a PC, see UUDECODE.EXE on this disk. -jkh-] 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. Please send your comments, ideas, and bug reports to Jan Brittenson Copyright (C) 1991 Jan Brittenson UUD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. UUD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This program is distributed without a copy of the GNU General Public License; to obtain a copy, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA, or send e-mail to bson@gnu.ai.mit.edu. This file is in the public domain. Please notice that uud.star is not. Jan Brittenson Boston, 25 November 1991 bson@ai.mit.edu