苹果电脑裸机和不裸机的区别
The Bare Machine and the Resident Monitor are those components which are not directly related to the Operating system, but they are important to be studied when talking about memory management. Now let us first understand each of them and understand their working.
裸机和驻留监视器是与操作系统没有直接关系的那些组件,但是在谈论内存管理时,必须对其进行研究。 现在让我们首先了解他们每个人并了解他们的工作。
裸机 (Bare Machine)
Bare Machine is a logic hardware in the computer system which can execute the programs in the processor without using the Operating System. Till now we have studied that we cannot execute any process inside the processor without the Operating System. But, with the Bare Machine, it is possible.
裸机是计算机系统中的逻辑硬件,可以在不使用操作系统的情况下执行处理器中的程序。 到目前为止,我们已经研究了没有操作系统就无法在处理器内部执行任何进程。 但是,使用裸机,这是可能的。
In the early days, before the Operating systems were developed, the instructions were executed directly on the hardware without any interfering software. But the only drawback was that the Bare Machine accepts the program and instructions in Machine Language. Due to this, only the trained people who were qualified in the computer field and were able to understand and instruct the computer in Machine language were able to operate on a computer. Due to this reason, the Bare Machine was termed as inefficient and cumbersome after the development of different Operating Systems.
早期,在开发操作系统之前,指令是直接在硬件上执行的,没有任何干扰软件。 但是唯一的缺点是,裸机接受机器语言中的程序和指令。 因此,只有经过培训的,具有计算机领域资质并且能够用机器语言理解和指导计算机的人员才能在计算机上进行操作。 由于这个原因,在开发不同的操作系统之后,裸机被认为是效率低下且笨重的。
居民监控器 (Resident Monitor)
The Resident Monitor is a code which runs on Bare Machine. Its acts like an operating system which controls everything inside a processor and performs all the functions. The Resident Monitor is thus also known as the Job Sequencer because like the Operating system, it also sequences the jobs and sends it to the processor for execution. After the jobs are scheduled, the Resident Monitor loads the Programs one by one into the main memory according to their sequence. The advantage of using a Resident Monitor over an Operating System is that there is no gap or lag between the program executions. So, the processing is faster in the Resident Monitors.
居民监视器是在Bare Machine上运行的代码。 它的作用就像一个操作系统,它控制处理器中的所有内容并执行所有功能。 驻留监视器因此也称为作业定序器,因为与操作系统一样,它也对作业进行排序并将其发送到处理器以执行。 在计划了作业之后,“驻留监视器”将根据程序的顺序将程序一个接一个地加载到主存储器中。 在操作系统上使用驻留监视器的优点是程序执行之间没有间隙或滞后。 因此,在“ 驻留监视器 ”中处理速度更快。
The Resident Monitors are divided into 3 parts:
居民监控器分为三个部分:
Control Language Interpreter
控制语言翻译
The job of the Control Language Interpreter is to read and carry out the instructions line by line to the next level.
控制语言解释器的工作是逐行阅读并执行指令,直到下一级。
Loader
装载机
The Loader is the main part of the Resident Monitor. As the name suggests, it Loads all the required system and application programs into the main memory.
加载程序是“驻留监视器”的主要部分。 顾名思义,它将所有必需的系统和应用程序加载到主存储器中。
Device Driver
设备驱动
The Device Driver Takes care of all the Input-Output devices connected with the system. So, all the communication that takes place between the user and the system is handled by the Device Driver. It simply acts as an intermediate between the requests and the response, requests that are made by the user to the system, and they respond that the system produces to fulfill these requests.
设备驱动程序负责与系统连接的所有输入输出设备。 因此,用户与系统之间发生的所有通信均由设备驱动程序处理。 它只是充当请求和响应之间的中介,这些请求是用户对系统提出的请求,它们响应系统为满足这些请求而产生的响应。
翻译自: https://www.includehelp.com/operating-systems/bare-machine-and-resident-monitor.aspx
苹果电脑裸机和不裸机的区别