Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!viewlog.viewlogic.com!greg From: greg@viewlogic.com (Gregory Larkin) Newsgroups: comp.os.minix Subject: Re: wanted: 16bit compress Message-ID: <1991Jun26.175053.4092@viewlogic.com> Date: 26 Jun 91 17:50:53 GMT References: <1991Jun26.155515.25831@ira.uka.de> <33902@usc.edu> Sender: news@viewlogic.com Organization: Viewlogic Systems, Inc. Lines: 46 Originator: greg@mobius Nntp-Posting-Host: mobius In article <33902@usc.edu>, kjh@pollux.usc.edu (Kenneth J. Hendrickson) writes: > In article <1991Jun26.155515.25831@ira.uka.de> S_WIEZORKE@iravcl.ira.uka.de (Hans B. Wiezorke) writes: > >I am in need of a 16bit compress for minix386. > > I am currently working on this. I got the source for a version of > compress that has much conditional stuff for machines like M_XENIX, > interdata, and others, but which doesn't have extra stuff for PCDOS like > the source for Minix has. I am working on merging these two versions > together, so that all of the conditionally compiled code for any machine > will be included. > I just got the newest version of Compress (4.1) from comp.sources.misc. I am just using a lowly '286 with 640K of memory. I have always wanted a version of compress that could handle 16 bits. In the source of compress, there is a define for M_XENIX. One of the important things that this define does is split the hash table into smaller ( <65535 ) chunks. I saw this and thought that this might solve the '286/no-16-bit-compression problem. Well, I got it onto the Minix box and compiled with these flags: -DSHORTNAMES -D_POSIX_SOURCE -D_MINIX -DM_XENIX -DDIRENT -DVOIDSIG The executable actually compiled and linked with the ACK compiler! (There was one small change to make when a couple of symbols with names >8 characters conflicted). Now, when I try to run this thing, the worst I get are all kinds of core dumps. The best I get is an infinite loop. Has anyone played around with this version of Compress on a '286? Is the only reason that 16 bit compress won't run on a '286 because ACK won't allocate >64K arrays or is there some other limitation that I am over- looking? I would love to get this working!! Any tips? Thanks, -- Greg Larkin (ASIC Engineer)|"This is a fragile ball we are living on; Viewlogic Systems, Inc. |it's a miracle and we are destroying it.." 293 Boston Post Road West |Peter Garrett, Midnight Oil Marlboro, MA 01752 (greg@Viewlogic.COM)