Computer Labs - 1st Semester
Lab 3: The PC's Keyboard


1. Objective

The objectives of this lab are threefold:

  1. that you learn the operation of the PC's keyboard and how to use its low level interface.
  2. that you learn how to mix C-code and ASM code in your program.
  3. that you get a better understanding of the interrupt mechanism and that you learn how to use it in the context of the PC's keyboard

This lab is planned for 2 lab classes. You are expected to attend the lectures and in addition to spend about 5 hours to prepare each of the lab classes.

This handout is structured as follows:

Acknowledgments

This lab is based on a lab by João Cardoso and Miguel P. Monteiro for DJGPP running on Windows98.