background image

Содержание 5-1/4" Diskette Drive Adapter

Страница 1: ... Personal Computer Hardware Reference _ Library mM 5 1 4 Diskette Drive Adapter 6361505 ...

Страница 2: ...ii ...

Страница 3: ...gramming Considerations 3 Digital Output Register 3 Floppy Disk Controller 4 Command Summary 8 Programming Summary 17 Interface 19 System I O Channel Interface 19 Drive A and B Interface 20 Specifications 23 Logic Diagrams 25 Hi ...

Страница 4: ...iv ...

Страница 5: ... coded diskette drives and uses write precompensation with an analog phase lock loop for clock and data recovery The adapter is a general purpose device using the NEe fLPD765 or equivalent controller Therefore the diskette drive parameters are programmable In addition the attachment supports the diskette drive s write protect feature The adapter is buffered on the I O bus and uses the system board...

Страница 6: ...Data f J VCO SYNC Separator I 0 STD DATA 5 I I Data Window I 0 NEC Step r Floppy JQ Direction Disk 8 Controller J Write Enable V Head Select o V Index J I Write Protect l r I I Track 0 1 t t I I Drive A Motor On VI I iRes t f B Digital f C j o Control Decoder f D Drive A Select Port 1 ti r B til f C r D l l 5 1 4 Inch Diskette Drive Adapter Block Diagram ...

Страница 7: ...set line The bits have the following functions Bits 0 and 1 These bits are decoded by the hardware to select one drive if its motor is on Bit 1 0 Drive 00 o A 01 1 B 10 2 C 1 1 3 D Bit 2 The FDC is held reset when this bit is clear It must be set by the program to enable the FDC Bit 3 This bit allows the FDC interrupt and DMA requests to be gated onto the I O interface If this bit is cleared the i...

Страница 8: ...me Symbol Description DBO FDD A Busy DAB FDD number 0 is in the Seek mode DB1 FDD B Busy DBB FDD number 1 is in the Seek mode DB2 FDD C Busy DCB FDD number 2 is in the Seek mode DB3 FDD D Busy DDB FDD number 3 is in the Seek mode DB4 FDC Busy CB A read or write command is in process DB5 Non DMA NDM The FDC is in the non DMA mode Mode DB6 Data Inputl DIO Indicates direction of data transfer Output ...

Страница 9: ...mation required to perform a particular operation from the system unit s microprocessor Execution Phase The FDC performs the operation it was instructed to do Result Phase After completion of the operation status and other housekeeping information are made available to the system unit s microprocessor The following tables define the symbols used in the command summary The command summary immediate...

Страница 10: ...are going to read from or write to the sector EDT stands for the final sector number on a cylinder GPL stands for the length of gap 3 spacing between sectors excluding VCO sync field H stands for head number 0 or 1 as specified in ID field HD stands for a selected head number 0 or 1 H HD in all command words HLT stands for the head load time in the FDD 4 to 512 ms in 4 ms increments HUT stands for...

Страница 11: ...ber of sectors per cylinder SK stands for skip deleted data address mark SRT stands for the stepping rate for the FDD 2 to 32 ms in 2 ms increments STO 3 stand for one of four registers that store the status information after a command has been executed This information is available during the result phase after command execution These registers should not be confused with the main status register...

Страница 12: ...K 0 1 1 0 0 W X X X X X HD US1USO W C W H W R W N W EOT W GPL W DTL Execution Result R STO R ST 1 R ST 2 R C R H R R R N Remarks Command Codes Sector ID information prior to command execution Data transfer between the FDD and main system Status information after command execution Sector ID information after command execution Command Codes Sector ID information prior to command execution Data trans...

Страница 13: ...information R ST 1 after command R ST 2 execution R C Sector ID information R H after command R R execution R N Write Deleted Data Command W MT MF 0 0 1 0 0 1 Command Codes W X X X X X HD US1 usa w C Sector ID information W H prior to command W R execution W N W EOT W GPL W DTL Execution Data transfer between the FDD and main system Result R STO Status ID information R ST 1 after command R ST 2 ex...

