©
Bell Laboratories.
aupject: Study of UNIX eae: September 14, 1972
tom: T. Re Bashkow
Messrs. W. S. Bartlett Messrs. J. J. Ludwig
D. P. Clayton J. F. Maranzano
D. H. Copp Mrs. G. Pettit
Mmes. G. J. Hansen Messrs. J. E. Ritacco
J. Hintz B. A. Tague
Mr. L. J. Kelly D. W. Vogel
Miss R. L. Klein Mrs. L. S. Wright
On Tuesday, September 19, at 9:30 a.m. in
Room 2A-418 at Murray Hill, I will give a talk on my study
of the UNIX operating system. The emphasis will be on the
structure, functional components, and internal operation
of the system.
MH-8231,-TRB-mbh T. R. Bashkow
Copy to TK Eady
Mr. G. L. BaldwinDate: 6/20/72
‘UNIX Implementation Document
The contents of this document are incomplete and subject to repid
change both in subject matter end orgenization. ‘The purpose of thi
release is to make the information it contains available to persons
who have an imediste and pressing need. The sections that are
included here contain the following information:
Section Gonten
E.0 - £.10 Commented listing of UNIX operating
system
El Conmented listing of UNIX shell
E.22 Commented listing of UNIX
initializstion program
Fr System Overview
G Data Rase Item Descriptions
HO - Ho Vert criptions of UNIX
routines.
Listings in 5.0.- £.9, itevever, the
order in the £ rather thon
Listings.
J, DeFelicemodifications to UNIX to accomcjate the T4002A graphic console
wo Page 1 ada
gks = 177 --~ / graphic input status
gkb = 177 --- / graphic input buffer
gps = 177 -—~ / graphic output status
gpb = 177 --- / graphic output buffer
wo Page 2 add somewhere
aspi; 240 / graphic input interrupt vector
uo Page 3 add at end of “set up time out routines”
mov § wakdsp, (r0) / time out subroutine for display
uo Page 4 add at end of device directory
23.
/ T4002
uz Page 4,5 add to end of iopen list
odsp / T4002A
add program odsp below
odsp: / open T4002A for reading or writing
mov $100, *6gks / get interrupt enable on input
mov $14, rt / put “np” in r1 (erase, home)
jsr r0,chout / output,the char
mov $21,51 / put “dei” in ri (turn on joystock)
jsr — r0,chout / output char
mov $37,r1 / put “us” in rt (alpha mode)
jsr r0,chout / output char
br sret
/Note: a graphic block and buffer like the tty’s are not used. May
need then when more than 1 disply is added.
U6 Page 1 add at end of readi list
rdsp / T4002A
add the routine rasp
rdsp: / read from the graphics terminal
mov. $240,*$ps / set ps to 5
Jer r0,getc; 22 / take char off clist and put it in rt
br 1£ / list is empty, go to sleep
clr *sps / clear ps
jec r0,pagsc / move char to user core
br rdsp / get next char