intel 8271/8271-6 Table 1. Pin Description (Continued) Pin Symbol No. | Type Name and Function PLO/SS 25 I Phase-Locked Oscillator/ Single Shot: This pin is used to specify the type of data separator used. Write Data 29 6) Write Data: Composite write data. Unseparated | 27 ! Unseparated Data: This Data input is the unseparated data and clocks. Data Window! 26 | Data Window: This is a data window established by a single-shot or phase-locked oscillator data separator. INSYNC 23 (0) Input Synchronization: This line is high when 8271 has at- tained input-data synchroni- zation, by detecting 2 bytes of zeros followed by an ex- pected Address Mark. It will stay high until the end of the 1D or data field. FUNCTIONAL DESCRIPTION General The 8271 Floppy Disk Controlier (FDC) interfaces either two single or one dual floppy drive to an eight bit microprocessor and is fully compatible with Intel's new high performance MCS-85 microcomputer system. With minimum external circuitry, this innovative controfler supports most standard, commonly-availabie flexible disk drives including the mini-floppy. The 8271 FDC supports a comprehensive soft sectored format which is IBM 3740 compatible and includes provision for the designating and handling of bad tracks. !t is a high level controller that relieves the CPU (and user) of many of the control tasks associated with implementing a floppy disk intertace. The FDC supports a variety of high tevel instructions which allow the user to store and retrieve data on a floppy disk without dealing with the iow level details of disk operation. in addition to the standard read/write commands, a scan command is supported. The scan command allows the user program to specify a data pattern and instructs the FOC to search for that pattern on a track. Any application that is required to search the disk for information (such as point of sale price lookup, disk directory search, etc.), may use the scan command to reduce the CPU overhead. Once the scan operation is initiated, no CPU intervention is required. CPU Interface Description This interface minimizes CPU involvement by supporting a set of high level commands and both DMA and non-OMA type data transfers and by providing hierarchical status information regarding the result of command execution. The CPU utilizes the contro! interface (see the Btock diagram) to specify the FDC commands and to determine the result of an executed command. This interface is supported by five Registers which are addressed by the CPU via the Ai, Ao, RD and WA signals. If an 8080 based system is used, the RD and WR signals can be driven by the 8228's 1/OR and I/OW signals. The registers are defined as follows: Command Register The CPU toads an appropriate command into the Command Register which has the following format: Ay Ag Dr Dg Ds O4 D3 02 Dy Do Pret TT Tit ti TT COMMAND OPCODE SURFACE/DRIVE {SELECT 0, 1) Parameter Register Accepts parameters of commands that require further description; up to five parameters may be required, example: Ay Ao O7 De Os D4 93 Dz Dy Do Crt TT TE i i / — EXPECTED PARAMETER Result Register The Result Register is used to supply the outcome of FDC command execution (such as a good/bad completion) to the CPU. The standard Resuit byte format is: Ay Ag 07 Dg Ds De 03 Oz 01 Do Ci Teofol TTT i ie) . NOT USED = 0 COMPLETION CODE COMPLETION TYPE DELETED DATA FOUND NOT USED = 00 AFN-002238