intel 8271/8271-6 INITIALIZATION Reset Command Ay Ao Dy Og Ds De D3 D2 Dy Do PAR: 1 6 0 oO 0 i) 0 Oo o 1 PAR: 1 o Qo 0 0 0 0 ti) 0 0 Function: The Reset command emulates the action of the reset pin. It is issued by outputting a one followed by a zero to the Reset register. 1. The drive control signals are forced low. 2. An in-progress command is aborted. 3. The FOC status register flags are cleared. 4. The FDC enters an idie state until the next command is issued. Reset must be active for 10 or more clock cycles. SPECIFY COMMAND Many of the interface characteristics of the FDC are specified by the systems software. Prior to initiating any drive operation command, the software must execute the three specify commands. There are two types of specify commands selectable by the first parameter issued. First Parameter Specify Type 00H Initialization 10H Load bad Tracks Surface ‘0’ 18H Load bad Tracks Surface ‘1’ The Specify command is used prior to performing any diskette operation (including formatting of a diskette) to define the drive's inherent operating characteristics and also is used following a formatting operation or installation of another diskette to define the locations of bad tracks. Since the Specify command only loads internal registers within the 8271 and does not involve an actual diskette operation, command processing is limited to only Command Phase. Note that once the operating characteristics and bad tracks have been specified for a given drive and diskette, redefining these values need only be done if a diskette with unique bad tracks is to be used or if the system is powered down. Initialization: A, Ay D, OD, Oo, D, 0; o, 0, Dy CMD: 0 Oo 0 is) 1 1 fs) 1 0 + PAR: i} t o 19) 0 0 1 1 0 : 1 PAR: 0 1 STEP RATE* PAR: 0 1 HEAD SETTLING TIME*® PAR: Qo 1 INDEX CNT BEFORE HEAD LOAD TIME* HEAD UNLOAD* *Note: Mini-floppy parameters are doubied. Parameter 0 — ODH = Select Specify Initialization. Parameter 1 — D7-Do = Step Rate (0-255ms in tms steps). Parameter 2 ~- D7-Do = Head Settling Time (0-255ms in 1 ms steps). {(0—510ms in 2ms steps} ()= standard, {}= mini Parameter 3 — D7-Da = Index Count — Specifies the number of Revolutions (0-14) which are to occur before the FDC automatically unloads the R/W head. If 15 is specified, the head remains loaded. D3-Do = Head Load Time (0-60ms in steps of 4ms). {0 — 120ms in 8ms steps} () = standard, {}= mini Loed Bad Tracks Ay Ag 0, Og OD cmo:5 0 90 0 0 1 1 0 1 ty 1 PAR: 0 1, 0 0 0 1 10 90 o 0 PAR: Qo 1 BAD TRACK NO. 1 PAR: 0 1 BAD TRACK NO. 2 PAR] O 1 CURRENT TRACK Parameter 0: 10H = Load Su: face zero bad tracks 18H = Load Surface one bad track Parameter. 1: Bad track address number 1 (Physical Address). it is recommended to program both bad tracks and cur- rent track to FF, during initialization. SEEK COMMAND The seek command moves the head to the specified track without loading the head or verifying the track. The seek operation uses the specified bad tracks to compute the physical track address. This feature insures that the seek operation positions the head over the correct track. When a seek to track zero is specified, the FDC steps the head until the track 00 signal is detected. If the track 00 signal is not detected within (FF)H steps, a track 0 not found error status is returned. A seek to track zero is used to position the read/write head when the current head position is unknown (such as after a power up). A, Ao O07 Og Ds De Dz Dz Oy Do SEL | SEL omo:| o | o | StS) 1 | ols fo | o | PAR. | 0 1 | TRACK ADDRESS 0-255 Seek operations are not verified. A subsequent read or write operation must be performed to determine if the correct track is located. READ DRIVE STATUS COMMAND This command is used to interrogate the drive status. Upon completion the result register will hold the final drive status. Ay Ao OF Dg Ds Da D3; 02 Dy Oo EL ewolo]o [St] sys tol i fele| RESULT: EACH BIT INDICATES CURRENT STATE OF INPUT PINS. Ay Ao Oy De Os Da D3 Op 0, Do ROY | WR WA | ROY [TRACKICNT LoD | fattr|moenopor oO Ln | iF A DRIVE NOT READY RESULT IS RETURNED, THE READ STATUS MUST BE ISSUED TO CLEAR THE CONDITION. *Note the two ready bits are zero latching. Therefore, to clear the drive not ready condition, assuming the drive is ready, and to detect it via soft- ware, one must issue this command twice. AFN-002238