Computer Engineering II
Machine Problem 3 (Due Mon Oct 22 5:00:00 pm)
Schedule
Lab schedule
Homework
NASM docs
Machine Problems
Resources
Final Project
Photos
Gradebook
Feedback
Syllabus
Archives
Lectures
Download NASM
Home
Restricted access
When you submit this, the TA should:
check your solutions,
ask a random question that tests your understanding of the MP,
assign points for each item on the list,
assign bonus and/or penalty points,
and handle the electronic handin.
Functionality
Min
Max
Score
MP3Main
0
10
Sets up the initial position of the cursor
Sets up the main game loop
Handles color changes
DrawBorder
0
6
The text boxes should be correctly drawn at the beginning.
InstallPort
0
10
RemovePort
0
3
PortISR
0
5
Receives input from the serial port.
InstallKeyboard, RemoveKeyboard
0
3
Correctly installs/removes the keyboard ISR
Keyboard works after exit
KeyboardISR
0
10
Handles key presses properly
Handles shift presses and releases correctly
GetNextKey
0
10
Correctly chooses in which text window to display.
Get inputs from both the keyboard and the serial port.
TransmitKey
0
2
Characters are transmitted over the serial port
DrawNewLine
0
4
Clears the next line when enter is pressed
Clears the next line when text wraps over from the current line
DrawBackspace
0
4
Correctly backspaces and sets the cursor in the right position
TypeKey
0
8
Displays typed characters and cursor in the appropriate text box
Score Modifiers
Min
Max
Score
Modularity
Program should follow all specifications of assignment
Used hardcoded address rather than pointers
-3
0
Technique and Style
Program should be comprised of compact and efficient code
Awkward use of conditional jumps or loops
-2
0
Extraneous use of registers and/or variables
-3
0
Excessive coding
-3
0
Comments
Program should have clear and precise comments
Lack of function headers (inputs, outputs, purpose)
-2
0
Excessive "sportscaster" commenting
-2
0
Sparse and/or unclear comments
-3
0
Penalty/Bonus
Before Mon Oct 22 5:00:00 pm: +2pt/weekday
0
6
After Mon Oct 22 5:00:00 pm: -7pts/weekday
-75
0
Source .asm:
Return to ECE291 Home Page
Fall 2001