From: greg@indiana.edu (Gregory Travis)
Subject: Re: CDC-6600
Date: 1997/01/17 [thread overview]
Message-ID: <greg.853520890@gtravis> (raw)
In-Reply-To: greg.853517359@gtravis
OOOH, ahhh, more stuff about the 6600/7600. Actually, about the
operating system and application programs.
First, the hardware implemented basic protection. There was a base
address, which was added to all memory addresses used by the
program, and a limit address which specified the maximum address
that the program could use without causing an address violation. As
with divide-by-zero, I think an address violation simply caused the CPU
to halt and PPU 0 had to figure out why.
Thus programs could easily be relocated in main memory and were
protected from each other. There were no provisions for "read only" or
separated program/data spaces. Programs (instructions) and data occupied
the same read/write address space, thus is was pretty easy to write
self-modifying code.
Each program saw a linear address space which started at address 0 and
went up to the programs "field length" (maximum address). Typical
field lengths (set prior to program load via the RFL command) were
20-30,000 words. Programs at our site were considered big if they needed
a field length over 50,000 words or so. For comparison, I wrote a complete
interactive bulletin board system with loadable "device drivers" (for
terminal cursor addressing - kinda a "curses" package but with different
drivers for each type of terminal) and worked REAL hard to get it to run
in under 20,000 words. The program was written entirely in COMPASS.
Reducing program size had a DRAMATIC effect on how "quick" and interactive
interactive programs felt. 20,000 words is about 150K bytes. Remember,
the machine only had 256K (words) of memory total (or was it 131K? I
can't remember if addresses were signed) so it didn't take but ten or
so 20K jobs to fill all of main memory. Also, I don't think most places
had full memory compliments - I think we only had 131K (assuming you could
go to 256K). Memory was expensive!
Whole programs (control points) were swapped out and back into memory, no
virtual memory here. Swapout was called a "rollout" and could be a real
bear if you were trying to run interactively. You program's chance of
getting rolled out and staying out for a long time were direct functions
of its field length. I recall the operating system did a lot of work
to try and keep odd-sized memory holes from developing but when they did
it would start wholesale rollouts to de-fragment main memory. If you had
an over-50K job and it got rolled out during a busy afternoon, you could
pretty much guarantee it wasn't gonna roll right back in. The system would
pick a bunch of smaller jobs instead.
Anyway, the first 100 words of a program's address space were used for
communication with the operating system. When the system loaded a program
it transferred control to the program by starting the program at address
100 (plus or minute 10 words, I don't remember exactly).
Within the first 100 words was data the program could look at to find
out about itself. Stuff like jobname, priority, field length, username
were all stored by the system there. In addition, the programs "Exchange
Package" was stored by the system there. The exchange package consisted
of all the hardware information needed to save and restore the program's
state (such as register values, the program counter, etc.). There was
a special machine instruction, used by the system monitor, that basically
took an exchange package and loaded it into the CPUs registers. How
many people out there remember the wonder and joy of retrieving your
Fortran job only to find that, instead of the output you expected, you
got an "Exchange Package Dump" instead? That was the system's way of
telling you that your program had faulted (divide by zero, field length
violation, etc.). You looked at the printed out exchange package and
found the PC and the register contents. You usually had to know a good
deal about what the Fortran compiler did with various registers to figure
out what went wrong.
The most important location within that first 100 words was address 1.
If a program wrote the three-letter name of a PPU program into the word
at location 1, then the system monitor would attempt to find a PPU
program of that name and load it into an available PPU for you. That's how
you made a system call.
The first 100 words were really close to Unix's "User Area" for people
familiar with the kernel. The big difference is that, under Kronos, the
"User Area" was within the processes address space while under Unix (at
least V7) only the kernel could read it. Under Kronos a process could,
by design or error, shit all over its first 100 words. That produced an
exchage package dump pretty quickly.
I've really got to get back to work...
greg
--
greg greg@indiana.edu http://gtravis.ucs.indiana.edu/
next prev parent reply other threads:[~1997-01-17 5:00 UTC|newest]
Thread overview: 253+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1E061566A2E@orchid.le.ac.uk>
[not found] ` <5b <Pine.SUN.3.91.970113162719.25548I-100000@lisa.cs.mcgill.ca>
1997-01-14 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Martin Vorlaender
1997-01-14 5:00 ` John Hascall
1997-01-14 5:00 ` Rich Lafferty
1997-01-16 5:00 ` Doug Cain
1997-01-16 5:00 ` Rich Lafferty
1997-01-24 5:00 ` Uri Raz
1997-01-24 5:00 ` 5315
1997-01-25 5:00 ` Ron Natalie
1997-01-16 5:00 ` Gregory Travis
1997-01-14 5:00 ` Tom I Helbekkmo
[not found] ` <32CBACD3.2AC0@videotron.ca>
[not found] ` <1997Jan2.182752.1@sldb4.slac.stanford.edu>
[not found] ` <32CD1F09.5549@videotron.ca>
[not found] ` <5ajihh$qdl@access2.digex.net>
1997-01-03 5:00 ` Tim Adye
1997-01-18 5:00 ` Geoffrey Welsh
1997-01-04 5:00 ` John Hascall
[not found] ` <Ed.Wilts-ya02408000R0401971713390001@nntp.gov.bc.ca>
1997-01-07 5:00 ` Uwe Leinberger GSI Darmstadt
1997-01-13 5:00 ` Old-Fashioned Staffordshire Plate...
1997-01-18 5:00 ` Geoffrey Welsh
1997-01-04 5:00 ` windows NT bill_h
1997-01-06 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) larry kollar
1997-01-12 5:00 ` Geoffrey Welsh
1997-01-12 5:00 ` jfmezei
1997-01-12 5:00 ` Lennart Regebro
1997-01-13 5:00 ` Raz Uri
1997-01-23 5:00 ` Christian Knapmeyer
1997-01-24 5:00 ` Geoff. Lane
1997-01-29 5:00 ` Voice recognition (was: A Microsoft Future? ) Ketil Z Malde
1997-01-31 5:00 ` Stephen Boroczky
1997-01-13 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) fairfield
1997-01-13 5:00 ` Tony Scandora 630-252-7541
1997-01-14 5:00 ` Uwe Leinberger GSI Darmstadt
1997-01-14 5:00 ` jfmezei
1997-01-17 5:00 ` Paul Repacholi (prep)
1997-01-15 5:00 ` Tony Scandora 630-252-7541
1997-01-21 5:00 ` Jay R. Ashworth
1997-01-22 5:00 ` Gregg E Economou
1997-02-03 5:00 ` Old-Fashioned Staffordshire Plate...
1997-02-04 5:00 ` t_wade
1997-02-07 5:00 ` Like a tea tray in the sky...
1997-02-09 5:00 ` Paul Repacholi (prep)
1997-01-24 5:00 ` Paul Repacholi (prep)
1997-01-23 5:00 ` Steven P. Underwood
1997-01-24 5:00 ` Tony Scandora 630-252-7541
1997-01-22 5:00 ` R. D. Davis
1997-01-23 5:00 ` Douglas Borsom
1997-01-24 5:00 ` R. D. Davis
1997-01-25 5:00 ` Jean-Francois Mezei
1997-01-27 5:00 ` Ron Natalie
1997-01-23 5:00 ` Gregg E Economou
1997-01-24 5:00 ` Bear Witness (was: A Microsoft Future?) Clinton Pierce
1997-01-24 5:00 ` Ryan M Rafferty
1997-01-23 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Jean-Francois Mezei
1997-01-24 5:00 ` Boris Gjenero
1997-01-25 5:00 ` main(argc, argv)
1997-01-25 5:00 ` Wayne Sewell
1997-01-27 5:00 ` Raz Uri
1997-01-28 5:00 ` Ron Natalie
1997-01-28 5:00 ` Herbie
1997-01-29 5:00 ` E.G.N.Abbink
1997-01-30 5:00 ` Lon Stowell
1997-01-29 5:00 ` Twan van Elk
1997-01-31 5:00 ` Old-Fashioned Staffordshire Plate...
1997-02-01 5:00 ` Gene Wirchenko
1997-01-24 5:00 ` mathog
1997-01-25 5:00 ` Jean-Francois Mezei
1997-01-25 5:00 ` Glenn C. Everhart
1997-02-03 5:00 ` Old-Fashioned Staffordshire Plate...
1997-02-06 5:00 ` Paul Repacholi (prep)
1997-01-24 5:00 ` Tony Scandora 630-252-7541
1997-01-27 5:00 ` Old-Fashioned Staffordshire Plate...
1997-01-14 5:00 ` Paul Repacholi (prep)
1997-01-14 5:00 ` GRAY
1997-01-15 5:00 ` glass
1997-01-15 5:00 ` Ian Munro
1997-01-24 5:00 ` David Rudder
1997-01-22 5:00 ` R. D. Davis
1997-01-13 5:00 ` Kevin Oberman
1997-01-13 5:00 ` Douglas W. Jones,201H MLH,3193350740,3193382879
1997-01-14 5:00 ` Derek Peschel
1997-01-14 5:00 ` Paul Repacholi (prep)
1997-01-16 5:00 ` Lon Stowell
1997-01-22 5:00 ` Jean-Francois Mezei
1997-01-22 5:00 ` Lon Stowell
1997-01-22 5:00 ` Mark Levy
1997-01-23 5:00 ` Larry Kilgallen
1997-01-23 5:00 ` Lon Stowell
1997-01-23 5:00 ` Larry Kilgallen
1997-01-26 5:00 ` mathog
1997-01-23 5:00 ` Gregg E Economou
1997-01-23 5:00 ` Steven P. Underwood
1997-01-23 5:00 ` Jean-Francois Mezei
1997-01-23 5:00 ` glass
[not found] ` <32E8A5F0.47035166@swec.com>
1997-01-29 5:00 ` Ronald Skoog
1997-01-30 5:00 ` Lon Stowell
1997-01-31 5:00 ` Fred J. Drinkwater
1997-01-31 5:00 ` Alan Bowler
1997-01-23 5:00 ` Richard Drushel
1997-01-23 5:00 ` John Vottero
1997-01-24 5:00 ` Andrew Clegg
1997-01-25 5:00 ` Ron Natalie
1997-01-25 5:00 ` John Varela
1997-01-25 5:00 ` Gene Wirchenko
1997-01-24 5:00 ` Paul Repacholi (prep)
1997-01-24 5:00 ` Andrew Clegg
1997-01-24 5:00 ` John Hascall
1997-01-24 5:00 ` Jerry Leichter
1997-01-28 5:00 ` Mark Donaldson
1997-02-07 5:00 ` Peter Quodling
1997-02-08 5:00 ` John Bayko
1997-02-12 5:00 ` Stuart R. Fuller
1997-02-20 5:00 ` Jack Patteeuw
1997-01-14 5:00 ` jfmezei
1997-01-15 5:00 ` Glenn C. Everhart
1997-01-15 5:00 ` Fred Ballard
1997-01-16 5:00 ` jfmezei
1997-01-17 5:00 ` Roy Omond
1997-01-17 5:00 ` glass
1997-01-15 5:00 ` christopher f. chiesa
1997-01-25 5:00 ` Al Castanoli
1997-01-15 5:00 ` pdwalker
1997-01-16 5:00 ` Alfred Falk
1997-01-17 5:00 ` Brian Raiter
1997-01-18 5:00 ` Thierry Wautelet
1997-01-20 5:00 ` Randy Boback
1997-01-16 5:00 ` CDC-6600 (was: A Microsoft Future?) Robert Schuldenfrei
1997-01-16 5:00 ` Gregory Travis
1997-01-16 5:00 ` glass
1997-01-16 5:00 ` John R. Campbell
1997-01-16 5:00 ` Gregory Travis
1997-01-17 5:00 ` Linwood Ferguson
1997-01-17 5:00 ` Adam J. Thornton
1997-01-17 5:00 ` Gregory Travis
1997-01-17 5:00 ` Linwood Ferguson
1997-01-18 5:00 ` Robert Schuldenfrei
1997-01-18 5:00 ` Eric Schweitzer (archy)
1997-01-18 5:00 ` Eric Fischer
1997-01-19 5:00 ` Ingvar Mattsson
1997-01-19 5:00 ` John Hascall
1997-01-19 5:00 ` H.W. Stockman
1997-01-21 5:00 ` Will Rose
[not found] ` <9kafpuarfd.fsf@morticia.inmos.co.uk>
1997-01-28 5:00 ` Eric Fischer
1997-02-03 5:00 ` Jay R. Ashworth
1997-01-18 5:00 ` Linwood Ferguson
1997-01-28 5:00 ` CDC-6600 Mel Wilson
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Andre Rosenthal
1997-01-17 5:00 ` Gregory Travis
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) and CDC-1700 PDP-11 Trainee Guru
1997-01-20 5:00 ` Gary Heston
1997-01-17 5:00 ` CDC-6600 Mike Morris
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Ron Natalie
1997-01-17 5:00 ` Gregory Travis
1997-01-24 5:00 ` Jay R. Jaeger
1997-01-17 5:00 ` Jerzy Michal Pawlak
1997-01-17 5:00 ` Gregory Travis
1997-01-17 5:00 ` Ron Natalie
1997-01-17 5:00 ` Gregory Travis
1997-01-20 5:00 ` Alan Bowler
1997-01-17 5:00 ` Michael W. Walker
1997-01-18 5:00 ` Gene Wirchenko
1997-01-20 5:00 ` Ron Natalie
1997-02-06 5:00 ` CDC-6600 Eugene Miya
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Paul Repacholi (prep)
1997-01-24 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Chris Hedley
1997-01-27 5:00 ` Ketil Z Malde
1997-01-13 5:00 ` Ketil Z Malde
1997-01-13 5:00 ` Lennart Regebro
1997-01-13 5:00 ` Rich Lafferty
1997-01-15 5:00 ` pdwalker
1997-01-18 5:00 ` John "West" McKenna
1997-01-19 5:00 ` Lon Stowell
1997-01-20 5:00 ` Robert Koehler
1997-01-22 5:00 ` Jay R. Ashworth
1997-01-14 5:00 ` Gregg E Economou
1997-01-15 5:00 ` jfmezei
1997-01-21 5:00 ` David E. Fox
1997-01-21 5:00 ` Ian Munro
[not found] ` <Stafford-2101972029460001@jstafford.winona.msus.edu>
1997-01-21 5:00 ` Lon Stowell
1997-01-21 5:00 ` GUI vs Character Command Wars (was: A Microsoft Future?) Larry Kilgallen
1997-01-22 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Graham Hughes
1997-01-22 5:00 ` Gregg E Economou
1997-01-23 5:00 ` Lon Stowell
1997-01-24 5:00 ` Jean-Francois Mezei
1997-01-26 5:00 ` Gregg E Economou
[not found] ` <Ed.Wilts-ya02408000R2601970920260001@nntp.gov.bc.ca>
1997-01-30 5:00 ` Byron Lister
1997-01-27 5:00 ` Alan Bowler
1997-01-28 5:00 ` Jean-Francois Mezei
1997-01-28 5:00 ` _pdwalker_
1997-01-30 5:00 ` Lon Stowell
1997-01-31 5:00 ` Arlen Williams
1997-01-31 5:00 ` Lon Stowell
1997-01-21 5:00 ` John Hascall
1997-01-28 5:00 ` Chris Holgate
1997-01-29 5:00 ` Gene Wirchenko
1997-01-21 5:00 ` Carl R. Friend
1997-01-21 5:00 ` James Harvey
1997-01-22 5:00 ` Tom Harrington
1997-01-27 5:00 ` Voice recognition in the workplace (was: A Microsoft Future?) R. D. Davis
1997-01-21 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Alexandre Pechtchanski
1997-01-21 5:00 ` Boris Gjenero
1997-01-22 5:00 ` mathog
1997-01-23 5:00 ` Paul Kein�nen
1997-01-23 5:00 ` A.McIntosh
1997-01-22 5:00 ` Arne Vajhoej
1997-01-22 5:00 ` Lon Stowell
1997-01-23 5:00 ` Gene Wirchenko
1997-01-25 5:00 ` John Hendrickx
1997-01-28 5:00 ` Voice recognition (was: A Microsoft Future? ) Tim Hewitt
1997-01-31 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Geoff. Lane
1997-01-14 5:00 ` Richard Levitte - VMS Whacker
1997-01-14 5:00 ` Richard Levitte - VMS Whacker
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Ron Natalie
1997-01-18 5:00 ` Gene Wirchenko
1997-01-20 5:00 ` Ron Natalie
1997-01-17 5:00 ` Michael Meissner
1997-01-17 5:00 ` Pr1mos (was Re: CDC-6600 (was: A Microsoft Future?)) Gregory Travis
1997-01-17 5:00 ` Douglas W. Jones,201H MLH,3193350740,3193382879
1997-01-21 5:00 ` Mr CJ HOLGATE
1997-01-22 5:00 ` Ian Winder
1997-02-02 5:00 ` Ralph Edward Chadis
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Michael W. Walker
1997-02-06 5:00 ` CDC-6600 Eugene Miya
1997-02-07 5:00 ` CDC-6600 Toon Moene
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Michael Meissner
1997-01-20 5:00 ` Glenn C. Everhart
1997-01-17 5:00 ` CDC-6600 Michael Moroney
1997-01-17 5:00 ` CDC-6600 Paul Kein�nen
1997-01-17 5:00 ` CDC-6600 Alexandre Pechtchanski
1997-01-17 5:00 ` CDC-6600 Ron Natalie
1997-01-17 5:00 ` CDC-6600 Brad Spencer
1997-01-17 5:00 ` CDC-6600 Gregory Travis
1997-01-17 5:00 ` CDC-6600 Gregory Travis
1997-01-17 5:00 ` Gregory Travis [this message]
1997-01-17 5:00 ` CDC-6600 Michael W. Walker
1997-01-17 5:00 ` CDC-6600 Gregory Travis
1997-01-19 5:00 ` CDC-6600 Paul Repacholi (prep)
1997-01-18 5:00 ` CDC-6600 Gregory Travis
1997-01-21 5:00 ` CDC-6600 Jeff Lanam
1997-01-22 5:00 ` CDC-6600 Jitze Couperus
1997-01-28 5:00 ` CDC-6600 Brad Spencer
1997-01-20 5:00 ` CDC-6600 ed thelen
1997-01-21 5:00 ` CDC-6600 Edward A. Weiss III
1997-01-17 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Richard M. Alderson III
1997-01-20 5:00 ` CDC-6600 (was: A Microsoft Future?) Geoff. Lane
1997-01-20 5:00 ` Ron Natalie
1997-01-21 5:00 ` Edward Rice
1997-01-22 5:00 ` CDC-6600 Michael Moroney
1997-01-28 5:00 ` CDC-6600 Brad Spencer
1997-01-22 5:00 ` CDC-6600 Michael Moroney
1997-01-23 5:00 ` CDC-6600 Jerry Leichter
1997-01-24 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Stephen Crane
1997-01-24 5:00 ` Marco S Hyman
1997-01-25 5:00 ` Nathan Sullivan
1997-01-27 5:00 ` CDC-6600 Arne Vajhoej
1997-01-27 5:00 ` CDC-6600 Geoff. Lane
1997-02-04 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Brian Wheeler
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