(Computer System Operation)
Some basic knowledge of the structure of computer system is required to understand how
operating systems work so by studying about this will provide you a base for understanding
operating system so instead of diving into how operating system works we should have a
base about this so that it will help us to understand in a clearer way about operating system.
After studying this you will not feel completely blank but you will have a proper idea of why
we are doing this or why certain thing is working in that way. Each of these hardware 's or
devices are connected to a controller and this controller is responsible for the way these
devices work so here we have device controllers and each of these controllers or adapters
they are in control of a specific kind of device as it is shown here. The CPU and the device
controllers can execute concurrently competing for memory cycles. Your main memory is like
your RAM random access memory that you have and whenever something has to be
executed it has to have to be loaded into your main memory. In order to make all this work
seamlessly without having any lag or having any problems a memory controller is provided
whose function is to synchronize access to memory so that they can be loaded correctly.
we can understand the basic structure of how things are arranged so first we have the CPU
and then the CPU along with the disk controllers which are responsible for the working of
each and every device like I have shown here they are all connected via a common bus.
That is connected to the memory controller which takes care of how the memory has to be
shared between each and each device so that it 's working is proper and smooth all right
now I want to introduce some important terms to you. Hardware can trigger an interrupt at
any time by sending a signal to the CPU usually by the way of the system bus. Software may
trigger interrupt by executing a special operation called as system core now as I told you
when Hardware triggers a interrupt we usually call it as interrupts if the software is what that
is causing the interrupt then that is known as a system call or monitor core. When the CPU is
interrupted it stops what it is doing and immediately transfers execution to a fixed location.
The CPU is already doing some work and then immediately it gets an interrupt from either a
hardware or a software. The interrupt service routine is something where what the interrupts
actually want to do is written in the service routine.
This was just a basic introduction to computer system operations so I will not go into great
detail because this is just the basics that you need to know before you really understand the
details of operating system.
(Storage Structure)
As we continued studying about basics of operating system we will be studying about
storage structure. On the top we have our registers followed by cache then we have the
main memory. Then we have electronic disk, magnetic disk optical disk and magnetic tapes
so these are secondary storage devices. in your computer gets loaded to your main memory
and that is where it is executed so things are stored in your secondary memory but things