Страница 14: ...f cylinder s contents from index hole to EOT Result R STO Status information R ST 1 after command R ST 2 execution R C Sector ID information R H after command R R execution R N Read 10 Command W 0 MF 0 0 1 0 1 0 Command Codes W X X X X X HD US1 usa Execution The first correct ID information on the cylinder is stored in data register Result R STO Status information R ST 1 after command R ST 2 execu...

Страница 15: ...ST 1 after command R ST 2 execution R C In this case the 10 R H information has no R R meaning R N Scan Equal Command W MT MF SK 1 0 0 0 1 Command Codes W X X X X X HD US1 usa w C Sector 10 information W H prior to command W R execution W N W EOT W GPL W STP Execution Data compared between the FDD and the main system Result R STO Status information R ST 1 after Command R ST 2 execution R C Sector ...

Страница 16: ...Status information R ST after command R ST 2 execution R C Sector ID information R H after command R R execution R N Command W MT Scan High or Equal MF SK 0 Command Codes W X X X X X HD US usa w C Sector ID information W H prior to command W R execution W N W EOT W GPL W STP Execution Data compared between the FDD and main system Result R STO Status information R ST after command R ST 2 execution ...

Страница 17: ...tion about the FDC Command No Result Phase W W W 0 r 0 SRT Specify 0 0 0 HLT 0 1 1 HUT NO Command Codes Command Result W W R 0 X 0 X Sense Drive Status 0 0 0 1 0 0 X X X HDUS1USO ST 3 Command Codes Status information about FDD Command Execution W W W 0 X 0 X 0 X Seek 0 1 X X NCN 1 1 1 HDUS1USO Command Codes Head is positioned over proper cylinder on diskette No Result Phase Command W Invalid Inval...

Страница 18: ...the FOC completes the seek command this flag is set to 1 high 04 Equipment EC If a fault signal is received from the Check FOO or if the track 0 signal fails to occur after 77 step pulses recalibrate command then this flag is set 03 Not Ready NR When the FOO is in the not ready state and a read or write command is issued this flag is set If a read or write command is issued to side 1 of a single s...

Страница 19: ...scan command if the FDC cannot find the sector specified in the ID register this flag is set During execution of the read ID command if the FDe cannot read the ID field without an error then this flag is set During the execution of the read a cylinder command if the starting sector cannot be found then this flag is set 01 Not Writable NW During execution of a write data write deleted data or forma...

Страница 20: ...set D3 Scan Equal SH During execution of the scan command if Hit the condition of equal is satisfied this flag is set D2 Scan Not SN During execution of the scan command Satisfied if the FDC cannot find a sector on the cylinder that meets the condition then this flag is set D1 Bad Cylinder BC This bit is related to the ND bit and when the contents of C on the medium are different from that stored ...

Страница 21: ...us of the side select signal from the FDD D1 Unit Select 1 US 1 This bit is the status of the unit select 1 signal from the FDD DO Unit Select 0 USO This bit is the status of the unit select O signal from the FDD Command Status Register 3 Programming Summary FDC Data Register 1 0 Address Hex 3F5 FDC Main Status Register 1 0 Address Hex 3F4 Digital Output Register 1 0 Address Hex 3F2 Bit 0 Drive 00...

Страница 22: ...ss wait HD settle time before R W Drive motors should be off when not in use Only A or Band Cor D may run simultaneously Wait motor start time before R W Motor must be on for drive to be selected Data errors can occur while using a home television as the system display Placing the TV too close to the diskette area can cause this to occur To correct the problem move the TV away from or to the oppos...

Страница 23: ...egister is selected to receive or supply the byte transferred through lines DO 7 Bit 0 is the low order bit AEN Adapter input load 1 74LS The content of lines A0 9 is ignored if this line is active lOW Adapter input Load 1 74LS The content of lines DO 7 is stored in the register addressed by lines AO 9 or DACK2 at the trailing edge of this signal lOR Adapter input Load 1 74LS The content of the re...

