EE 352
Homework Assignment 1
Due Jan. 29, 2000
Note: You may do the following using linux if you prefer.
- Compile and run the program hello.c in Getting Started with the DJGPP Compiler using
gcc.
- Compile and run a program to write the data register and read the status register of the parallel port
on your PC. Use a jumper to connect pins 2-10, 3-11, 4-12, 5-13 and 6-15.
Verify that the status changes as you write different numbers to the data
register.
- What do you read from the status register when you write a
0x00 to the data register?
- What do you read from the status register when you write a
0xff to the data register?
Bill Rison,
<rison@ee.nmt.edu >