Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uakari.primate.wisc.edu!eng.ufl.edu!joker.mil.ufl.edu!jc From: jc@joker.mil.ufl.edu (Jim Castleberry) Newsgroups: comp.sys.tandy Subject: zoo CRC problem on Tandy 6000: FIX Message-ID: <1991Jan9.093708.12518@eng.ufl.edu> Date: 9 Jan 91 09:37:08 GMT Sender: news@eng.ufl.edu Distribution: na Organization: Machine Intelligence Lab, University of Florida Lines: 18 Originator: jc@joker.mil.ufl.edu I've tracked down a problem in running zoo on the Tandy 6000 which causes it to create archives with bad crc's. Though the fix is somewhat obvious, I haven't seen it mentioned on the net, and I've seen others mention the problem with no solution, so I thought I'd post it. The problem is that the zoo "add" code uses *LOTS* of stack. In my test runs under adb 24k was not enough. The docs recommend using lots of stack, but the Tandy makefile, mkx68, has flags which result in the default 8k stack. The resulting underrun ends up trashing the static crc table but is not enough to cause a core dump, hence the crc errors. So, to fix it edit mkx68 to use a stack size of 32k by adding "-F 8000" to the "ldswitch=", then recompile. I also added "-DLINT" to the "cflags=" to cut the sccs strings out of the executable, but it will run with or without them. Enjoy! Jim