DIRECT MEMORY ACCESS AND DMA-CONTROLLED I/O:BASIC DMA OPERATION

DIRECT MEMORY ACCESS AND DMA-CONTROLLED I/O INTRODUCTION In previous chapters, we discussed basic and interrupt-processed I/O. Now we turn to the final form of I/O called direct memory access (DMA). The DMA I/O technique provides direct access to the memory while the microprocessor is temporarily disabled. This allows data to be transferred between memory and […]
Continue reading…

 

INTERRUPTS:INTERRUPT EXAMPLES.

INTERRUPT EXAMPLES This section of the text presents a real-time clock and an interrupt-processed keyboard as examples of interrupt applications. A real-time (RTC) clock keeps time in real time—that is, in hours and minutes. It is also used for precision time delays. The example illustrated here keeps time in Modem Control Register Modem Status Register […]
Continue reading…

 

SUMMARY OF INTERRUPTS.

SUMMARY 1. An interrupt is a hardware- or software-initiated call that interrupts the currently executing program at any point and calls a procedure. The procedure is called by the interrupt handler or an interrupt service procedure. 2. Interrupts are useful when an I/O device needs to be serviced only occasionally at low data transfer rates. […]
Continue reading…

 

INTERRUPTS:8259A PROGRAMMABLE INTERRUPT CONTROLLER.

8259A PROGRAMMABLE INTERRUPT CONTROLLER The 8259A programmable interrupt controller (PIC) adds eight vectored priority encoded interrupts to the microprocessor. This controller can be expanded, without additional hardware, to accept up to 64 interrupt requests. This expansion requires a master 8259A and eight 8259A slaves. A pair of these controllers still resides and is programmed as […]
Continue reading…

 

INTERRUPTS:BASIC INTERRUPT PROCESSING.

INTERRUPTS INTRODUCTION In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is a hardware-initiated procedure that interrupts whatever program is currently executing. This chapter provides examples and a detailed explanation of the interrupt structure of the entire Intel family of microprocessors. […]
Continue reading…