Service manual

92 Self-Tests
SCSI registers and software flags are saved in this format:
Offset Size Description
00 .byte cur_data (5380 register)
04 .byte ini_cmd (5380 register)
08 .byte mode (5380 register)
0c .byte tar_cmd (5380 register)
10 .byte cur_stat (5380 register)
14 .byte status (5380 register)
18 .byte in_data (5380 register)
1c .word scd_cnt (standard cell register)
20 .long software’s controller status
24 .byte software’s phase_seen flags
bit 7=message_in,
6=message_out,
5=reserved,
4=reserved,
3=status,
2=command,
1=data_in,
0=data_out
28 .long software’s interrupt flags
bit9=unknown interrupt,
8=bus reset,
7=bus disconnect,
6=phase mismatch,
5=parity error,
4=DMA EOP,
3=reselect,
2=select,
1=multiple interrupts detected,
0=at least one interrupt detected
200D.0x00 - SCSI registers following inquiry command to ID x
200D.0x40 - request_sense data_in from ID x (if any)
200D.0x80 - inquiry DMA data_in from ID x (if any)
200D.0xC0 - inquiry DMA status from ID x (if any)
200D.0xE0 - inquiry DMA message_in from ID x (if any)