UMBC CMSC 211

CSEE | 211 | Current | lectures | news | help


Project 3

Requirements Specfication

For additional information, see Lecture 25, Video Basics

Program the video memory directly, so that for each character cell in a set of 256 cells on the screen is a different color. For example, the first cell on the screen (row 0, column 0) has an attribute byte set to 0. The second cell would have the attribute byte set to a value of 1, and so forth. After the first 256 cells, start over with the value of 0.

Do not clear the screen before before starting the program. This will change the appearance of the characaters that were previously displayed.

Program Header Comment Block

Use the following comment block at the beginning of your source code:
/*****************************************************/
/* Program Header Block                              */
/* Filename:       proj2.c                           */
/* Name:           Ima Student                       */
/* SSAN:           123-45-6789 (could be XXX-XX-6789)*/
/* Date:           6 April 1998                      */
/* Course/section: CMSC-211                          */
/* Description:                                      */
/*     Analysis:                                     */
/*         Input:                                    */
/*         Output:                                   */
/*         Constraints:                              */
/*         Formulas:                                 */
/*         Assumptions:                              */
/*     Design:                                       */
/*         (Your psuedocode goes here.)              */
/*                                                   */
/* Notes:          (As needed.)                      */
/*****************************************************/


CSEE | 211 | Current | lectures | news | help