That reminds me. Why can't the 11/73 boot the unix RL pack directly from
console boot dialog? The system boots RSTS and RT-11 packs. Is the boot
block munged/missing? I might add it boots fine using boot/foreign from
rt11.
It's a curiousity as having RT on floppy or HD is not a big thing for me.
But if it can be fixed that would be an improvement.
Allison
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id CAA26001
for pups-liszt; Thu, 19 Mar 1998 02:17:50 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Tim Shoppa <shoppa(a)alph02.triumf.ca> Thu Mar
19 01:17:18 1998
Received: from alph02.triumf.ca (alph02.Triumf.CA [142.90.114.18])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with SMTP id CAA25996
for <pups(a)minnie.CS.ADFA.OZ.AU>; Thu, 19 Mar 1998 02:17:44 +1100 (EST)
Received: by alph02.triumf.ca; id AA25259; Wed, 18 Mar 1998 07:17:18 -0800
From: Tim Shoppa <shoppa(a)alph02.triumf.ca>
Message-Id: <9803181517.AA25259(a)alph02.triumf.ca>
Subject: Re: V7 startup
To: allisonp(a)world.std.com (Allison J Parent)
Date: Wed, 18 Mar 1998 07:17:18 -0800 (PST)
Cc: pups(a)minnie.cs.adfa.oz.au
In-Reply-To: <199803180459.AA20873(a)world.std.com> from "Allison J Parent"
at Mar 17, 98 11:59:06 pm
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
That reminds me. Why can't the 11/73 boot the
unix RL pack directly from
console boot dialog? The system boots RSTS and RT-11 packs. Is the boot
block munged/missing? I might add it boots fine using boot/foreign from
rt11.
The 11/73 firmware bootstrap expects the boot block to conform to certain
standards specified by DEC in the early/mid-80's. In particular, the
bootstrap must begin with a NOP, but there are some other requirements
I don't recall at the moment.
The toggle-in bootstraps that DEC supplied didn't do any such checks (who'd
want to toggle tha check in everytime, anyway?), they just read block 0 to
location 0 and jump to it (well, some also assume things about the SP
going somewhere reasonable, and sometimes certain register locations set
to certain things.) And RT-11's BOOT/FOR doesn't make any such checks,
either.
It's a curiousity as having RT on floppy or HD is
not a big thing for me.
But if it can be fixed that would be an improvement.
You can either rewrite the 11/73 firmware to not do the check, or you can
rewrite the V7 boot block so it conforms to DEC's standard. The RL02
is a particularly stupid device and requires an inordinately large bootstrap,
so there may not be a lot of free room in the V7 boot block. You can also
stick a "toggle-in" RL02 bootstrap into RAM via ODT and execute that. But
I've decded that for me, the solution of RT's BOOT/FOR is the best, just
as you seem to have :-).
Tim. (shoppa(a)triumf.ca)
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id NAA28048
for pups-liszt; Thu, 19 Mar 1998 13:27:26 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Thu
Mar 19 12:27:07 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id NAA28040
for <pups(a)minnie.cs.adfa.oz.au>; Thu, 19 Mar 1998 13:27:21 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id NAA04067; Thu, 19
Mar 1998 13:27:07 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803190227.NAA04067(a)henry.cs.adfa.oz.au>
Subject: What's TENIX??
To: haba(a)pdc.kth.se (Harald Barth)
Date: Thu, 19 Mar 1998 13:27:07 +1100 (EST)
Cc: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
In-Reply-To: <199803190143.CAA28649(a)pancake.pdc.kth.se> from Harald Barth at
"Mar 19, 98 02:43:13 am"
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
In article by Harald Barth:
One PDP-11 I have (and don't quite understand the
hardware of) calls itself
Tektronix 8562. In that box (43x60x30cm) you find
LSI-11/73 (only part made by DIGITAL)
Controller with
8'' floppy
40Mb MFM disk with TENIX (binary of some kind of V7 Unix)
Controller with
10 ttys
Hmm, I haven't heard of Tenix before. I might punt this onto the
mailing list to see if anybody can identify it.
Any ideas, people??
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id OAA28280
for pups-liszt; Thu, 19 Mar 1998 14:44:01 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Sheila H.//Elwood Blues"
<shsrms(a)erols.com> Thu Mar 19 13:40:55 1998
Received: from
smtp1.erols.com
(
smtp1.erols.com [207.172.3.234])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id OAA28275
for <pups(a)minnie.cs.adfa.oz.au>; Thu, 19 Mar 1998 14:43:43 +1100 (EST)
Received: from LOCALNAME (
207-172-239-202.s11.as8.rkv.erols.com [207.172.239.202])
by
smtp1.erols.com (8.8.8/8.8.5) with SMTP id WAA09738;
Wed, 18 Mar 1998 22:41:51 -0500 (EST)
Message-ID: <351093C7.5B96(a)erols.com>
Date: Wed, 18 Mar 1998 22:40:55 -0500
From: "Sheila H.//Elwood Blues" <shsrms(a)erols.com>
Reply-To: shsrms(a)erols.com
Organization: Holistic Herbal/&/WaveRider Research
X-Mailer: Mozilla 3.01C-KIT (Win16; I)
MIME-Version: 1.0
To: wkt(a)cs.adfa.oz.au
CC: Harald Barth <haba(a)pdc.kth.se>,
PDP Unix Preservation <pups(a)minnie.cs.adfa.oz.au>
Subject: Re: What's TENIX??
References: <199803190227.NAA04067(a)henry.cs.adfa.oz.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Warren Toomey wrote:
In article by Harald Barth:
One PDP-11 I have (and don't quite
understand the hardware of) calls itself
Tektronix 8562. In that box (43x60x30cm) you find
LSI-11/73 (only part made by DIGITAL)
Controller with
8'' floppy
40Mb MFM disk with TENIX (binary of some kind of V7 Unix)
Controller with
10 ttys
Hmm, I haven't heard of Tenix before. I might punt this onto the
mailing list to see if anybody can identify it.
Any ideas, people??
Warren
Tenex was a PDP10 (aka DECSystem 10/20) operating system.
Some 10s had 11s as consoles.
bob
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id WAA03459
for pups-liszt; Fri, 20 Mar 1998 22:07:40 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Harald Barth <haba(a)pdc.kth.se> Fri Mar 20
21:06:44 1998
Received: from pancake.pdc.kth.se (pancake.pdc.kth.se
[130.237.221.163])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id WAA03454
for <pups(a)minnie.cs.adfa.oz.au>; Fri, 20 Mar 1998 22:07:33 +1100 (EST)
Received: from pancake.pdc.kth.se (localhost [127.0.0.1])
by pancake.pdc.kth.se (8.8.5/8.8.5) with ESMTP id MAA00394;
Fri, 20 Mar 1998 12:06:51 +0100 (MET)
Message-Id: <199803201106.MAA00394(a)pancake.pdc.kth.se>
To: shsrms(a)erols.com
Cc: wkt(a)cs.adfa.oz.au, haba(a)pdc.kth.se, pups(a)minnie.cs.adfa.oz.au
Subject: What's TNIX (Was: What's TENIX??)
From: Harald Barth <haba(a)pdc.kth.se>
In-Reply-To: Your message of "Wed, 18 Mar 1998 22:40:55 -0500"
References: <351093C7.5B96(a)erols.com>
X-Mailer: Mew version 1.54 on Emacs 20.2.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 20 Mar 1998 12:06:44 +0100
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Hi,
I wrote to Warren:
> > One PDP-11 I have (and don't quite
understand the hardware of) calls itself
> > Tektronix 8562. In that box (43x60x30cm) you find
> > LSI-11/73 (only part made by DIGITAL)
> > Controller with
> > 8'' floppy
> > 40Mb MFM disk with TENIX (binary of some kind of V7 Unix)
> > Controller with
> > 10 ttys
Warren wrote:
> Hmm, I haven't heard of Tenix before. I
might punt this onto the
> mailing list to see if anybody can identify it.
shsrms(a)erols.com wrote:
Tenex was a PDP10 (aka DECSystem 10/20) operating
system.
Some 10s had 11s as consoles.
The Tektronix manuals say "Tektronix Unix" and "TNIX". Looks like
I've
to boot the box and have a closer look at the actual software. I'm
quite sure that it is some kind of v7. Unfortunately, it's just
binaries. I don't think this should be confused with Tenex and/or
PDP10s which had PDP11s and PDP8s as I/O processors in different
places.
Harald.
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id MAA08866
for pups-liszt; Sun, 22 Mar 1998 12:45:22 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Harald Barth <haba(a)pdc.kth.se> Sun Mar 22
11:44:17 1998
Received: from pancake.pdc.kth.se (pancake.pdc.kth.se
[130.237.221.163])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id MAA08860
for <pups(a)minnie.cs.adfa.oz.au>; Sun, 22 Mar 1998 12:45:15 +1100 (EST)
Received: from pancake.pdc.kth.se (localhost [127.0.0.1])
by pancake.pdc.kth.se (8.8.5/8.8.5) with ESMTP id CAA02181;
Sun, 22 Mar 1998 02:44:19 +0100 (MET)
Message-Id: <199803220144.CAA02181(a)pancake.pdc.kth.se>
To: wkt(a)cs.adfa.oz.au, pups(a)minnie.cs.adfa.oz.au
Cc: bygg(a)sunet.se, thn(a)stacken.kth.se, haba(a)pdc.kth.se
Subject: Two different 2.11?
From: Harald Barth <haba(a)pdc.kth.se>
X-Mailer: Mew version 1.54 on Emacs 20.2.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Sun, 22 Mar 1998 02:44:17 +0100
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Started to get 2.11BSD working on emulator and 11/70. So far:
Started emulator taken from:
ftp://haba@minnie.cs.adfa.oz.au/Boot_Images/2.11_on_rl02/
Made kernel on emulator which supports the actual hardware:
DELUA at non standard addr, RA81, RL02
Moved boot RL02 to 11/70 with RSTS/E
Made bootable RA81 on 11/70
Untar:ed usr from
ftp://haba@minnie.cs.adfa.oz.au/Distributions/ucb/2.11BSD/file6.tar.gz
....And now the binaries from that tar file crash with "unknown system
call" However, the binaries distributed in the disk images work. Any
clues?
Harald.
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA09210
for pups-liszt; Sun, 22 Mar 1998 15:23:37 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Steven M. Schultz"
<sms(a)moe.2bsd.com> Sun Mar 22 14:23:15 1998
Received: from
moe.2bsd.com
(0(a)MOE.2BSD.COM [206.139.202.200])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA09204
for <pups(a)minnie.cs.adfa.oz.au>; Sun, 22 Mar 1998 15:23:31 +1100 (EST)
Received: (from sms@localhost)
by
moe.2bsd.com (8.8.5/8.8.5) id UAA08735
for pups(a)minnie.cs.adfa.oz.au; Sat, 21 Mar 1998 20:23:15 -0800 (PST)
Date: Sat, 21 Mar 1998 20:23:15 -0800 (PST)
From: "Steven M. Schultz" <sms(a)moe.2bsd.com>
Message-Id: <199803220423.UAA08735(a)moe.2bsd.com>
To: pups(a)minnie.cs.adfa.oz.au
Subject: Re: Two different 2.11?
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Greetings -
No, there is only 1 2.11BSD (in the sense that there are NOT
competing versions or distributions).
What happened I believe is that the Boot_Images/2.11_on_rl02 is older
than the files in Distributions/ucb/2.11BSD.
I have not looked at the Boot_Images/2.11_on_rl02 files to determine
when they were created (what patch level, etc.). On your RL02 system
what do the first two or three lines of /VERSION?
Anyhow, between the time that the 2.11_on_rl02 images were created
(I did not create them) and December-1997/January-1998 several new
system calls were created _AND_ the entire system was recompiled
and relinked. That is why you can NOT use binaries from the
Distributions/ucb/2.11BSD with earlier kernels. There is UPWARD
compatibility (old binaries can run on new kernels) but not backwards
compatibility.
What you need to do is build a 'tape' (using 'makesimtape' if you
need to use Bob's emulator) from ALL of the files in Distributions/ucb/
2.11BSD.
Steven Schultz
sms(a)moe.2bsd.com
From: Harald Barth <haba(a)pdc.kth.se>
Started to get 2.11BSD working on emulator and 11/70. So far:
Started emulator taken from:
ftp://haba@minnie.cs.adfa.oz.au/Boot_Images/2.11_on_rl02/
Made kernel on emulator which supports the actual hardware:
DELUA at non standard addr, RA81, RL02
Moved boot RL02 to 11/70 with RSTS/E
Made bootable RA81 on 11/70
Untar:ed usr from
ftp://haba@minnie.cs.adfa.oz.au/Distributions/ucb/2.11BSD/file6.tar.gz
....And now the binaries from that tar file crash with "unknown system
call" However, the binaries distributed in the disk images work. Any
clues?
Harald.
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id IAA11410
for pups-liszt; Mon, 23 Mar 1998 08:54:56 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Mon
Mar 23 07:55:25 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id IAA11405
for <pups(a)minnie.cs.adfa.oz.au>; Mon, 23 Mar 1998 08:54:51 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id IAA08277 for
pups(a)minnie.cs.adfa.oz.au; Mon, 23 Mar 1998 08:55:25 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803222155.IAA08277(a)henry.cs.adfa.oz.au>
Subject: SCO processing the new licenses
To: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Mon, 23 Mar 1998 08:55:25 +1100 (EST)
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Hi all,
Dion at SCO writes today:
We have about a dozen licenses here, all paid up and signed off.
So you should start receiving your PDP Unix licenses soon. He didn't say who
the first dozen were.
Cheers all,
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id OAA12569
for pups-liszt; Mon, 23 Mar 1998 14:02:33 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Ed G." <edgee(a)cyberpass.net> Mon
Mar 23 12:02:10 1998
Received: from
renoir.op.net (root(a)renoir.op.net
[209.152.193.4])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id OAA12564
for <pups(a)minnie.cs.adfa.oz.au>; Mon, 23 Mar 1998 14:02:25 +1100 (EST)
Received: from
goppelt.op.net (
d-phlarc2-09.ppp.op.net [209.152.199.105]) by
renoir.op.net
(o1/$Revision: 1.15 $) with SMTP id WAA21783 for <pups(a)minnie.cs.adfa.oz.au>; Sun,
22 Mar 1998 22:02:11 -0500 (EST)
Message-Id: <199803230302.WAA21783(a)renoir.op.net>
Comments: Authenticated sender is <edgee(a)cyberpass.net>
From: "Ed G." <edgee(a)cyberpass.net>
To: pups(a)minnie.cs.adfa.oz.au
Date: Sun, 22 Mar 1998 22:02:10 -0400
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Building sim tapes
Reply-to: edgee(a)cyberpass.net
In-reply-to: <199803220423.UAA08735(a)moe.2bsd.com>
X-mailer: Pegasus Mail for Win32 (v2.54)
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
What you need to do is build a 'tape'
(using 'makesimtape' if you
need to use Bob's emulator) from ALL of the files in Distributions/ucb/
2.11BSD.
I've looked everywhere I can think of on the PUPS site, but couldn't
find 'makesimtape'. I couldn't find it among the source of Bob's
emulator. Where can I get a copy of this program?
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA12805
for pups-liszt; Mon, 23 Mar 1998 15:31:25 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Mon
Mar 23 14:31:19 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA12799
for <pups(a)minnie.cs.adfa.oz.au>; Mon, 23 Mar 1998 15:31:21 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id PAA09463; Mon, 23
Mar 1998 15:31:20 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803230431.PAA09463(a)henry.cs.adfa.oz.au>
Subject: Re: Building sim tapes
To: edgee(a)cyberpass.net
Date: Mon, 23 Mar 1998 15:31:19 +1100 (EST)
Cc: pups(a)minnie.cs.adfa.oz.au
In-Reply-To: <199803230302.WAA21783(a)renoir.op.net> from "Ed G." at
"Mar 22, 98 10:02:10 pm"
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
In article by Ed G.:
What you need
to do is build a 'tape' (using 'makesimtape' if you
need to use Bob's emulator) from ALL of the files in Distributions/ucb/
2.11BSD.
I've looked everywhere I can think of on the PUPS site, but couldn't
find 'makesimtape'. I couldn't find it among the source of Bob's
emulator. Where can I get a copy of this program?
I don't think Bob's latest emulator has got this. I've hacked at another
program to do this, and I'll make it available tomorrow.
Bob has asked me to submit this to him for inclusion in his simulator.
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA12839
for pups-liszt; Mon, 23 Mar 1998 15:39:21 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Steven M. Schultz"
<sms(a)moe.2bsd.com> Mon Mar 23 14:38:48 1998
Received: from
moe.2bsd.com
(0(a)MOE.2BSD.COM [206.139.202.200])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA12833
for <pups(a)minnie.cs.adfa.oz.au>; Mon, 23 Mar 1998 15:39:12 +1100 (EST)
Received: (from sms@localhost)
by
moe.2bsd.com (8.8.5/8.8.5) id UAA27736
for pups(a)minnie.cs.adfa.oz.au; Sun, 22 Mar 1998 20:38:48 -0800 (PST)
Date: Sun, 22 Mar 1998 20:38:48 -0800 (PST)
From: "Steven M. Schultz" <sms(a)moe.2bsd.com>
Message-Id: <199803230438.UAA27736(a)moe.2bsd.com>
To: pups(a)minnie.cs.adfa.oz.au
Subject: Re: Building sim tapes
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
From: "Ed G." <edgee(a)cyberpass.net>
What you need to do is build a 'tape'
(using 'makesimtape' if you
need to use Bob's emulator) from ALL of the files in Distributions/ucb/
I've looked everywhere I can think of on the PUPS site, but couldn't
find 'makesimtape'. I couldn't find it among the source of Bob's
emulator. Where can I get a copy of this program?
It's in /usr/src/sys/pdpstand. Look in file7.tar.gz from the 2.11 part
of the Distributions and it should be somewhere in there.
makesimtape is a hacked up version of 'maketape', the syntax and data
file are the same so if you know how to use 'maketape' to create
bootable tapes you're all set.
The program is short enough I'll include it here. It should compile
and run with minimal tweeking on any 'BSD'ish UNIX system.
Steven
-----------------------
/*
* @(#)makesimtape.c 2.0 (2.11BSD) 1997/8/7
* Hacked 'maketape.c' to write a file in a format suitable for
* use with Bob Supnik's PDP-11 simulator (V2.3) emulated tape
* driver.
*
* NOTE: a PDP-11 has to flip the shorts within the long when writing out
* the record size. Seems a PDP-11 is neither a little-endian
* machine nor a big-endian one.
*/
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/uio.h>
#define MAXB 30
char buf[MAXB * 512];
char name[50];
long recsz, flipped, trl();
int blksz;
int mt, fd, cnt;
struct iovec iovec[3];
struct iovec tmark[2];
void usage();
main(argc, argv)
int argc;
char *argv[];
{
int i, j = 0, k = 0, zero = 0;
register char *outfile = NULL, *infile = NULL;
FILE *mf;
struct stat st;
while ((i = getopt(argc, argv, "i:o:")) != EOF)
{
switch (i)
{
case 'o':
outfile = optarg;
break;
case 'i':
infile = optarg;
break;
default:
usage();
/* NOTREACHED */
}
}
if (!outfile || !infile)
usage();
/* NOTREACHED */
/*
* Stat the outfile and make sure it either 1) Does not exist, or
* 2) Exists but is a regular file.
*/
if (stat(outfile, &st) != -1 && !(S_ISREG(st.st_mode)))
errx(1, "outfile must either not exist or be a regular file");
/* NOTREACHED */
mt = open(outfile, O_WRONLY|O_CREAT|O_TRUNC, 0600);
if (mt < 0)
err(1, "Can not create %s", outfile);
/* NOTREACHED */
mf = fopen(infile, "r");
if (!mf)
err(1, "Can not open %s", infile);
/* NOTREACHED*/
tmark[0].iov_len = sizeof (long);
tmark[0].iov_base = (char *)&zero;
while (1)
{
if ((i = fscanf(mf, "%s %d", name, &blksz))== EOF)
exit(0);
if (i != 2) {
fprintf(stderr,"Help! Scanf didn't read 2 things (%d)\n", i);
exit(1);
}
if (blksz <= 0 || blksz > MAXB)
{
fprintf(stderr, "Block size %u is invalid\n", blksz);
exit(1);
}
recsz = blksz * 512; /* convert to bytes */
iovec[0].iov_len = sizeof (recsz);
#ifdef pdp11
iovec[0].iov_base = (char *)&flipped;
#else
iovec[0].iov_base = (char *)&recsz;
#endif
iovec[1].iov_len = (int)recsz;
iovec[1].iov_base = buf;
iovec[2].iov_len = iovec[0].iov_len;
iovec[2].iov_base = iovec[0].iov_base;
if (strcmp(name, "*") == 0)
{
if (writev(mt, tmark, 1) < 0)
warn(1, "writev of pseudo tapemark failed");
k++;
continue;
}
fd = open(name, 0);
if (fd < 0)
err(1, "Can't open %s for reading", name);
/* NOTREACHED */
printf("%s: block %d, file %d\n", name, j, k);
/*
* we pad the last record with nulls
* (instead of the bell std. of padding with trash).
* this allows you to access text files on the
* tape without garbage at the end of the file.
* (note that there is no record length associated
* with tape files)
*/
while ((cnt=read(fd, buf, (int)recsz)) == (int)recsz)
{
j++;
#ifdef pdp11
flipped = trl(recsz);
#endif
if (writev(mt, iovec, 3) < 0)
err(1, "writev #1");
/* NOTREACHED */
}
if (cnt > 0)
{
j++;
bzero(buf + cnt, (int)recsz - cnt);
#ifdef pdp11
flipped = trl(recsz);
#endif
if (writev(mt, iovec, 3) < 0)
err(1, "writev #2");
/* NOTREACHED */
}
close(fd);
}
/*
* Write two tape marks to simulate EOT
*/
writev(mt, tmark, 1);
writev(mt, tmark, 1);
}
long
trl(l)
long l;
{
union {
long l;
short s[2];
} foo;
register short x;
foo.l = l;
x = foo.s[0];
foo.s[0] = foo.s[1];
foo.s[1] = x;
return(foo.l);
}
void
usage()
{
fprintf(stderr, "usage: makesimtape -o outfilefile -i inputfile\n");
exit(1);
}
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id QAA12877
for pups-liszt; Mon, 23 Mar 1998 16:00:16 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Mon
Mar 23 15:00:45 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id QAA12872
for <pups(a)minnie.cs.adfa.oz.au>; Mon, 23 Mar 1998 16:00:12 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id QAA09569; Mon, 23
Mar 1998 16:00:45 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803230500.QAA09569(a)henry.cs.adfa.oz.au>
Subject: Where ISN'T the PUPS Archive (was building sim tapes)
To: sms(a)moe.2bsd.com (Steven M. Schultz)
Date: Mon, 23 Mar 1998 16:00:45 +1100 (EST)
Cc: pups(a)minnie.cs.adfa.oz.au
In-Reply-To: <199803230438.UAA27736(a)moe.2bsd.com> from "Steven M. Schultz"
at "Mar 22, 98 08:38:48 pm"
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
In article by Steven M. Schultz:
> From: "Ed G."
<edgee(a)cyberpass.net>
>
> > What you need to do is build a 'tape' (using 'makesimtape'
if you
> > need to use Bob's emulator) from ALL of the files in Distributions/ucb/
>
> I've looked everywhere I can think of on the PUPS site, but couldn't
> find 'makesimtape'. I couldn't find it among the source of
Bob's
> emulator. Where can I get a copy of this program?
It's in /usr/src/sys/pdpstand. Look in
file7.tar.gz from the 2.11 part
of the Distributions and it should be somewhere in there.
Ah, I should point out to the readers of the mailing list:
The PUPS Archive is NOT what you get by going to
ftp://minnie.cs.adfa.oz.au
as anonymous. Obviously, the archive has to be password
protected, and so the anonymous ftp on Minnie isn't the Archive.
I suspect Ed has been walking thru the anonymous area, which is why he
could only find Bob Supnik's emulator.
Anyway, Steven has provided a solution. Steven, could you put in
#ifdefs for particular endian architectures???
Cheers,
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id NAA16339
for pups-liszt; Tue, 24 Mar 1998 13:49:18 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Ed G." <edgee(a)cyberpass.net> Tue
Mar 24 11:49:02 1998
Received: from
renoir.op.net (root(a)renoir.op.net
[209.152.193.4])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id NAA16334
for <pups(a)minnie.cs.adfa.oz.au>; Tue, 24 Mar 1998 13:49:11 +1100 (EST)
Received: from
goppelt.op.net (
d-phlarc2-06.ppp.op.net [209.152.199.102]) by
renoir.op.net
(o1/$Revision: 1.15 $) with SMTP id VAA27961 for <pups(a)minnie.cs.adfa.oz.au>; Mon,
23 Mar 1998 21:49:03 -0500 (EST)
Message-Id: <199803240249.VAA27961(a)renoir.op.net>
Comments: Authenticated sender is <edgee(a)cyberpass.net>
From: "Ed G." <edgee(a)cyberpass.net>
To: pups(a)minnie.cs.adfa.oz.au
Date: Mon, 23 Mar 1998 21:49:02 -0400
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: What's magtape good for anyway?
Reply-to: edgee(a)cyberpass.net
X-mailer: Pegasus Mail for Win32 (v2.54)
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
The program is short enough I'll include it here.
It should compile
and run with minimal tweeking on any 'BSD'ish UNIX system.
Thanks!
I was just a plain old user during my college days, so I've never had
much contact with magtape.
But since magtape seems the easiest way to get data into and out of
Bob Supnik's emulator, I've been fooling around with (simulated)
tape a lot lately.
To me (or maybe I just don't know what I'm talking about) it seems
like magtape has a number of deficiencies:
No filenames or directory structure: just an ordered series of
bytes. Which would seem to imply that people must've used tar *a lot*
to get these services. True?
Padding of files to a multiple of the block size. Yuck! If I have
a 312 byte file, I do not want to save it and then retrieve a (to my
eyes anyway) different 512 byte file which has been padded with
200 bytes I didn't put there. Did this padding of files ever have
any bad effects?
So I was wondering, what *did* people use magtape for on these old
Unix systems?
Here are my guesses:
Bad Old Days What we use now
================================
Archival storage (tape, CD-Roms, Zip drives, floppies)
Application Software distribution (WWW, CD-Roms, ftp, email,
floppies)
System software distribution (CD-Roms, ftp)
Backups (tape)
Transfering a little data (Floppies, email).
Transfering a lot of data (CD-Roms, Zip drives, ftp, tape)
Have I left any significant use for tape out?
Ed G.
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA16572
for pups-liszt; Tue, 24 Mar 1998 15:34:14 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Tue
Mar 24 14:34:54 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA16567
for <pups(a)minnie.cs.adfa.oz.au>; Tue, 24 Mar 1998 15:34:10 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id PAA11927 for
pups(a)minnie.cs.adfa.oz.au; Tue, 24 Mar 1998 15:34:54 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803240434.PAA11927(a)henry.cs.adfa.oz.au>
Subject: Re: What's magtape good for anyway?
To: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Tue, 24 Mar 1998 15:34:54 +1100 (EST)
In-Reply-To: <199803240249.VAA27961(a)renoir.op.net> from "Ed G." at
"Mar 23, 98 09:49:02 pm"
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
In article by Ed G.:
So I was wondering, what *did* people use magtape for
on these old
Unix systems?
Add another one: Xmas decorations.
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA16598
for pups-liszt; Tue, 24 Mar 1998 15:44:36 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Tue
Mar 24 14:45:16 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA16593
for <pups(a)minnie.cs.adfa.oz.au>; Tue, 24 Mar 1998 15:44:32 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id PAA11961 for
pups(a)minnie.cs.adfa.oz.au; Tue, 24 Mar 1998 15:45:17 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803240445.PAA11961(a)henry.cs.adfa.oz.au>
Subject: Moving PDP-11 disk images to disk
To: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Tue, 24 Mar 1998 15:45:16 +1100 (EST)
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
All,
I've had a few people ask the question:
I have a PDP-11, you have disk and tape images for old Unixes. How do get
the images onto my actual disk/tape so I can install Unix?
If anybody has sucessfully done:
image -> tape -> install to disk -> working PDP-11 UNIX
image -> install to disk -> working PDP-11 UNIX
or any other variant, using any intermediate system (e.g KSERVE & RT-11),
could they please drop me a note with some _details_ of what they did.
I'd like to add this to the FAQ, as I suspect this is going to be a
popular question as people receive their SCO UNIX licenses.
Thanks in advance!
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA16670
for pups-liszt; Tue, 24 Mar 1998 15:59:01 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Tim Shoppa <shoppa(a)alph02.triumf.ca> Tue Mar
24 14:58:44 1998
Received: from alph02.triumf.ca (alph02.Triumf.CA [142.90.114.18])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with SMTP id PAA16665
for <pups(a)minnie.CS.adfa.OZ.AU>; Tue, 24 Mar 1998 15:58:52 +1100 (EST)
Received: by alph02.triumf.ca; id AA14216; Mon, 23 Mar 1998 20:58:45 -0800
From: Tim Shoppa <shoppa(a)alph02.triumf.ca>
Message-Id: <9803240458.AA14216(a)alph02.triumf.ca>
Subject: Re: What's magtape good for anyway?
To: edgee(a)cyberpass.net
Date: Mon, 23 Mar 1998 20:58:44 -0800 (PST)
Cc: pups(a)minnie.cs.adfa.oz.au
In-Reply-To: <199803240249.VAA27961(a)renoir.op.net> from "Ed G." at Mar 23,
98 09:49:02 pm
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
To me (or maybe I just don't know what I'm
talking about) it seems
like magtape has a number of deficiencies:
No filenames or directory structure: just an ordered series of
bytes. Which would seem to imply that people must've used tar *a lot*
to get these services. True?
Most (non-Unix) minicomputer OS's had built-in support for
ANSI labeled files, which do have filenames (and header bytes to
specify record sizes and number of records). Folks who used Unix
either made their own labeled tape facility (e.g. Ultrix and
OSF/1 "ltf") or just used "dd" and a lot of hard work.
The lack of a record structure that is built-in to the Unix filesystem
really makes things like tape transfers quite irritating. The rest of
the world isn't always just a stream of bytes!
Tim. (shoppa(a)triumf.ca)
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id BAA17996
for pups-liszt; Wed, 25 Mar 1998 01:32:09 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Ken Wellsch <kcwellsc(a)math.uwaterloo.ca> Wed
Mar 25 00:31:48 1998
Received: from math.uwaterloo.ca (kcwellsc(a)math.uwaterloo.ca
[129.97.216.42])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id BAA17991
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 01:32:00 +1100 (EST)
Received: (from kcwellsc@localhost)
by math.uwaterloo.ca (8.8.8/8.8.8) id JAA09618;
Tue, 24 Mar 1998 09:31:49 -0500 (EST)
From: Ken Wellsch <kcwellsc(a)math.uwaterloo.ca>
Message-Id: <199803241431.JAA09618(a)math.uwaterloo.ca>
Subject: Re: What's magtape good for anyway?
To: shoppa(a)alph02.triumf.ca (Tim Shoppa)
Date: Tue, 24 Mar 1998 09:31:48 -0500 (EST)
Cc: edgee(a)cyberpass.net, pups(a)minnie.cs.adfa.oz.au
In-Reply-To: <9803240458.AA14216(a)alph02.triumf.ca> from "Tim Shoppa" at
Mar 23, 98 08:58:44 pm
Organization: University of Waterloo, Math Faculty Computing Facility
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Now far for me to be defending 9-track tapes on UNIX systems, and I'm
the first to admit I've not encountered *all* the various methods used
everywhere to write tapes, but it took no time for me years ago to write
a program that would pull blocks off a tape (by trying to read the max
limit block size) and recording the actual block size read. Oddly enough
when matched with a program that read this "raw format" info, it was sure
trivial to reproduce the tape... but I'm sure I'm missing something.
Luckily on my UNIX systems I am unencumbered by someone else's potentially
proprietary or undocumented "file structure" - both by the system and
by the media. -- Ken
| From owner-pups(a)minnie.cs.adfa.oz.au Tue Mar 24 00:09:12 1998
|
| Most (non-Unix) minicomputer OS's had built-in support for
| ANSI labeled files, which do have filenames (and header bytes to
| specify record sizes and number of records). Folks who used Unix
| either made their own labeled tape facility (e.g. Ultrix and
| OSF/1 "ltf") or just used "dd" and a lot of hard work.
|
| The lack of a record structure that is built-in to the Unix filesystem
| really makes things like tape transfers quite irritating. The rest of
| the world isn't always just a stream of bytes!
|
| Tim. (shoppa(a)triumf.ca)
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id IAA19183
for pups-liszt; Wed, 25 Mar 1998 08:18:41 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Wed
Mar 25 07:18:39 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id IAA19178
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 08:18:36 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id IAA00742 for
pups(a)minnie.cs.adfa.oz.au; Wed, 25 Mar 1998 08:18:39 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803242118.IAA00742(a)henry.cs.adfa.oz.au>
Subject: More on Disk Images -> Disk
To: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Wed, 25 Mar 1998 08:18:39 +1100 (EST)
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
All,
I spent some time last night adding stuff to my virtual tape server.
I have to test it today, but essentially:
Box with serial line PDP-11 with
tape server -----------> uncompress & dd
+ disk_image.Z (bootable)
In other words, you can boot to an uncompressing dd, and suck over
any disk image, without actually requiring an operating system.
With this approach, you obtain an existing disk image that will work,
or you use one of the PDP-11 emulators to create a disk image with a
Unix kernel configured for your system. You then compress it, and
suck/splat it to your real PDP-11 via the serial line.
Now, what I've currently got will cope with -b12 compressed files. Can
someone tell me if it would be feasible to fit a gunzip into 64K?? Even
if it could only cope with gzip -1 files.
Cheers all,
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id LAA19562
for pups-liszt; Wed, 25 Mar 1998 11:23:05 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Wed
Mar 25 10:23:05 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id LAA19557
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 11:23:01 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id LAA01449 for
pups(a)minnie.cs.adfa.oz.au; Wed, 25 Mar 1998 11:23:05 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803250023.LAA01449(a)henry.cs.adfa.oz.au>
Subject: Compress Disk Image Install works
To: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Wed, 25 Mar 1998 11:23:05 +1100 (EST)
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Well,
I'm currently sucking a .Z compress RK05 disk image over a 9600 baud
DL11 port; it seems to be working. Pity -b12 gives such low compression, but
I guess any saving at 9600 baud is worth it.
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id LAA19586
for pups-liszt; Wed, 25 Mar 1998 11:30:26 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Steven M. Schultz"
<sms(a)moe.2bsd.com> Wed Mar 25 10:24:33 1998
Received: from
moe.2bsd.com
(0(a)MOE.2BSD.COM [206.139.202.200])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id LAA19579
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 11:30:21 +1100 (EST)
Received: (from sms@localhost)
by
moe.2bsd.com (8.8.5/8.8.5) id QAA14701
for pups(a)minnie.cs.adfa.oz.au; Tue, 24 Mar 1998 16:24:33 -0800 (PST)
Date: Tue, 24 Mar 1998 16:24:33 -0800 (PST)
From: "Steven M. Schultz" <sms(a)moe.2bsd.com>
Message-Id: <199803250024.QAA14701(a)moe.2bsd.com>
To: pups(a)minnie.cs.adfa.oz.au
Subject: Re: More on Disk Images -> Disk
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Warren -
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Now, what I've currently got will cope with -b12
compressed files. Can
someone tell me if it would be feasible to fit a gunzip into 64K?? Even
if it could only cope with gzip -1 files.
If my understanding of 'gzip' is right then the alogrithm works on
32kb blocks of data and the '-N' level has little to do with the
memory consumption. Rather, as the -1, ... -9 level increases the
amount of work that gzip puts into the compression increases (the
difference between -6 and -9 is only a few percent in final output
size but the length of time taken is quite a bit higher).
Of concern would be getting the gzip sources to compile with a non-ANSI
compiler on a non-32bit machine (sizeof (long) == sizeof(int) is an
endemic assumption I wager). Well, ok - there is the worry that
you will grow old waiting for it to compress something ;-) Gzip is a
lot more cpu intensive than compress.
Steven
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id LAA19600
for pups-liszt; Wed, 25 Mar 1998 11:32:56 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Wed
Mar 25 10:32:56 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id LAA19595
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 11:32:52 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id LAA01502 for
pups(a)minnie.cs.adfa.oz.au; Wed, 25 Mar 1998 11:32:56 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803250032.LAA01502(a)henry.cs.adfa.oz.au>
Subject: Re: More on Disk Images -> Disk
To: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Wed, 25 Mar 1998 11:32:56 +1100 (EST)
In-Reply-To: <199803250024.QAA14701(a)moe.2bsd.com> from "Steven M. Schultz"
at "Mar 24, 98 04:24:33 pm"
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
In article by Steven M. Schultz:
> Warren -
>
>
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
>
> > Now, what I've currently got will cope with -b12 compressed files. Can
> > someone tell me if it would be feasible to fit a gunzip into 64K?? Even
> > if it could only cope with gzip -1 files.
>
> If my understanding of 'gzip' is right then the alogrithm works on
> 32kb blocks of data and the '-N' level has little to do with the
> memory consumption. Rather, as the -1, ... -9 level increases the
> amount of work that gzip puts into the compression increases (the
> difference between -6 and -9 is only a few percent in final output
> size but the length of time taken is quite a bit higher).
>
> Of concern would be getting the gzip sources to compile with a non-ANSI
> compiler on a non-32bit machine (sizeof (long) == sizeof(int) is an
> endemic assumption I wager). Well, ok - there is the worry that
> you will grow old waiting for it to compress something ;-) Gzip is a
> lot more cpu intensive than compress.
I'm only thinking of implementing gunzip on the PDP-11. I've got
uncompress -b12 running standalone right now, but gunzip would be a big
win: you gzip -9 on a 32-bit system (higher compression) and gunzip
on the PDP-11.
I just don't know if the gunzip would fit. Isn't there a gunzip for MS-DOS?
Surely we could leverage something from it?
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id OAA20196
for pups-liszt; Wed, 25 Mar 1998 14:36:27 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Warren Toomey <wkt(a)henry.cs.adfa.oz.au> Wed
Mar 25 13:36:28 1998
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au
[131.236.21.158])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id OAA20191
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 14:36:23 +1100 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id OAA02126 for
pups(a)minnie.cs.adfa.oz.au; Wed, 25 Mar 1998 14:36:28 +1100 (EST)
From: Warren Toomey <wkt(a)henry.cs.adfa.oz.au>
Message-Id: <199803250336.OAA02126(a)henry.cs.adfa.oz.au>
Subject: Re: More on Disk Images -> Disk
To: pups(a)minnie.cs.adfa.oz.au (PDP Unix Preservation)
Date: Wed, 25 Mar 1998 14:36:28 +1100 (EST)
In-Reply-To: <m0yHgvc-000FlVC(a)bookworm.softway.com.au> from Peter Chubb at "Mar
25, 98 02:32:00 pm"
Reply-To: wkt(a)cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
In article by Peter Chubb:
In the Linux kernel, linux/lib/inflate.c and
arch/i386/boot/compressed/misc.c there's a set of gunzip routines that
could probably be adapted -- it runs in 16 bit mode (or ought
to). inflate.c is K&R C, so it should compile under V7; misc.c is
ANSI, but is small (just wrappers around gunzip) and in any case would
bneed changing to make a proper gunzip.
I'll see what I can do.
Peter C.
I think Steven described the main thing: will it run in 64K? I've popped
some mail off to Jean-loup, who was involved with writing gzip.
If we can get gunzip running in 64K on V7, I can then move it to a
standalone program with minimal effort: the V7 standalone library
provides open, close, read, write, printf, exit.
Cheers!
Warren
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA20401
for pups-liszt; Wed, 25 Mar 1998 15:31:45 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Greg Lehey <grog(a)lemis.com> Wed Mar 25
14:31:34 1998
Received: from
allegro.lemis.com (
allegro.lemis.com
[192.109.197.134])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA20396
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 15:31:39 +1100 (EST)
Received: from
freebie.lemis.com (
freebie.lemis.com [192.109.197.137])
by
allegro.lemis.com (8.8.7/8.8.5) with ESMTP id PAA21400;
Wed, 25 Mar 1998 15:01:36 +1030 (CST)
Received: (from grog@localhost)
by
freebie.lemis.com (8.8.8/8.8.7) id PAA22891;
Wed, 25 Mar 1998 15:01:34 +1030 (CST)
(envelope-from grog)
Message-ID: <19980325150133.00427(a)freebie.lemis.com>
Date: Wed, 25 Mar 1998 15:01:34 +1030
From: Greg Lehey <grog(a)lemis.com>
To: wkt(a)cs.adfa.oz.au
Cc: PDP Unix Preservation <pups(a)minnie.cs.adfa.oz.au>
Subject: Re: More on Disk Images -> Disk
References: <m0yHgvc-000FlVC(a)bookworm.softway.com.au>
<199803250336.OAA02126(a)henry.cs.adfa.oz.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
In-Reply-To: <199803250336.OAA02126(a)henry.cs.adfa.oz.au>; from Warren Toomey on Wed,
Mar 25, 1998 at 02:36:28PM +1100
WWW-Home-Page:
http://www.lemis.com/~grog
Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia
Phone: +61-8-8388-8286
Fax: +61-8-8388-8725
Mobile: +61-41-739-7062
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
On Wed, 25 March 1998 at 14:36:28 +1100, Warren Toomey wrote:
In article by Peter Chubb:
In the Linux kernel, linux/lib/inflate.c and
arch/i386/boot/compressed/misc.c there's a set of gunzip routines that
could probably be adapted -- it runs in 16 bit mode (or ought
to). inflate.c is K&R C, so it should compile under V7; misc.c is
ANSI, but is small (just wrappers around gunzip) and in any case would
bneed changing to make a proper gunzip.
I'll see what I can do.
Peter C.
I think Steven described the main thing: will it run in 64K? I've popped
some mail off to Jean-loup, who was involved with writing gzip.
I've done a little bit of playing around with gzip 1.2.4. It works on
16 bit MS-DOS platforms with a bit of tweaking, and I got all modules
to compile under 2.11BSD. Unfortunately, I ended up with a couple of
undefined references on linking, and I haven't had time to look at it
in more detail. On the whole, though, it looks as if it could be made
to work, maybe with a little tweaking.
If we can get gunzip running in 64K on V7, I can then
move it to a
standalone program with minimal effort: the V7 standalone library
provides open, close, read, write, printf, exit.
Should be doable.
Greg
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA20463
for pups-liszt; Wed, 25 Mar 1998 15:49:13 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Ed G." <edgee(a)cyberpass.net> Wed
Mar 25 13:48:33 1998
Received: from
renoir.op.net (root(a)renoir.op.net
[209.152.193.4])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA20458
for <pups(a)minnie.CS.adfa.OZ.AU>; Wed, 25 Mar 1998 15:49:06 +1100 (EST)
Received: from
goppelt.op.net (
d-phlarc2-01.ppp.op.net [209.152.199.97]) by
renoir.op.net
(o1/$Revision: 1.15 $) with SMTP id XAA23265; Tue, 24 Mar 1998 23:48:41 -0500 (EST)
Message-Id: <199803250448.XAA23265(a)renoir.op.net>
Comments: Authenticated sender is <edgee(a)cyberpass.net>
From: "Ed G." <edgee(a)cyberpass.net>
To: Tim Shoppa <shoppa(a)alph02.triumf.ca>, pups(a)minnie.cs.adfa.oz.au
Date: Tue, 24 Mar 1998 23:48:33 -0400
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: What's magtape good for anyway?
Reply-to: edgee(a)cyberpass.net
In-reply-to: <9803240458.AA14216(a)alph02.triumf.ca>
References: <199803240249.VAA27961(a)renoir.op.net> from "Ed G." at Mar 23,
98 09:49:02 pm
X-mailer: Pegasus Mail for Win32 (v2.54)
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
OSF/1 "ltf") or just used "dd" and
a lot of hard work.
Is 'dd' Unix's primary tool for dealing with tape drives?
The lack of a record structure that is built-in to the
Unix filesystem
really makes things like tape transfers quite irritating. The rest of
the world isn't always just a stream of bytes!
There are certain areas of Unix that don't seem quite "done" to me.
Printing comes to mind (compare Unix benign neglect with Windows'
universal printer driver).
My understanding is that the Unix philosophy was to provide raw and
cooked drivers for all the devices. That way you could have access
to the hardware if you needed it, or cushy operating system services
if you didn't. Only the cooked mode for the tape devices doesn't
seem to do much more than the raw mode.
Seems to me that they could have easily added file system services
for tape drives to the kernel, just like they did for hard disks.
Was support for tape another area that the Wizzards at Bell Labs
neglected in favor of other more urgent needs?
Ed
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA20456
for pups-liszt; Wed, 25 Mar 1998 15:49:02 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Ed G." <edgee(a)cyberpass.net> Wed
Mar 25 13:48:33 1998
Received: from
renoir.op.net (root(a)renoir.op.net
[209.152.193.4])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id PAA20451
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 15:48:56 +1100 (EST)
Received: from
goppelt.op.net (
d-phlarc2-01.ppp.op.net [209.152.199.97]) by
renoir.op.net
(o1/$Revision: 1.15 $) with SMTP id XAA23272 for <pups(a)minnie.cs.adfa.oz.au>; Tue,
24 Mar 1998 23:48:46 -0500 (EST)
Message-Id: <199803250448.XAA23272(a)renoir.op.net>
Comments: Authenticated sender is <edgee(a)cyberpass.net>
From: "Ed G." <edgee(a)cyberpass.net>
To: pups(a)minnie.cs.adfa.oz.au
Date: Tue, 24 Mar 1998 23:48:33 -0400
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Bug in Supnik's emulator?
Reply-to: edgee(a)cyberpass.net
X-mailer: Pegasus Mail for Win32 (v2.54)
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
I don't know whether this is a bug in the factor (1) program (which
seems unlikely) or the emulator. Can someone try factoring numbers on
a real pdp-11 and tell me what happens?
On the emulator when I type in a number, factor prints out the
prime factors, followed by an infinite series of 17s. So, for
example
factor 6
2
3
17
17
....
I might add that I had bc running on the emulator calculate pi to
30 places and the results were identical with gnu bc on my linux box,
right down to the last digit. Very impressive.
Ed
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id QAA20530
for pups-liszt; Wed, 25 Mar 1998 16:10:24 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From "Steven M. Schultz"
<sms(a)moe.2bsd.com> Wed Mar 25 15:06:26 1998
Received: from
moe.2bsd.com
(0(a)MOE.2BSD.COM [206.139.202.200])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id QAA20521
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 16:10:16 +1100 (EST)
Received: (from sms@localhost)
by
moe.2bsd.com (8.8.5/8.8.5) id VAA16340
for pups(a)minnie.cs.adfa.oz.au; Tue, 24 Mar 1998 21:06:26 -0800 (PST)
Date: Tue, 24 Mar 1998 21:06:26 -0800 (PST)
From: "Steven M. Schultz" <sms(a)moe.2bsd.com>
Message-Id: <199803250506.VAA16340(a)moe.2bsd.com>
To: pups(a)minnie.cs.adfa.oz.au
Subject: Re: More on Disk Images -> Disk
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
Greg -
I've done a little bit of playing around with
gzip 1.2.4. It works on
Are gzip and gunzip comparable in size? I'm curious if the
decompression is more 'address space' hungry than the act of
compression (or vice-versa).
16 bit MS-DOS platforms with a bit of tweaking, and I
got all modules
to compile under 2.11BSD. Unfortunately, I ended up with a couple of
undefined references on linking, and I haven't had time to look at it
Which symbols came up missing/undefined?
If we can get
gunzip running in 64K on V7, I can then move it to a
Should be doable.
It's actually 56kb or less - have to leave room for the stack and
other data (strings, etc)
Steven
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id QAA20562
for pups-liszt; Wed, 25 Mar 1998 16:24:15 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Greg Lehey <grog(a)lemis.com> Wed Mar 25
15:24:01 1998
Received: from
allegro.lemis.com (
allegro.lemis.com
[192.109.197.134])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id QAA20557
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 16:24:10 +1100 (EST)
Received: from
freebie.lemis.com (
freebie.lemis.com [192.109.197.137])
by
allegro.lemis.com (8.8.7/8.8.5) with ESMTP id PAA21440;
Wed, 25 Mar 1998 15:54:02 +1030 (CST)
Received: (from grog@localhost)
by
freebie.lemis.com (8.8.8/8.8.7) id PAA23064;
Wed, 25 Mar 1998 15:54:01 +1030 (CST)
(envelope-from grog)
Message-ID: <19980325155401.32216(a)freebie.lemis.com>
Date: Wed, 25 Mar 1998 15:54:01 +1030
From: Greg Lehey <grog(a)lemis.com>
To: edgee(a)cyberpass.net, pups(a)minnie.cs.adfa.oz.au
Subject: Re: Bug in Supnik's emulator?
References: <199803250448.XAA23272(a)renoir.op.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
In-Reply-To: <199803250448.XAA23272(a)renoir.op.net>; from Ed G. on Tue, Mar 24, 1998
at 11:48:33PM -0400
WWW-Home-Page:
http://www.lemis.com/~grog
Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia
Phone: +61-8-8388-8286
Fax: +61-8-8388-8725
Mobile: +61-41-739-7062
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
On Tue, 24 March 1998 at 23:48:33 -0400, Ed G. wrote:
I don't know whether this is a bug in the factor
(1) program (which
seems unlikely) or the emulator. Can someone try factoring numbers on
a real pdp-11 and tell me what happens?
On the emulator when I type in a number, factor prints out the
prime factors, followed by an infinite series of 17s. So, for
example
factor 6
2
3
17
17
....
I would be very surprised if this was a bug in the emulator.
In any case, I tried it on the begemot emulator, running 2.11BSD:
[55] root--> /usr/games/factor 6
2
3
[56] root-->
Greg
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id QAA20581
for pups-liszt; Wed, 25 Mar 1998 16:29:08 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Greg Lehey <grog(a)lemis.com> Wed Mar 25
15:28:46 1998
Received: from
allegro.lemis.com (
allegro.lemis.com
[192.109.197.134])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id QAA20576
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 16:29:03 +1100 (EST)
Received: from
freebie.lemis.com (
freebie.lemis.com [192.109.197.137])
by
allegro.lemis.com (8.8.7/8.8.5) with ESMTP id PAA21447;
Wed, 25 Mar 1998 15:58:47 +1030 (CST)
Received: (from grog@localhost)
by
freebie.lemis.com (8.8.8/8.8.7) id PAA23086;
Wed, 25 Mar 1998 15:58:47 +1030 (CST)
(envelope-from grog)
Message-ID: <19980325155846.17376(a)freebie.lemis.com>
Date: Wed, 25 Mar 1998 15:58:46 +1030
From: Greg Lehey <grog(a)lemis.com>
To: "Steven M. Schultz" <sms(a)moe.2bsd.com>, pups(a)minnie.cs.adfa.oz.au
Subject: Re: More on Disk Images -> Disk
References: <199803250506.VAA16340(a)moe.2bsd.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
In-Reply-To: <199803250506.VAA16340(a)moe.2bsd.com>; from Steven M. Schultz on Tue,
Mar 24, 1998 at 09:06:26PM -0800
WWW-Home-Page:
http://www.lemis.com/~grog
Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia
Phone: +61-8-8388-8286
Fax: +61-8-8388-8725
Mobile: +61-41-739-7062
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
On Tue, 24 March 1998 at 21:06:26 -0800, Steven M. Schultz wrote:
> Greg -
>
>
I've done a little bit of playing around with
gzip 1.2.4. It works on
>
> Are gzip and gunzip comparable in size?
They're links to the same executable.
I'm curious if the
decompression is more 'address space' hungry than the act of
compression (or vice-versa).
I haven't looked at the process images on systems on which they run.
I suspect it wouldn't relate directly to 16 bit platforms anyway,
since they have a slightly modified algorithm.
16 bit MS-DOS
platforms with a bit of tweaking, and I got all modules
to compile under 2.11BSD. Unfortunately, I ended up with a couple of
undefined references on linking, and I haven't had time to look at it
Which symbols came up missing/undefined?
Various things defined in the program. They relate to the area in
which I was tweaking.
If we can get gunzip running in 64K on V7, I can then
move it to a
Should be doable.
It's actually 56kb or less - have to leave room for the stack and
other data (strings, etc)
Yes, I understand. It may of course be that we need separate I and D.
Greg
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id QAA20659
for pups-liszt; Wed, 25 Mar 1998 16:48:07 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Greg Lehey <grog(a)lemis.com> Wed Mar 25
15:47:54 1998
Received: from
allegro.lemis.com (
allegro.lemis.com
[192.109.197.134])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id QAA20654
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 16:48:00 +1100 (EST)
Received: from
freebie.lemis.com (
freebie.lemis.com [192.109.197.137])
by
allegro.lemis.com (8.8.7/8.8.5) with ESMTP id QAA21467
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 16:17:55 +1030 (CST)
Received: (from grog@localhost)
by
freebie.lemis.com (8.8.8/8.8.7) id QAA23181;
Wed, 25 Mar 1998 16:17:55 +1030 (CST)
(envelope-from grog)
Message-ID: <19980325161754.63486(a)freebie.lemis.com>
Date: Wed, 25 Mar 1998 16:17:54 +1030
From: Greg Lehey <grog(a)lemis.com>
To: PDP UNIX Preservation Society <pups(a)minnie.cs.adfa.oz.au>
Subject: gzip on PDP-11: not so simple
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
WWW-Home-Page:
http://www.lemis.com/~grog
Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia
Phone: +61-8-8388-8286
Fax: +61-8-8388-8725
Mobile: +61-41-739-7062
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
OK, I've found the problems with gzip, and they're not encouraging.
It would appear that the undefined references are undefined because
they refer to data which is too large. Here's the preprocessor
output:
uch inbuf[ 0x8000 + 64 ];
uch outbuf[ 16384 +2048 ];
ush d_buf[ 0x8000 ];
uch window[ 2*0x8000 ];
# 194 "gzip.c"
ush prev[ 1<<(16-1)];
ush tab_prefix1[ 1<<(16-1)];
uch and ush are uchar and ushort respectively. Obviously there's no
way of fitting this into a 64 kB address space. Possibly there's a
way of shortening the buffers, but it would take more time than I have
right now. Sorry for raising your hopes.
There are other zip-compatible programs out there, such as unzip.
Maybe somebody should look into them.
Greg
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id RAA20686
for pups-liszt; Wed, 25 Mar 1998 17:00:29 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From John Holden
<johnh(a)psychvax.psych.usyd.edu.au> Wed Mar 25 16:00:21 1998
Received: from
psychvax.psych.usyd.edu.au (psychvax.psych.usyd.edu.au [129.78.83.1])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id RAA20681
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 17:00:26 +1100 (EST)
Received: (from johnh@localhost)
by psychvax.psych.usyd.edu.au (8.8.8/8.8.8) id RAA02807
for pups(a)minnie.cs.adfa.oz.au; Wed, 25 Mar 1998 17:00:21 +1100
Date: Wed, 25 Mar 1998 17:00:21 +1100
From: John Holden <johnh(a)psychvax.psych.usyd.edu.au>
Message-Id: <199803250600.RAA02807(a)psychvax.psych.usyd.edu.au>
To: pups(a)minnie.cs.adfa.oz.au
Subject: Re: What's magtape good for anyway?
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
There were several tape handling programs that were standand from edition 5
onwards, including tap, tp, dtp, itp, tar and cpio. The only major tape standard
around at the time (other than IBM) was ANSI, and several programs (not from
Bell) were available to handle these. The ANSI tape structure was very
inefficient with tape usage, since it used small record sizes and lots
of tape marks. TAR did a better job (for Unix) and only lacked labels
to name the tape.
Putting tape filesystem handling into the kernel was definately against the
original 'small is beautiful' philosophy. In any case, tape handling was
very easy via the raw interface.
As a side issue, Plan 9 has the ability to mount a tape as part of the
namespace and only reads the file contents if the file is opened.
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id RAA20787
for pups-liszt; Wed, 25 Mar 1998 17:44:22 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Peter Chubb <peterc(a)softway.com.au> Wed Mar
25 17:43:00 1998
Received: from suede.sw.oz.au (firewall-user(a)gw.softway.com.au
[203.31.96.1])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id RAA20782
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 17:44:12 +1100 (EST)
Received: from bookworm.softway.com.au (root(a)bookworm.sw.oz.au [192.41.203.51])
by suede.sw.oz.au (8.8.8/8.8.8) with SMTP id RAA25023;
Wed, 25 Mar 1998 17:43:20 +1100 (EST)
Received: by bookworm.softway.com.au (Smail3.1.29.1 #4)
id m0yHjuC-000FlVC; Wed, 25 Mar 98 17:43 +1000
Message-Id: <m0yHjuC-000FlVC(a)bookworm.softway.com.au>
Date: Wed, 25 Mar 98 17:43 +1000
From: Peter Chubb <peterc(a)softway.com.au>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Greg Lehey <grog(a)lemis.com>
Cc: PDP UNIX Preservation Society <pups(a)minnie.cs.adfa.oz.au>
Subject: Re: gzip on PDP-11: not so simple
In-Reply-To: <19980325161754.63486(a)freebie.lemis.com>
References: <19980325161754.63486(a)freebie.lemis.com>
X-Mailer: VM 6.35 under Emacs 20.2.2
Comments: Hyperbole mail buttons accepted, v04.023.
X-Face: .slVUC18R`%{j(W3ztQe~*ATzet;h`*Wv33MZ]*M,}9AP<`+C=U)c#NzI5vK!0^d#6:<_`a
{#.<}~(T^aJ~]-.C'p~saJ7qZXP-$AY==]7,9?WVSH5sQ}g3,8j>u%(a)f$/Z6,WR7*E~BFY.Yjw,H6<
F.cEDj2$S:kO2+-5<]afj@kC!:uw\(<>lVpk)lPZs+2(=?=D/TZPG+P9LDN#1RRUPxdX
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
>>>> "Greg" == Greg Lehey
<grog(a)lemis.com> writes:
Greg> OK, I've found the problems with gzip, and they're not
Greg> encouraging. It would appear that the undefined references are
Greg> undefined because they refer to data which is too large. Here's
Greg> the preprocessor output:
Greg> uch inbuf[ 0x8000 + 64 ]; uch outbuf[ 16384 +2048 ]; ush
Greg> d_buf[ 0x8000 ]; uch window[ 2*0x8000 ]; # 194 "gzip.c"
You need to decrease the window size -- try setting it to 8k (instead
of 32k)
There should be a
#define WSIZE 0x8000
somewhere.
It may be worth playing with a decompress only version -- compression
will take more space than decompression (you need two windows rather
than one, for a start). inbuf can be smaller, too. Try 512 bytes to
match the disc record size.
Peter C
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id SAA20848
for pups-liszt; Wed, 25 Mar 1998 18:11:48 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f
From Greg Lehey <grog(a)lemis.com> Wed Mar 25
17:11:36 1998
Received: from
allegro.lemis.com (
allegro.lemis.com
[192.109.197.134])
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id SAA20843
for <pups(a)minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 18:11:43 +1100 (EST)
Received: from
freebie.lemis.com (
freebie.lemis.com [192.109.197.137])
by
allegro.lemis.com (8.8.7/8.8.5) with ESMTP id RAA21565;
Wed, 25 Mar 1998 17:41:37 +1030 (CST)
Received: (from grog@localhost)
by
freebie.lemis.com (8.8.8/8.8.7) id RAA23376;
Wed, 25 Mar 1998 17:41:37 +1030 (CST)
(envelope-from grog)
Message-ID: <19980325174136.47943(a)freebie.lemis.com>
Date: Wed, 25 Mar 1998 17:41:36 +1030
From: Greg Lehey <grog(a)lemis.com>
To: Peter Chubb <peterc(a)softway.com.au>
Cc: PDP UNIX Preservation Society <pups(a)minnie.cs.adfa.oz.au>
Subject: Re: gzip on PDP-11: not so simple
References: <19980325161754.63486(a)freebie.lemis.com>
<m0yHjuC-000FlVC(a)bookworm.softway.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
In-Reply-To: <m0yHjuC-000FlVC(a)bookworm.softway.com.au>; from Peter Chubb on Wed, Mar
25, 1998 at 05:43:00PM +1000
WWW-Home-Page:
http://www.lemis.com/~grog
Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia
Phone: +61-8-8388-8286
Fax: +61-8-8388-8725
Mobile: +61-41-739-7062
Sender: owner-pups(a)minnie.cs.adfa.oz.au
Precedence: bulk
On Wed, 25 March 1998 at 17:43:00 +1000, Peter Chubb wrote:
>
>>>> "Greg" == Greg Lehey
<grog(a)lemis.com> writes:
>
> Greg> OK, I've found the problems with gzip, and they're not
> Greg> encouraging. It would appear that the undefined references are
> Greg> undefined because they refer to data which is too large. Here's
> Greg> the preprocessor output:
>
> Greg> uch inbuf[ 0x8000 + 64 ]; uch outbuf[ 16384 +2048 ]; ush
> Greg> d_buf[ 0x8000 ]; uch window[ 2*0x8000 ]; # 194 "gzip.c"
>
> You need to decrease the window size -- try setting it to 8k (instead
> of 32k)
>
> There should be a
> #define WSIZE 0x8000
> somewhere.
Correct. Unfortunately, it's not as simple as that. Here's the
definition:
#ifndef WSIZE
# define WSIZE 0x8000 /* window size--must be a power of two, and */
#endif /* at least 32K for zip's deflate method */
It may be worth playing with a decompress only version
-- compression
will take more space than decompression (you need two windows rather
than one, for a start).
Yes, that was really what I was thinking of doing with unzip, rather
than excising the unzip part from gunzip.
inbuf can be smaller, too. Try 512 bytes to match the
disc record
size.
Sure, once I get into serious modifications I can try a number of
things. The trouble is, I just don't have the time. I thought it was
worth 15 minutes to see what it would do, and the first attempts
looked encouraging. Unfortunately, the second attempts didn't :-(
Greg
Received: (from major@localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id AAA21748
for pups-liszt; Thu, 26 Mar 1998 00:20:28 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to
owner-pups(a)minnie.cs.adfa.oz.au using -f