From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,19fcd836375ee2d1 X-Google-Attributes: gidf7344,public X-Google-Thread: 10beba,19fcd836375ee2d1 X-Google-Attributes: gid10beba,public X-Google-Thread: f4ba4,19fcd836375ee2d1 X-Google-Attributes: gidf4ba4,public X-Google-Thread: 1014db,19fcd836375ee2d1 X-Google-Attributes: gid1014db,public X-Google-Thread: fdd95,19fcd836375ee2d1 X-Google-Attributes: gidfdd95,public X-Google-Thread: f9325,19fcd836375ee2d1 X-Google-Attributes: gidf9325,public X-Google-Thread: 1164f8,19fcd836375ee2d1 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10f9b1,19fcd836375ee2d1 X-Google-Attributes: gid10f9b1,public X-Google-ArrivalTime: 1991-09-29 12:54:41 PST Path: gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wupost!micro-heart-of-gold.mit.edu!rutgers!bellcore!walter!salt!howard From: howard@thumper.bellcore.com (Howard Bussey) Newsgroups: comp.dcom.lans,comp.dcom.modems,comp.lang.c,comp.os.vms,comp.protocols.tcp-ip,comp.sys.dec,comp.unix.wizards,comp.sys.cdc,comp.sys.prime,comp.sys.ibm.pc.hardware Subject: Re: Help Requested in Defeating Ring Buffer Software Patent Message-ID: <882@salt.bellcore.com> Date: 29 Sep 91 17:48:36 GMT Sender: news@salt.bellcore.com Xref: gmdzi comp.dcom.lans:47873 comp.dcom.modems:50290 comp.lang.c:108392 comp.os.vms:131024 comp.protocols.tcp-ip:56483 comp.sys.dec:25402 comp.unix.wizards:23734 comp.sys.cdc:425 comp.sys.prime:458 comp.sys.ibm.pc.hardware:60962 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 Bellcore Room 2P-288/445 South Street/Morristown NJ 07962-1910 voice: +201 829 44 79; fax: +201 829 58 88