Documente Academic
Documente Profesional
Documente Cultură
David Goodwin
University of
Bedfordshire
1 Lectures
Lectures
Computer systems
Concepts of O/S
2 Computer systems
Types of O/S
CPU structure
3 Concepts of O/S
4 Types of O/S
5 CPU structure
Operating Systems
36
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures 3
Computer systems
CPU structure
Operating Systems
36
Lecturing schedule
Lecture #1 Basic
concepts of O/S
1 Operating system concepts
David Goodwin
University of
Bedfordshire
2 Early paradigms of memory management
Lectures 4
3 Modern memory management techniques
Computer systems 4 I/O device management
Concepts of O/S
5 File management
Types of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems 5
CPU structure
Operating Systems
36
O/S in computer systems
Lecture #1 Basic
concepts of O/S
David Goodwin
University of APPLICATIONS PROGRAMMES
Bedfordshire
Lectures
Computer systems 6
Concepts of O/S
SYSTEMS PROGRAMMES
(Compilers, Assemblers, Linker etc.)
Types of O/S
CPU structure
USER INTERFACE
Software
Hardware
Operating Systems
36
O/S in computer systems
Lecture #1 Basic
concepts of O/S
David Goodwin Hardware is the term used to describe all the physical
University of
Bedfordshire electronic and mechanical elements forming part of
Lectures
a computer system. Provides basic computing
Computer systems 7
resources (CPU, memory, I/O devices)
Concepts of O/S Software is the term used to describe the instructions or
Types of O/S programs that the hardware needs in order to
CPU structure
function.
Operating system controls and coordinates the use of the
hardware among the various application
programmes for various users
Applications programmes define the ways in which the system
resources are used to solve the computing problems
of the users (compilers, database systems, video
games, business programmes, etc.)
Users (people, machines, other computers)
Operating Systems
36
O/S in computer systems
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems 8
Concepts of O/S
Types of O/S
CPU structure
Operating Systems
36
O/S in computer systems
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems 9
Operating Systems
36
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
CPU structure
Operating Systems
36
Basic concepts of O/S
Lecture #1 Basic
concepts of O/S O/S definition
David Goodwin
University of
O/S is a piece of software that controls every file, every
Bedfordshire device, every section of main memory and every nanosecond
Lectures processing time
Computer systems
CPU structure
Processor Memory
manager manager
Device File
manager manager
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
Memory manager is in charge of main memory (RAM) in terms
Concepts of O/S 12
of checking validity of each request for memory
Types of O/S space
CPU structure Processor manager keeps track of status of each process
Device manager monitors devices channels and contorl units and
decides the most efficient way to allocate the
devices
File manager keeps track of every file
Operating Systems
36
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
CPU structure
Operating Systems
36
Types of O/S
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
O/S classification
Computer systems
Concepts of O/S
Types of O/S 14
Single user
CPU structure
Multiple tasks
Batch systems
Real-time systems
Hybrid systems
Embedded systems
Operating Systems
36
Single user O/S
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
Concepts of O/S
Provides capability to perform tasks on the computer system
Types of O/S 15
such as writing programmes and documents, priniting and
CPU structure accessing files
Provides access to the computer system by a single user at a
time, e.g. typical home computers
Most Windows are single user operating systems
Operating Systems
36
Multi-task O/S
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Operating Systems
36
Multi-task O/S
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire Manage and run all user requests, ensuring they do not
Lectures interfere with each other, e.g. printer queue
Computer systems Allow more than one user to access the computer system at a
Concepts of O/S
time, normally via a network, e.g. Unix
Types of O/S 17
CPU structure
Much more complex single-user operating system
Operating Systems
36
O/S utilities
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
To manage the computer system, users, printers, files and
Computer systems
write programmes, the operating system is generally provided
Concepts of O/S
with a number of utility programmes. The utilities are used
Types of O/S 18
for:
CPU structure
Managing files and documents
Development of programmes and software
Communicating between people and with other computer
systems
Managing user requirements for programmes, storage space
and priority
Operating Systems
36
O/S utilities
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
CPU structure
This interface is commonly called a SHELL or Command Line
Interpreter (CLI)
In some systems this might be a simple text mode line-by-line
entry using keywords (such as DOS or UNIX)
In other systems it might be highly graphical using windows
and pointing device such as a mouse (such as Windows)
Operating Systems
36
Migration of O/S features
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
Concepts of O/S
Types of O/S 20
CPU structure
Operating Systems
36
Some O/S products
Lecture #1 Basic
concepts of O/S
David Goodwin
Lectures Unix/Linux
Computer systems Windows 3.x/9x/NT/2000/XP/Vista/7
Concepts of O/S Mac OS
Types of O/S 21 Windows Mobile
CPU structure Symbian
DOS
VMS
Operating Systems
36
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
CPU structure 22
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
Concepts of O/S
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
Computational section
David Goodwin
University of Structure
Bedfordshire
Lectures
Computer systems
Concepts of O/S
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
ALU (arithmetic logic unit)
Lectures
Performing arithmetic, shifting, logical AND,
Computer systems
complementation, bypass operations
Concepts of O/S
Datapath:
Types of O/S Bus A and Bus B
CPU structure 25
Registers ALU
Bus C
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Lectures
It is where computation carries out
Computer systems
It performs shift and addition (consists of shifters and adders)
Concepts of O/S
It performs arithmetic, logical and shifting operations
Types of O/S
CPU structure 26
left input right input
F0 S
F1
F2 Z
output
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
F0 F1 F2 Output
Computer systems
Concepts of O/S
0 0 0 left input
Types of O/S
0 0 1 bitwise complement of left input
CPU structure 27
0 1 0 AND
0 1 1 multiplication
1 0 0 addition
1 0 1 subtraction
1 1 0 left shift left input one position
1 1 1 right shift left input one position
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
Concepts of O/S
Types of O/S
CPU structure 30
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S Accumulation register (ac)
David Goodwin register-to-register operations save intermedium results to
University of
Bedfordshire this general purpose register
read and write register
Lectures
Computer systems
Concepts of O/S
Types of O/S
CPU structure 31
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Lectures
Storing the memory address of the next instruction of a
Computer systems
program so that it functions like a pointer (or a bookmark)
Concepts of O/S
Read and write register
Types of O/S
CPU structure 32
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Lectures
Computer systems
Concepts of O/S
Types of O/S
Stack pointer register (sp)
CPU structure 33 local variables and parameters are stored in the stack
sp gives the current position of stack
read and write register
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
Control Section
University of
Bedfordshire
Lectures Structure
Computer systems
Concepts of O/S
Types of O/S
CPU structure 35
Operating Systems
36
CPU structure
Lecture #1 Basic
concepts of O/S
David Goodwin
University of
Bedfordshire
Controls
Lectures
A B and C generate EA, EB, and EC signals, respectively
Computer systems
ALU generates F0, F1, and F2 control signals for ALU
Concepts of O/S
MAR generates EC signal for mar
Types of O/S
RD generates read signal to set memory to such a state the
CPU structure 36
CPU can read data from the memory
WR generates write signal to set memory to such a state that
CPU can write data to the memory
COND generates two control signals for a so-called branch
multiplexer which has 4 inputs: 0, 1, Z, and S
Mircostore is a ROM that consists of a number of
micro-instructions, each of which has an address field called
ADDR
Operating Systems
36