Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: howard@thumper.bellcore.com (Howard Bussey)
Subject: Re: Help Requested in Defeating Ring Buffer Software Patent
Date: 29 Sep 91 17:48:36 GMT	[thread overview]
Message-ID: <882@salt.bellcore.com> (raw)

The SCOPE (and later KRONOS and NOS) operating systems on the CDC 6000
and 7000 series used a circular buffer for I/O.  The control structure
was like:

struct CBUFFER {
 int *first, *in, *out, *limit;
};

first and limit pointed to the first, and 1 past the last "words" in the
buffer (so the size of the buffer is (limit - first)).

in and out pointed to the next available word for writing and reading,
respectively.

in==out implied the buffer was empty. in+1 == out (in the equivalence
class implied by CBUFFER) meant the buffer was full.

The constraints were first <= {in|out} < limit.

This was used to allow a program to read or write data (even
continuously!).  Most of the operating system ran in peripheral
processors (PPs).  When an I/O operation was started, with the CIO
(Combined I/O) service, a PP was allocated to the request.  It would
poll (yes, poll!) the CBUFFER structure.  When (in != out), the PP would
transfer data.  So the CBUFFERs were used for inter-processor
communication.  Actually, the PPs were only 1 processor, which
time-multiplexed itself each microsecond among 10 or 20 different
contexts, resulting in what looked like 10 or 20 individual PPs (each
with 1 microsecond instruction cycle times).

The SCOPE/KRONOS/NOS operating system may have allowed several
simultaneous and independent transfers.  I do know that tape-tape copies
could keep the tapes spinning continuously.

[N.B. IMHO, the 6600 was the first RISC machine! please, discussion
directly to me]

--------------------------------------------------------------
Howard Bussey <howard@thumper.bellcore.com>
Bellcore Room 2P-288/445 South Street/Morristown NJ 07962-1910
voice: +201 829 44 79; fax: +201 829 58 88


             reply	other threads:[~1991-09-29 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-09-29 17:48 Howard Bussey [this message]
1991-09-29 19:05 ` Help Requested in Defeating Ring Buffer Software Patent Clarence Wilkerson
1991-09-29 19:51 ` Daan Sandee
1991-09-30 21:02   ` Steve Jay
  -- strict thread matches above, loose matches on Subject: below --
1991-09-27 10:41 Dave Goldblatt
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