8271/8271-6 NON-DMA or SINGLE ACTUATOR? ยข START ) SET NON-DMA ANOIOR i SINGLE ACTUATOR POWER-UP ALL ORIVES { SEEK TO TRACK 0 RESET ON DRIVE 0 INTERFACE RESET WAIT FOR FDC INTERRUPT SPECIFY DRIVE CHARACTERISTICS SPECIFY BAD TRACKS ORIVE 0 T YES SPECIFY READ BAO TRACKS RESULT RIVE 1 BYTE a: SEEK TO TRACK O ON ORIVE 1 WAIT FOR INTERRUPT | 2ND DRIVE PRESENT READ RESULT BYTE Figure 19. Initialization of the 8271 by the User Read/Write Special Registers This command is used to access special registers within the 8271. Ay Ao D7 06 Ds Dg 03 2 Di Oo cmo: | o 0 set | set | COMMAND OPCODE PAR: | 0 1 | REGISTER ADDRESS Command code: 30x Read Special Register 3AH Write Special Register For both commands, the first parameter is the register address; for Write commands a second parameter specifies data to be written. Only the Read Special Register command supplies a result. Table 4. Special Registers Register Address Description in Hex Comment Scan Sector Number 06 See Scan Description Scan MSB of Count 14 See Scan Description Scan LSB of Count 13 See Scan Description Surface 0 Current Track 12 Surface 1 Current Track 1A Mode Register 17 See Mode Register Description Drive Control Output Port 23 See Drive Output Port Description Drive Control input Port 22 See Drive Input Port Description Surface 0 Bad Track 3 10 Surtace 0 Bad Track 2 nl Surface 1 Bad Track 1 18 Surface 1 Bad Track 2 19 Mode Register Write Parameter Format MD; Dg Dy Og 03 Dz 0, Do Litifeofotojo; | | > 0OMA MODE. = 1 NON DMA = 0 DOUBLE, - 1 SINGLE ACTUATOR Bits6 &7 Must be one. Bits 5-2 (Not used). Must be set to zero. *Bit 1 Double/Single Actuator: Selects single or double actuator mode. If the single actuator mode is selected, the FDC assumes that the physical track location of both disks is always the same. This mode facilitates control of a drive which has a single actuator mechanism to move two heads. *Bit 0 Data Transfer Mode: This bit selects the data transfer mode. If this bit is a zero, the FDC operates tn the DMA mode (DMA Request/ACK). If this bit is a one, the FDC operates in non-DMA mode. When the FDC is operating in DMA mode, interrupts are generated at the completion of commands. If the non-DMA mode is selected, the FDC generates an interrupt for every data byte transferred. *Bits 0 and 1 are initialized to zero. AFN-002238: