ECE291 Computer Engineering II Lockwood, Fall 1997

Machine Problem 4: Grading Report

Please print this page and provide it to the TA when you demonstrate your machine problem.
The TA should verify each functionality item, initial the 'Demo' box, assign functionality and bonus points,
then copy your files to the HANDIN floppy. This page should be stapled to the front of your printed .ASM program.

Name:
Date Submitted:
Demo To: Graded By:
Handin to floppy
Score recorded
Gold Star
Programming Excellence

General Notes

CategoryPointsMinMax
DrawPoly
  • Reads X1,Y1,Y3,X2,Y2,Y4,Color as C-style arguments
  • Written using logical, modular code w/multiple subroutines.
  • Implements Bresenham's algorithm
  • Works Completely for 'MP4 1'
  • Properly Draws all 8 trianges in 4 polygons of 'MP4 2'
    ( -2.5 points / bad triangle in 'MP4 2' (8 total) )
 
020
LoadPCX
  • Writes data to segment specified by argument
    (not necessarily video memory nor a hardcoded value)
  • Reads data from filename specified by argument (not hardcoded)
  • Loads VGA Palette registers with image colors
 
010
MoveScreen
  • Moves 320*200=64,000 pixels between segments
  • Uses most efficient opcodes for routine.
    (-2 for implementations that use bytes or words)
 
05
AnimateScreen
  • Transfers 320*200=64,000 pixels between segments
  • Horizontally shifts image by specified amount
    (-3 if image is vertically shifted by a line)
 
05
InstKey/KeyInterrupt/DeInstallKey
  • Replaces then restores keyboard ISR (Int 9)
  • Updates variables cs:ExitFlag, cs:Xoffset, cs:Yoffset
  • Interpretes keystrokes to allow movement to all 9 regions in 'MP4 4'.
 
010
Functionality SubTotal
 
050
Comments (* percentage of code written)
  • Clear and precise line & procedure comments
    (describes all major routines): -0
  • Sports Announcer comments (line-by-line): -1
  • Unclear comments: -1
  • Sparse comments: -3
 
-50
Technique & Style (* percentage of code written)
  • Compact and Efficient code: -0
    Really bad code in DrawPoly: -3
  • Contains repeated code (lacks loops): -3
  • Makes poor use of registers and/or variables: -2
 
-50
I/O Specs & Modularity (* percentage of code written)
  • Violates specifications for given subroutines: -5 (all points)
  • Preserves valus of registers: -5 (all points)
 
-50
Penalty/Bonus
Before 5pm, Fri 11/14/97: +1 pt/weekday
After 5pm, Fri 11/14/97: -5 pts/weekday
 
-505
Total
 
055