Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: QBUS Prototyping
Date: Fri, 30 Apr 2010 02:19:54 +0200	[thread overview]
Message-ID: <hrd7na$3cf$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <4bd9e3cc$0$274$14726298@news.sunsite.dk>

Jerome H. Fine wrote:
>  >glen herrmannsfeldt wrote:
> 
>>> In alt.sys.pdp11 Jerome H. Fine <jhfinedp3k@dp3knospamcompsys.to> wrote:
>> (snip related to Fortran and virtual arrays)
>>
>>> As for the compression algorithm itself, can anyone provide some 
>>> information on just how that 128 KB table is accessed?  READ  ONLY?  
>>> Random?  Sequential?  Same on decompression?  It would make a big 
>>> difference if the access was sequential, but somehow it would seem 
>>> that it must be random access to that 128 KB table and maybe the 
>>> table even gets altered as the algorithm progresses through the input 
>>> file?
>>>
>> For compression, it generates a tree structure based on what
>> it has seen so far.  Last time I looked into this was compress.c,
>> in the days before gzip.  If I put compress.c into google, the second 
>> hit, the one with actual source, comes from apple.com.
>> It is copyright University of California 1986, last changed in 1985.
>>
>> It seems I wasn't quite right on the 128K.  The compression
>> table needs 2**BITS words, each of which holds a value between
>> -1 and 2**BITS-1, such that the usual implementation (with #ifdef)
>> uses (int) (16 bits on smaller machines in 1985) for BITS<16,
>> and (long int) for BITS==16.  One might be able to do that with
>> a 65536 entry table of 16 bit integers, and a 65536 bit table
>> indicating which entries where -1 to save memory.
>>
>> There is even an #ifdef pdp11 which sets BITS to 12.
>>  
>>
> I have made a suggestion which many may not appreciate for implementation
> using a PDP-11 instruction set which runs under the Erstaz-11 emulator, 
> normally
> called E11 for short.

Yes. And a program that can't run on a PDP-11, but only on E11 is, in my 
opinion, of little use to the PDP-11 community.

Why don't you just use the PC itself. That will allow your programs to 
run even faster, since you don't have the E11 emulation layer between 
you and the CPU?

And if I want access to large amounts of storage, I can just as well ues 
a disk. That will hold even more data than your memory device.
And then I can also make the program work on a real PDP-11.

Your solution would just create a stupid limitation that wouldn't help 
anyone.
Not to mention the fact that it is only useable on operating systems 
which allow you to manipulate the MMU yourself, which in practice means 
RT-11 only.

But hey. Don't let me stop you from writing a ZIP-program for RT-11 if 
you want to. But please don't bother me with it.

> It sounds like any one willing to make use of E11 can manage to 
> implement the
> algorithm under RT-11 quite easily.  I also wrote some F77 compatible 
> subroutines
> which aid the user to read and write the PC memory.  The subroutine 
> substitutes
> in-line code for the CALL to the subroutine after the first use.  
> Especially
> tricky to figure out was the subroutine which does a write to the PC memory
> since a normal F77 function CALL receives a value rather than doing a 
> write.

I think that if you want to go down that path, you should instead 
implement a ZIP-device. Pour the file into the device, and get the 
expanded results out. After all, you can then run ZIP on the PC itself. 
And ZIP have already been implemented. So such an exercise would not 
only be even faster, but it is mostly already done, so all you need to 
do is the actual file copying.
It will also be limited to E11 only, but then again, your solution is 
just as limited.

	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


  parent reply	other threads:[~2010-04-30  0:19 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 13:52 QBUS Prototyping Bill Gunshannon
2010-04-08 14:38 ` Scott Dorsey
2010-04-08 14:58 ` Al Kossow
2010-04-08 15:44   ` Bill Gunshannon
2010-04-08 20:46     ` John Wallace
2010-04-08 21:01       ` Bill Gunshannon
2010-04-08 21:58         ` Rob Jarratt
2010-04-08 23:00           ` John Wallace
2010-04-09 11:22             ` David Riley
2010-04-09 18:08           ` Johnny Billquist
2010-04-09 18:22             ` Bill Gunshannon
2010-04-10 19:29               ` Johnny Billquist
2010-04-10 21:05                 ` Bill Gunshannon
2010-04-11  9:50                   ` Johnny Billquist
2010-04-11 14:13                     ` Bill Gunshannon
2010-04-09 19:20             ` glen herrmannsfeldt
2010-04-11 22:08             ` Dennis Boone
2010-04-12 11:41               ` dsnyder
2010-04-12 14:46                 ` Al Kossow
2010-04-13 11:08                   ` dsnyder
2010-04-15 17:27             ` Scott Dorsey
2010-04-15 18:29               ` Al Kossow
2010-04-09 19:14           ` glen herrmannsfeldt
2010-04-09 20:02             ` John Wallace
2010-04-09 20:28               ` David Riley
2010-04-10  1:28               ` glen herrmannsfeldt
2010-04-14 22:28               ` Bob Koehler
2010-04-08 21:59         ` glen herrmannsfeldt
2010-04-08 22:38           ` Bill Gunshannon
2010-04-11 10:16             ` glen herrmannsfeldt
2010-04-11 14:24               ` Bill Gunshannon
2010-04-11 17:10                 ` glen herrmannsfeldt
2010-04-12 21:25                 ` Johnny Billquist
2010-04-12 22:02                   ` John Wallace
2010-04-13  7:34                     ` Johnny Billquist
2010-04-19  2:25                       ` John Santos
2010-04-19 11:50                         ` John Wallace
2010-04-19 10:50                       ` VAXman-
2010-04-24 14:55                         ` Bill Gunshannon
2010-04-12 22:33                   ` glen herrmannsfeldt
2010-04-13  7:53                     ` Johnny Billquist
2010-04-13 12:01                       ` glen herrmannsfeldt
2010-04-16 23:44                         ` Johnny Billquist
2010-04-17  3:15                           ` glen herrmannsfeldt
2010-04-17 21:00                             ` Johnny Billquist
2010-04-18  0:31                               ` glen herrmannsfeldt
2010-04-18 13:23                                 ` Johnny Billquist
2010-04-18 16:58                                   ` glen herrmannsfeldt
2010-04-18 23:02                                     ` Johnny Billquist
2010-04-19  1:39                                       ` glen herrmannsfeldt
2010-04-19 20:22                                         ` Johnny Billquist
2010-04-19 21:27                                           ` glen herrmannsfeldt
2010-04-20 19:36                                           ` Hans Bachner
2010-04-24 15:36                                             ` Steven Schweda
2010-04-25  3:55                                               ` Johnny Billquist
2010-04-25  5:32                                                 ` Steven Schweda
2010-04-25 11:33                                                   ` Johnny Billquist
2010-04-25 12:17                                                     ` glen herrmannsfeldt
2010-04-25 13:31                                                       ` Johnny Billquist
2010-04-25 14:01                                                         ` Steven Schweda
2010-04-25 21:58                                                           ` Johnny Billquist
2010-04-25 13:58                                                     ` Steven Schweda
2010-04-25 21:47                                                       ` Johnny Billquist
2010-04-26 15:40                                                         ` Bob Koehler
2010-04-27  7:37                                                           ` Johnny Billquist
2010-04-27  7:58                                                             ` Bob Eager
2010-04-27 14:56                                                               ` Bob Koehler
2010-04-28  9:06                                                                 ` Johnny Billquist
2010-04-28 12:34                                                                   ` Bob Eager
2010-04-28 14:51                                                                   ` Bob Koehler
2010-04-29  0:18                                                                     ` Johnny Billquist
2010-04-29 15:16                                                                       ` Bob Koehler
2010-04-27 14:53                                                             ` Bob Koehler
2010-04-28  9:11                                                               ` Johnny Billquist
2010-04-28 14:52                                                                 ` Bob Koehler
2010-04-29  0:20                                                                   ` Johnny Billquist
2010-04-29  1:15                                                                     ` Johnny Billquist
2010-04-29  7:01                                                                       ` John Wallace
2010-04-29 11:19                                                                         ` Jerome H. Fine
2010-04-29 18:38                                                                           ` glen herrmannsfeldt
2010-04-29 19:53                                                                             ` Jerome H. Fine
2010-04-29 20:35                                                                               ` glen herrmannsfeldt
2010-04-29 21:43                                                                                 ` Bob Eager
2010-04-30  0:23                                                                                 ` Johnny Billquist
2010-04-30  1:39                                                                                   ` glen herrmannsfeldt
2010-04-30  0:19                                                                               ` Johnny Billquist [this message]
2010-04-30 15:04                                                                                 ` Bob Koehler
2010-04-30  0:09                                                                           ` Johnny Billquist
2010-04-30  0:51                                                                             ` Johnny Billquist
2010-04-30  0:58                                                                               ` Johnny Billquist
2010-04-30 11:44                                                                                 ` Jerome H. Fine
2010-04-30 14:59                                                                             ` Bob Koehler
2010-04-30 18:34                                                                               ` glen herrmannsfeldt
2010-04-29 15:19                                                                         ` Bob Koehler
2010-04-30  0:42                                                                           ` Johnny Billquist
2010-04-30  0:04                                                                         ` Johnny Billquist
2010-04-29 15:17                                                                     ` Bob Koehler
2010-04-27 15:43                                                             ` jjh
2010-04-27 16:04                                                               ` Richard B. Gilbert
2010-04-28  9:20                                                                 ` Johnny Billquist
2010-04-28 16:12                                                                   ` Richard B. Gilbert
2010-04-27 22:27                                                               ` Bob Koehler
2010-04-28  9:18                                                               ` Johnny Billquist
2011-04-18 13:00                                                           ` Bob Koehler
2011-04-18 15:06                                                             ` Johnny Billquist
2011-04-18 12:56                                                     ` Bob Koehler
2011-04-18 15:07                                                       ` Johnny Billquist
2011-04-18 17:26                                                         ` Michael Moroney
2011-04-18 17:53                                                           ` Bob Koehler
2011-04-19  3:35                                                           ` Johnny Billquist
2011-04-19 15:34                                                             ` Michael Moroney
2011-04-19 16:47                                                               ` Johnny Billquist
2011-04-18 17:49                                                         ` Bob Koehler
2011-04-19  3:36                                                           ` Johnny Billquist
2011-04-18 12:52                                   ` Bob Koehler
2011-04-18 15:11                                     ` Johnny Billquist
2011-04-18 17:51                                       ` Bob Koehler
2011-04-19 10:29                                     ` FTP is 40 years old Paul Sture
2010-04-09 14:39         ` QBUS Prototyping Bob Koehler
2010-04-09 16:00           ` Bill Gunshannon
2010-04-09 23:16             ` John E. Malmberg
2010-04-15  6:12           ` Antti Louko
2010-04-15 16:24             ` Run.PDP
2010-04-15 16:46               ` Al Kossow
2010-04-15 17:24                 ` glen herrmannsfeldt
2010-04-15 17:20               ` glen herrmannsfeldt
2010-04-16 23:54                 ` Johnny Billquist
2010-04-16 21:59               ` Bob Koehler
2010-04-16 23:56                 ` Johnny Billquist
2010-04-17  9:24               ` jjh
2010-04-17  9:56                 ` glen herrmannsfeldt
2010-04-17 21:04                   ` Johnny Billquist
2010-04-24 15:54                   ` Bill Gunshannon
2010-04-24 15:52                 ` Bill Gunshannon
2010-04-25  4:00                   ` Johnny Billquist
2010-04-25  6:29                     ` glen herrmannsfeldt
2010-04-25  7:42                       ` Wilm Boerhout
2010-04-25 19:57                         ` Antti Louko
2010-04-25 11:40                       ` Johnny Billquist
2010-04-25 21:47                         ` John Wallace
2010-04-26  0:32                           ` Johnny Billquist
2010-04-15 17:19         ` Scott Dorsey
2010-04-09  1:00       ` Richard
2010-04-09 11:34         ` David Riley
2010-04-09 21:24           ` Richard
2010-04-08 20:18 ` JF Mezei
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox