4.7.5Mouse

The mouse diagnostic performs a keyboard-to-mouse loopback.

CODE EXAMPLE 4-13identifies the mouse output message.

CODE EXAMPLE 4-13Mouse Output Message

Enter (0-12 tests, 13 -Quit, 14 -Menu) ===> 4

TEST=’mouse_test’

Enter (0-12 tests, 13 -Quit, 14 -Menu) ===>

4.7.6Floppy

The floppy diagnostic verifies the diskette drive controller initialization. It also validates the status of a selected disk drive and reads the diskette drive header.

CODE EXAMPLE 4-14identifies the floppy output message.

CODE EXAMPLE 4-14Floppy Output Message

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.7.7Parallel Port

The parallel port diagnostic performs the following:

1.sio_passive_lb – 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.

2.dma_read – 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.

4-18Sun Ultra 60 Service Manual • August 2001

Page 76
Image 76
Sun Microsystems 60 service manual Floppy, Parallel Port, Code Example 4-13Mouse Output Message