• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Input Output Functions of an Operating System

Extracts from this document...


Ricki Lambert Operating Systems Assignment 2 Input Output Subsystem Introduction An operating system is the device used to communicate with all input and output devices. For example this may be a keyboard or mouse, things of this nature. This process is controlled by a virtual layer which is known as a application input output interface. It is this device that ensures every input output device under goes a buffering and scheduling process. From here the operating system can communicate with the processor in order for the hardware device to be controlled / managed. There are four main functions that assist with this processor communications and they are as follows; 1. Input output instructions vs. memory mapped. - This is where information is sent in order for the process to be logged in to its own memory location within a register. 2. Input output hardware device - At this stage the operating system will check whether it has to read the device or write to it. 3. Polled vs. interrupt driven - Modern operating systems use interrupt driven methods in preference to its counterpart. ...read more.


be issued in to the status register * The device can see the command is ready and from here is sets the device to busy * It is now enabled to perform the writing operation It is when the above is complete that the cycle can begin again for a new set of instructions. More complex processors use the interrupt driven method and are capable of the following tasks; * At the end of each instruction it checks for further interrupts that maybe pending * It will save the programme counter * Saves the processor status * It can change the processors mode * It will jump to the well known address Interrupt Driven I/O - Data is entered form a keyboard and stored in the memory so the instruction is to write. This is then placed in to the instruction register but the actual data itself will be placed in the data register. The CPU will then receive this and send the data from the register to its desired destination. The instructions are stored in to the intermediate buffer. ...read more.


They are single buffering, double buffering and circular buffering. A singular buffer is used store data between the input and output device and user process. There is a double buffer which has twice the holding capacity and a circle buffer which holds many more commands. This allows less CPU waiting which ensures a better and more efficient system. This form of CPU management can then be broken down into input output issues. Caching: Caching is the form of fast memory holding copied of data (normally the data held in the data buffer). It can work with both read and write and it is key to input output performance. Scheduling: Operating systems try to invoke fairness when switching between input and output properties. This is similar to the scheduling technique. Spooling: Spooling is the form of control used by singular input/output devices. It can queue commands for example a printer, by storing them in the spooling area. Error Handling: It has input output error checking properties; it can recover from a disk read error, when the device is unavailable and such possibilities. The system often records errors in a log on the operating system. Device Reservation: It can use system calls for specific duties when needing exclusive access to a device. ...read more.

The above preview is unformatted text

This student written piece of work is one of many that can be found in our AS and A Level Computer Science section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related AS and A Level Computer Science essays

  1. Marked by a teacher

    The systems development life cycle (SDLC) is a conceptual model used in project management ...

    3 star(s)

    Rapid Application Development was a software development methodology introduced in the 1990s and presented in book form by information technology guru James Martin. A reaction to the then well-established methodologies which emphasised careful and prolonged requirements gathering before the actual software development began; Rapid Application Development encouraged the creation of

  2. Smart Card System

    Others such as the Schlumberger Multiflex cards perform more general functionality. One of the Multiflex cards, the Cyberflex runs Java binaries on the card making it easier to write high-level programs for the smart card. Most smart cards have little program storage on the card, roughly 3 - 8K.

  1. Describe the functions of each section within the shops and Head Office, paying particular ...

    * Single Server * Fast laser printer * Slower laser printer * Bar code reader * ISND line Software used includes * Word processing * Spreadsheet applications * Database management software * Stock control software Task 3 Analysing the purpose and operation of the main ICT systems used for sales

  2. Programming Techniques

    In the examples above, the values in memory locations Y and Z are added together and the result placed in X, and the value 30 is placed in M. Comments All high level languages have the facility to insert comments in the program code.

  1. The Global Positioning System

    The almanac is broadcast from all the satellites in the constellation, all on the same frequency. The signal available to civilian users is known as coarse acquisition code, or C/A code. This is a binary code, transmitted on the same frequency across the entire constellation.

  2. Free essay

    Hardware and Functions of a Micro Processor

    There are several differing types of logic gates and they are; * NOT - The NOT gate is sometimes known as an interpreter because it will change the values into the opposite in which they went in. An example of this is one going in and zero coming out (high voltage in, low voltage out)

  1. Processor Scheduling

    First Come First Served (Also known as First in First out F.I.F.O) This method makes the processor process in order of arrival. It can be a very slow method of processing due to the illogical order. The average speed of processing can be minimised when processing in the reverse order.

  2. Comparing Operating Systems

    There were more people who had had experience of using Windows and some were able to even provide expertise and support where more advanced Microsoft support was not available e.g. in the remote areas of Africa and other rural areas.

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work