I worked my butt off last week. Stayed after school EVERY day to work on this project for Systems Programming. It was uber ultra ultra uber hard. Hardest and most time consuming class I've have yet.
I turned in my work just 5 minutes before it was due. I got this email the next day:
Good job!
README file and overall documentation 20/20
makes and executes 20/20
polled I/O 10/10
memory sizing 15/15
interrupt I/O 20/20
line buffered I/O 15/15
---
grade: 100
###
Don't forget that this project counts as two projects.
You may update the project and resubmit it by 5:00 p.m. Friday, 12
March. I will grade the new version and average the two grades. In
order to get this credit, you must carefully document the changes you
make, both in your README file and in the source code.
###
*** In the receiver interrupt portion:
/*reciever interrupted*/
if((*(port+ISR) & FFULL) != 0)
{
===> I would get the character here instead of waiting. Some
characters will be lost, but I think it makes more sense
to get them from the duart.
if( !deque_full(&bufferQueue)) /*check for room in bufferQueue*/
{
inCharacter = *(port+TB); /*get the char from the transmitter
buffer*/
deque_inserttail(&bufferQueue, inCharacter); /*insert character in to
bufferQueue*/
I turned in my work just 5 minutes before it was due. I got this email the next day:
Good job!
README file and overall documentation 20/20
makes and executes 20/20
polled I/O 10/10
memory sizing 15/15
interrupt I/O 20/20
line buffered I/O 15/15
---
grade: 100
###
Don't forget that this project counts as two projects.
You may update the project and resubmit it by 5:00 p.m. Friday, 12
March. I will grade the new version and average the two grades. In
order to get this credit, you must carefully document the changes you
make, both in your README file and in the source code.
###
*** In the receiver interrupt portion:
/*reciever interrupted*/
if((*(port+ISR) & FFULL) != 0)
{
===> I would get the character here instead of waiting. Some
characters will be lost, but I think it makes more sense
to get them from the duart.
if( !deque_full(&bufferQueue)) /*check for room in bufferQueue*/
{
inCharacter = *(port+TB); /*get the char from the transmitter
buffer*/
deque_inserttail(&bufferQueue, inCharacter); /*insert character in to
bufferQueue*/