The Bare Machine and Resident Monitor are not directly related to the operating system but while we study about memory management these components are really important to study, so let’s study them one by one and then their working.
Bare
Machine:
So
basically, Bare machine is logical hardware which is used to execute the
program in the processor without using the operating system. as of now, we have
studied that we can’t execute any process without the Operating system. But yes,
with the help of the Bare machine we can do that.
Initially,
when the operating systems are not developed, the execution of an instruction
is done by directly on hardware without using any interfering hardware, at that
time the only drawback was that the Bare machines accepting the instruction in
only machine language, due to this those person who has sufficient knowledge
about Computer field are able to operate a computer. so, after the development
of the operating system Bare machine is referred to as inefficient.
Resident Monitor:
In this section, if we talk about how the code runs on Bare
machines, then this component is used, so basically, the Resident Monitor is a
code that runs on Bare Machines.
The resident monitor works like an operating system that
controls the instructions and performs all necessary functions. It also works
like job sequencer because it also sequences the job and sends them to the
processor.
After scheduling the job Resident monitors loads the
programs one by one into the main memory according to their sequences. One most
important factor about the resident monitor is that when the program execution
occurred there is no gap between the program execution and the processing is
going to be faster.
The
Resident monitors are divided into 4 parts as:
1.
Control Language Interpreter
2.
Loader
3.
Device Driver
4.
Interrupt Processing
These are explained as following below.
1.
Control Language Interpreter:
The
first part of the Resident monitor is control language interpreter which is
used to read and carry out the instruction from one level to the next level.
2.
Loader:
The second part of the Resident monitor which is the main part of the Resident
Monitor is Loader which Loads all the necessary system and application programs
into the main memory.
3.
Device Driver:
The
third part of the Resident monitor is Device Driver which is used to managing
the connecting input-output devices to the system. So basically, it is the
interface between the user and the system. it works as an interface between the
request and response. request which user made; Device driver responds that the
system produces to fulfill these requests.
4.
Interrupt Processing:
The
fourth part as the name suggests, it processes the all occurred interrupt to
the system.
0 Comments