[net.micro.cpm] UUENCODE/UUDECODE MIX

w_smith@wookie.dec.com (Willie Smith, LTN Components Eng.) (08/20/86)

Many thanks to those who assisted me with getting UUENCODE and 
UUDECODE up, in the interests of paying it forward:
	Anyone who needs a HEX version of the latest UUENCODE and
UUDECODE (load with LOAD/DDT/DEHEXIFY/etc) for CP/M, pelase write
me and I will send you the files.
 
Hmm, it would appear that the MIX editor is really touchy about
stack space, if it can't run with interrupts.  My hack was fairly
simple, I used a debugger (ZDT) to disassemble the program at
0100H and followed the logic as best as I could.  One of the first
things the program does is to set up the stack pointer to a known
value.  I patched this location to set up the stack pointer to FFFFH
(where there is some free room in my BIOS), and the program appeared
to work better (the continual crashes went away).  When I explained
this to the guy at MIX, he said it couldn't be the stack, as the 
program used 4K (not a typo, four kilobytes) of stack space.  As it
didn't use that much in that blank space at the end of my bios, I
assumed it set up one stack for the init routines and then another
for the actual execution.  [Special NOTE: the stack builds _down_
from the top, if you do this, point at the _highest_ adress in the
stack space when you say  LD  SP,SPACE].  Even after fixing that
major problem, though, I don't know if it's worth it....
 
Willie Smith
 
UUCP:	decwrl!wookie.dec.com!smith
Internet:	smith@wookie.dec.com