Страница 24: ...of the FDC data register IRQ6 Adapter output driver 74LS 3 state This line is made active when the FDC has completed an operation It results in an interrupt to a routine that should examine the FDC result bytes to reset the line and determine the ending condition Drive A and B Interface All signals are TTL compatible Most Positive Up Level 5 5 Vdc Least Positive Up Level 2 4 Vdc Most Positive Down...

Страница 25: ... becomes inactive Driver 7438 The selected drive moves the read write head one cylinder in or out per the direction line for each pulse present on this line Driver 7438 For each recognized pulse of the step line the read write head moves one cylinder toward the spindle if this line is active and away from the spindle if inactive Driver 7438 Head 1 upper head will be selected when this line is acti...

Страница 26: ...ution on this line The selected drive must make this line active if a write protected diskette is in the drive The selected drive must make this line active if the read write head is over track O The selected drive supplies a pulse on this line for each flux change encountered on the diskette 22 Diskette Adapter ...

Страница 27: ...t Standard TTL Levels Land Number Ground Odd Numbers 1 33 Unused 2 4 6 Index 8 Motor Enable A 10 Drive Select B 12 Drive Select A 14 Motor Enable B 16 Diskette Direction Stepper Motor 18 Drive Drives Step Pulse 20 Adapter Write Data 22 Write Enable 24 Track 0 26 Write Protect 28 Read Data 30 Select Head 1 32 Unused 34 Connector Specifications Part 1 of 2 Diskette Adapter 23 ...

Страница 28: ...t D Drive Select C Motor Enable D Direction Stepper Motor Step Pulse External Write Data Drives Write Enable Track 0 Write Protect Read Data Select Head 1 Ground Connector Specifications Part 2 of 2 19 37 o Pin Number 1 5 6 7 8 9 10 11 12 Drive 13 Adapter 14 15 16 17 18 20 37 24 Diskette Adapter ...

Страница 29: ...Logic Diagrams BEEEEeEeijiiiiiiiiiiiiii I III I I o Q Q c Q C Q c j I i S c J 5 I H Ln o a e e i 5 z i 9 z to r l g Ii liu i ii is g Ii un mn Ii iiEE iuijiiii Ii i r B I H i 0 Diskette Adapter 25 ...

Страница 30: ... i f W CJ J Lt _ 0 C I II II J S II c ClI 0 C II C II II til C J CJ E o t an 2 26 Diskette Adapter ...

Страница 31: ... 50 PSI I 2 5 19 elK PSO 12 LATE E RD 74LSI 1 UIO WRITE ENABLE 1 WE 2 11 lOX 1 INOEx q 74LS08 fRlSTP r7 STEP 1 11 WP TS SEEK t 1 VIlTEPftOTECT HDL N I 741508 USO N 1 1RACK 0 USI Pzi He 11 FlT TII MF r He 1 lC R b HFO SYNC 4 74LSOB HD 21 b SELECT HEAD I 1 b 21 ROO 4 Sl ANOMDOATA lK n ROW 14 OATA dNOOW I IPD7b i ONTIJrrlJEO FROM SHEET It o b TC 2 1 OA I 2 t 1 LSO i DACK 2 2 01 1 GATE HOTE u C7 tLS08...

Страница 32: ...t ADDATA Q t D I 3 VCO SYNC t 3 500 KHZ WRITE CLOCK R3 S 470 n 21FVCCVCCF 15 14 CUt QA 5 10 1e3 8153 r OUT 18 CONTL OUT 2 eo EMG QC U12 12 OATA WINDOW 3 f C U IN 2 15K en Lll 10 20 UF OF 10 R2 O 03 F r _ _ I 5 Ii PHASE DETECTOR 2K LOOP FILTER r 21i1 INPUT SELECTOR PULL Up 5 1 4 Inch Diskette Drive Adapter Sheet 4 of 4 ...

Отзывы: