ArticleslgStudy

computer science

Resident monitor

Resident monitor is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Resident monitor rather than just read about it. In short: In computing, a resident monitor is a type of system software program that was used in many early computers from the 1950s to 1970s. It can be considered a precursor to the operating system.

Key takeaways

  • Resident monitor belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Resident monitor to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Resident monitor from memory before moving on to harder problems.

Reference excerpt

In computing, a resident monitor is a type of system software program that was used in many early computers from the 1950s to 1970s. It can be considered a precursor to the operating system. The name describes a program which is always present in the computer's memory, thus being resident. Because memory was very limited in early systems, the resident monitor was often little more than a stub that would execute at the end of a job and load a non-resident program to perform required job cleanup and setup tasks. On a general-use computer using punched card input, the resident monitor governed the machine before and after each job control card was executed, loaded and interpreted each control card, and acted as a job sequencer for batch processing operations. The resident monitor could clear memory from the last used program (with the exception of itself), load programs, search for program data and maintain standard input-output routines in memory. Similar system software layers were typically in use in the early days of the later minicomputers and microcomputers before they gained the power to support full operating systems.

Current use Resident monitor functionality is present in many embedded systems, bootloaders, and various embedded command lines. The original functions present in all resident monitors are augmented with present-day functions dealing with boot time hardware, disks, Ethernet, wireless controllers, etc. Typically, these functions are accessed using a serial terminal or a physical keyboard and display, if attached. Such a resident monitor is frequently called a debugger, boot loader, command-line interface (CLI), etc. The original meaning of serial-accessed or terminal-accessed resident monitor is not frequently used, although the functionality remained the same, and was augmented. Typical functions of a resident monitor include examining and editing ram and/or ROM (including flash EEPROM) and sometimes special function registers, the ability to jump into code at a specified address, the ability to call code at a given address, the ability to fill an address range with a constant such as 0x00, and several others. More advanced functions include local disassembly to processor assembly language instructions, and even assembly and writing into flash memory from code typed by the operator. Also, code can be downloaded and uploaded from various sources, and some advanced monitors support a range of network protocols to do so as well as formatting and reading FAT and other filesystems, typically from flash memory on USB or CFcard buses. For embedded processors, many in-circuit debuggers with software-only mode use resident monitor concepts and functions that are frequently accessed by a GUI IDE. They are not different from the traditional serial line accessed resident monitor command lines, but users are not aware of this. At the latest, developers and advanced users will discover these low-level embedded resident monitor functions when writing low-level API code on a host to communicate with an embedded target for debugging and code test case running. Several current microcontrollers have resident serial monitors or extended boot loaders available as options to be used by developers. Many are open source. Some examples are PAULMON2, AVR DebugMonitor and the Bamo128 Arduino boot loader and monitor. In general, most current resident monitors for embedded computing can be compiled according to various memory constraints, from small and minimalistic, to large, filling up to 25% of the code space available on an AVR ATmega328 processor with 32 kilobytes of flash memory, for example. In many cases resident monitors can be a step up from printf debugging and are very helpful when developing on a budget that does not allow a proper hardware in-circuit debugger (ICD) to be used.

Examples for systems with resident monitors GM-NAA I/O

See also Input/Output Control System Terminate-and-stay-resident program

References

Worked examples

Example 1 — a first encounter with Resident monitor

Start with the simplest possible case. Write down what Resident monitor claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Resident monitor before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Resident monitor ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Resident monitor

In research
Resident monitor appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Resident monitor in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Resident monitor is common in secondary-school and first-year university syllabi. It links to neighbouring topics History of software, System software, so understanding it makes those chapters shorter.
In everyday life
Look for Resident monitor outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Resident monitor in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Resident monitor means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Resident monitor out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Resident monitor in simple terms?

In computing, a resident monitor is a type of system software program that was used in many early computers from the 1950s to 1970s. It can be considered a precursor to the operating system.

Why does Resident monitor matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Resident monitor?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Resident monitor.

Tags

  • History of software
  • System software

Keep exploring