From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Thread: f7344,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gid3717dac89a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!news.ctrl-c.liu.se!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Message-ID: From: Johnny Billquist Date: Sun, 25 Apr 2010 15:31:32 +0200 References: <8265dgFs33U3@mid.individual.net> <4b4b6eb4-985d-4c4d-9525-a18fcabd3e07@v14g2000yqb.googlegroups.com> Organization: Update Computer Club NNTP-Posting-Host: 178-83-29-134.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1272202293 24998 178.83.29.134 (25 Apr 2010 13:31:33 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 25 Apr 2010 13:31:33 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: Xref: g2news2.google.com alt.sys.pdp11:1481 comp.sys.dec:1942 comp.os.vms:30523 glen herrmannsfeldt wrote: > In alt.sys.pdp11 Johnny Billquist wrote: > (snip) > >> Well, the question wasn't so much a question of wether an RSX port >> existed (which I doubt), but if you could inform a little on the memory >> requirements of ZIP. How does it work? Does it create some large table >> for compression purposes? I'm perfectly happy to work on an >> implementation myself, if it's just realistic in memory usage. > > Zip is mostly an implementation of LZW, though with the ability > to make archives (groups of compressed files). > > The LZW compressor in 16 bit (usual) mode needs a 128K byte table. > The decompressor needs another buffer of similar size. > For compress (the unix LZW compression program) at least, you could > run with a smaller bit maximum, such that a smaller table was needed. > I am not sure that gzip/zip have that option. Yeah, that was what I was afraid of. Yes, compress/uncompress on 2BSD runs with a 12-bit size if I remember right, compared to the "normal" 16 bits. Just to fit into memory. A 128K size table is not impossible to handle in RSX, but it is a headache, and will cause significant slowdown, as I would have to create a memory region and map around in it. Oh well, anyone have a nice simple writup of the algorithm and table? (And the format of the ZIP files) I might want to try play with this anyway... >> Somehow I doubt that the general implementation out there will suffice, >> since I bet it's way too big to ever get to work on RSX, even though I >> have a perfectly good ANSI C compiler. > >> (Oh, and a VAX is not a PDP... :-) > > Not a PDP, but still an 11? Yes, if we talk about the VAXen up until 1984 or so (I was going to say the ones with PDP-11 compatibility mode, but the VAX-11/790 was renamed the 8600 before launch, which means that's the exception :-) ). Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol