CODE EXAMPLE 4-14
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===> 5
TEST='floppy_test'
SUBTEST='floppy_id0_read_test'
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===>
4.8.9
Parallel Port
The parallel port diagnostic performs the following:
TABLE 4-10
Test
sio_passive_lb
dma_read
The following code example shows the parallel port output message.
CODE EXAMPLE 4-15
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===> 6
TEST='parallel_port_test'
SUBTEST='dma_read'
Enter (0-12 tests, 13 -Quit, 14 -Menu) ===>
Floppy Diagnostic Output Message
Parallel Port Function
Function
Sets up the SuperIO configuration register to enable extended/
compatible parallel port select, then does a write 0, walk one,
write 0 x ff to the data register. It verifies the results by reading the
status register.
Enables ECP mode and ECP DMA configuration, and FIFO test
mode. Transfers 16 bytes of data from memory to the parallel port
device and then verifies the data is in FIFO device.
Parallel Port Output Message
Chapter
-23