Read Data | Read Deleted Data |
Read ID | Write Data |
Specify | Write ID (Format Write) |
Read Diagnostic | Write Deleted Data |
Scan Equal | Seek |
Scan High or Equal | Recalibrate |
Scan Low or Equal | Sense Interrupt Status |
Version | Sense Drive Status |
Device Number | Package Type | Max Freq. of Operation |
---|---|---|
µPD765AC,µPD765AC2 | 40-pin plastic DIP | 8 Mhz |
µPD7265C,µPD7265C-2 | 40-pin plastic DIP | 8 Mhz |
No. | Symbol | Function |
---|---|---|
1 | RESET | Reset input |
2 | /RD | Read control input |
3 | /WR | Write control input |
4 | /CS | Chip select input |
5 | A0 | Data or status select input |
6-13 | DB0-DB7 | Bidirectional data bus |
14 | DRQ | DMA request output |
15 | /DACK | DMA acknowledge input |
16 | TC | Terminal count input |
17 | INDEX | Index output |
18 | INT | Interrupt request output |
19 | CLK | Clock input |
20 | GND | Ground |
21 | WCLK | Write clock input |
22 | WINDOW | Read data window input |
23 | RDATA | Read data input |
24 | SYNC | VCO Sync output |
25 | WE | Write enable output |
26 | MFM | MFM output |
27 | SIDE | Head select output |
28,29 | US1,US0 | FDD unit select output |
30 | WDATA | Write data output |
31,32 | PS1,PS0 | Preshift output |
33 | FLT/TRK0 | Fault/Track zero input |
34 | WRT/2SIDE | Write protect/two side input |
35 | READY | Ready input |
36 | HDLD | Head load output |
37 | FLTR/STEP | Fault reset/step output |
38 | LCT/DIR | Low current direction output |
39 | /RW / SEEK | Read/write/seek output |
40 | Vcc | DC power (+5V) |
PS0 | PS1 | Shift (MFM WDATA) |
---|---|---|
0 | 0 | Normal |
0 | 1 | Late |
1 | 0 | Early |
1 | 1 | - |
Part No. | ST0 value |
---|---|
µPD765A | 80H |
µPD765B | 90H |
A0 | /RD | /WR | Function |
---|---|---|---|
0 | 0 | 1 | Read Main Status Register |
0 | 1 | 0 | Illegal |
0 | 0 | 0 | Illegal |
1 | 0 | 0 | Illegal |
1 | 0 | 1 | Read from Data Register |
1 | 1 | 0 | Write into Data Register |
Pin | Function | |
---|---|---|
No. | Name | |
DB0 | D0B (FDD 0 Busy) |
FDD number 0 is in the Seek mode. If any of the DnB bits is set FDC will not accept read or write command. |
DB1 | D1B (FDD 1 Busy) |
FDD number 1 is in the Seek mode. If any of the DnB bits is set FDC will not accept read or write command. |
DB2 | D2B (FDD 2 Busy) |
FDD number 2 is in the Seek mode. If any of the DnB bits is set FDC will not accept read or write command. |
DB3 | D3B (FDD 3 Busy) |
FDD number 3 is in the Seek mode. If any of the DnB bits is set FDC will not accept read or write command. |
DB4 | CB (FDC Busy) |
A read or write command is in process. FDC will not accept any other commands |
DB5 | EXM (Execution Mode) |
This bit is set only during execution phase in non-DMA mode. When DB5 goes low, execution phase has ended and result phase has started. It operates only during non-DMA mode of operation. |
DB6 | DIO (Data Input/Output) |
Indicates direction of data transfer between FDC and Data Register. If DIO = "1" then transfer is from Data Register to the processor. If DIO = "0", then transfer is from the processor to the data register. |
DB7 | RQM (Request for Master) | Indicates Data Register is ready to send or receive data to or from the processor. Both bits DIO and RQM should be used to perform the handshaking functions of "ready" and "direction" to the processor. |
Pin | Function | |
---|---|---|
No. | Name | |
D7,D6 | IC (Interrupt Code) |
|
D7=0 and D6=0; Normal Termination of Command (NT), Command was completed and properly executed. | ||
D7=0 and D6=1; Abnormal Termination of Command (AT), Execution of Command was started, but was not successfully completed. | ||
D7=1 and D6=0; Invalid Command issued (IC), Command which was issued was never started. | ||
D7=1 and D6=1; Abnormal Termination because during command execution the ready signal from the FDD changed state. | ||
D5 | SE (Seek End) | When the FDC completes the SEEK command, this flag is set to 1 (high). |
D4 | EC (Equipment Check) | If a fault signal is received from the FDD, or if the Track 0 signal fails to occur after 77 Step Pulses (Recalibrate Command) then this flag is set. |
D3 | NR (Not Ready) | When the FDD 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 sided drive then this flag is set. |
D2 | HD (Head Address) | This flag is used to indicate the state of the head at interrupt. |
D1 | US1 (Unit Select 1) |
These flags are used to indicate the drive unit number at interrupt. |
D0 | US0 (Unit Select 0) |
Pin | Function | |
---|---|---|
No. | Name | |
D7 | EN (End of Cylinder) | When the FDC tries to access a sector beyond the final Sector of a Cylinder, this flag is set. |
D6 | td>Not used. This bit is always 0 (low). | |
D5 | DE (Data Error) | When the FDC detects a CRC(1) error in either the ID field or the data field, this flag is set. |
D4 | OR (Overrun) | If the FDC is not serviced by the main systems during data transfers within a certain time interval, this flag is set. |
D3 | Not used. This bit always 0 (low). | |
D2 | ND (No Data) | |
During execution of READ DATA, Read Deleted Data, Write Data,WRITE DELETED DATA or SCAN Command, if the FDC cannot find the Sector specified in the IDR(2) register, then this flag is set. | ||
During executing the READ ID Command, if the FDC cannot read the ID field without an error, then this flag is set. | ||
During execution of the READ Diagnostic Command, if the starting sector cannot be found then this flag is set. | ||
D1 | NW (Not Writeable) | During execution of WRITE DATA, WRITE DELETED DATA or Write ID Command, if the FDC detects a write protect signal from the FDD, then this bit is set. |
D0 | MA (Missing Address Mark) |
This bit is set if the FDC does not detect the IDAM before 2 index pulses. It is also set if the FDC cannot find the DAM or DDAM after the IDAM is found, MD bit of ST2 is also set at this time. |
Pin | Function | |
---|---|---|
No. | Name | |
D7 | Not used. This bit is always 0 (low). | |
D6 | CM (Control Mark) | During execution of the Read Data or Scan Command, if the FDC encounters a Sector which contains a Deleted Data Address Mark, this flag is set. Also set if DAM found during Read Deleted Data |
D5 | DD (Data Error in Data Field) | If the FDC detects a CRC error in the data field then this flag is set. |
D4 | WC (Wrong Cylinder) | This bit is related with the ND bit, and when the contents of C(3) on the medium is different from that stored in the IDR, this flag is set. |
D3 | SH (Scan Equal Hit) | During execution of the Scan Command, if the condition of the "equal" is satisfied, then this flag is set. |
D2 | SN (Scan Not Satisfied) | During execution of the Scan Command, if the FDC cannot find a sector on the cylinder which meets the condition, then this flag is set. |
D1 | BC (Bad Cylinder) | This bit is related with the ND bit, when the contents of C on the mdeium is different from that stored in the IDR and the contents of C is &FF, then this flag is set. |
D0 | MD (Missing Address Mark in Data Field) | When data is read from the medium, if the FDC cannot find a Data Address Mark or Deleted Data Address Mark, then this flag is set. |
Pin | Function | |
---|---|---|
No. | Name | |
D7 | FT (Fault) | This bit is used tto indicate the status of the Fault signal from the FDD. |
D6 | WP (Write Protected) | This bit is used to indicate the status of the Write Protected signal from the FDD. |
D5 | RY (Ready) | This bit is used to indicate the status of the Ready signal from the FDD. |
D4 | T0 (Track 0) | This bit is used to indicate the status of the Track 0 signal from the FDD. |
D3 | TS (Two Side) | This bit is used to indicate the status of the Two Side signal from the FDD. |
D2 | HD (Head Address) | This bit is used to indicate the status of the Side Select signal to the FDD. |
D1 | US1 (Unit Select 1) | This bit is used to indicate the status of the Unit Select 1 signal to the FDD. |
D0 | US0 (Unit Select 0) | This bit is used to indicate the status of the Unit Select 0 signal to the FDD. |
Command Phase | The FDC receives all information required to perform a particular operation from the processor. |
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 processor. |
Name | Function |
---|---|
A0 (Address Line 0) |
A0 controls selection of Main Status Register (A0=0) or Data Register (A0=1) |
C (Cylinder Number) |
C stands for the current/selected Cylinder (track) numbers 0 through 76 of the medium |
D (Data) |
D stands for the data pattern which is going to be written into a Sector during a WRITE ID operation |
D7--D0 (Data bus) |
8-bit Data Bus, where D7 stands for the most significant bit, and D0 stands for a least significant bit. |
DTL (Data Length) |
When N is defined as 00, DTL stands for the data length which users are going to read out or write into the sector. |
EOT (End Of Track) |
EOT stands for the final Sector number on a Cylinder. During read or write operations, FDC will stop data transfer after a sector number equal to EOT. |
GPL (Gap Length) |
GPL stands for the length of Gap 3. During Read/Write operations this value determines the number of bytes that VCO sync will stay low after two CRC bytes. During Format command it determines the size of gap 3. |
H (Head Address) |
H stands for logical head number 0 or 1, as specified in the ID field |
HD (Head) |
HD stands for a the physical head number 0 or 1 and controls the polarity of pin 27. (H=HD in all command words.) |
HLT (Head Load Time) |
HLT stands for the head load time in the FDD (2 to 254ms in 2ms increments) |
HUT (Head Unload Time) |
HUT stands for the head unload time after a read or write operation has occured (16 to 240ms in 16ms increments) |
MF (FM or MFM Mode) |
If MF is low, FM mode is selected and if it is high, MFM mode is selected. |
MT (Multi-track) |
If MT is high, a multi-track operation is to be performed. If MT=1 after finishing read/write operation on side 0, FDC will automatically start searching for sector 1 on side 1. |
N (Number) |
N stands for the number of data bytes written in a sector |
NCN (New Cylinder Number) |
NCN stands for a new Cylinder Number which is going to be reached as a result of the Seek operation; Desired Position of head. |
ND (Non-DMA Mode) |
ND stands for operation in the Non-DMA mode |
PCN (Present Cylinder Number) |
PCN stands for the Cylinder number at the completion of Sense Interrupt Status Command. Position of head at present time. |
R (Record) |
R stands for the Sector Number which will be read or written. |
R/W (Read/Write) |
R/W stands for either Read (R) or Write (W) signal. |
SC (Sector) |
SC indicates the number of sectors per track |
SK (Skip) |
SK stands for Skip Deleted Data Address Mark |
SRT (Step Rate Time) |
SRT stands for the Stepping Rate for the FDD (1 to 16ms in 1ms increments). The same Stepping Rate applies to all drives (F=1ms, E=2ms, etc). |
ST0-ST3 (Status 0-3) |
ST0-ST3 stand for one of four registers which 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 (selected by A0=0). ST0-ST3 may be read only after a command has been executed and contains information relevant to that particular command. |
STP | During a scan operation, if STP=1 the data in contiguous sectors is compared byte-by-byte with data sent from the processor (or DMA) and if STP=2 then alternate sectors are read and compared. |
US0,US1(Unit Select) | DS stands for a select drive number 0 or -3 |
READ DATA | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | MT | MF | SK | 0 | 0 | 1 | 1 | 0 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | (Note 3) | ||
W | Sector ID Information prior to command execution. The 4 bytes are compared against header on floppy disk | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data transfer between the FDD and main system | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
READ DELETED DATA | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | MT | MF | SK | 0 | 1 | 1 | 0 | 0 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Sector ID Information prior to command execution. The 4 bytes are compared against header on floppy disk. | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data transfer between the FDD and main system | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
WRITE DATA | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | MT | MF | 0 | 0 | 0 | 1 | 0 | 1 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Sector ID Information prior to command execution. The 4 bytes are compared against header on floppy disk. | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data transfer between the FDD and main system | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
WRITE DELETED DATA | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | MT | MF | 0 | 0 | 1 | 0 | 0 | 1 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Sector ID Information prior to command execution. The 4 bytes are compared against header on floppy disk. | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data transfer between the FDD and main system | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
READ DIAGNOSTIC | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | 0 | MF | SK | 0 | 0 | 0 | 1 | 0 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Sector ID Information prior to command execution | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data transfer between the FDD and main system. FDC reads all data fields from index hole to EOT. | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
READ ID | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | 0 | MF | 0 | 0 | 1 | 0 | 1 | 0 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
Execution | The first correct ID information on the cylinder is stored in data register | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information during Execution Phase | ||||||||||
R | |||||||||||
R | |||||||||||
R |
WRITE ID (Format Write) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | 0 | MF | 0 | 0 | 1 | 1 | 0 | 1 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Bytes/sector | ||||||||||
W | Sectors/track | ||||||||||
W | Gap 3 | ||||||||||
W | Filler Byte | ||||||||||
Execution | FDC formats an entire track | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | In this case the ID information has no meaning | ||||||||||
R | |||||||||||
R | |||||||||||
R |
SCAN EQUAL | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | MT | MF | SK | 1 | 0 | 0 | 0 | 1 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Sector ID Information prior to command execution | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data compared between the FDD and main system | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
SCAN LOW OR EQUAL | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | MT | MF | SK | 1 | 1 | 0 | 0 | 1 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Sector ID Information prior to command execution | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data compared between the FDD and main system | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
SCAN HIGH OR EQUAL | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | MT | MF | SK | 1 | 1 | 1 | 0 | 1 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | Sector ID Information prior to command execution | ||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
W | |||||||||||
Execution | Data compared between the FDD and main system | ||||||||||
Result | R | Status information after command execution | |||||||||
R | |||||||||||
R | |||||||||||
R | Sector ID information after command execution | ||||||||||
R | |||||||||||
R | |||||||||||
R |
RECALIBRATE | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | X | X | X | X | X | 1 | 1 | 1 | Command Codes | |
W | 0 | 0 | 0 | 0 | 0 | 0 | US1 | US0 | |||
Execution | Head retracked to track 0 |
SENSE INTERRUPT STATUS | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | Command Codes | |
Result | R | Status information about the FDC at the end of seek operation | |||||||||
R |
SPECIFY | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | Command Codes | |
W | |||||||||||
W | ND |
SENSE DRIVE STATUS | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
Result | R | Status information about FDD |
VERSION | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | X | X | X | 1 | 0 | 0 | 0 | 0 | Command Codes | |
Result | R | 90H indicates 765B 80H indicates 765A/A-2 |
SEEK | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | Command Codes | |
W | X | X | X | X | X | HD | US1 | US0 | |||
W | |||||||||||
Execution | Head is positioned over proper cylinder on diskette |
INVALID | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Phase | R/W | Instruction Code | Remarks | ||||||||
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | ||||
Command | W | Invalid command codes (NoOp - FDC goes into standby state) | |||||||||
Result | R | ST0=80H |
Multi-Track MT | MFM/FM | Bytes/Sector N | Maximum Transfer Capacity (Bytes/Sector)(Number of Sectors) | Final Sector Read from Diskette |
---|---|---|---|---|
0 | 0 | 0 | (128)(26)=3,328 | 26 at Side 0 or 26 at Side 1 |
0 | 1 | 1 | (256)(26)=6,656 | |
1 | 0 | 0 | (128)(52)=6,656 | 26 at Side 1 |
1 | 1 | 1 | (256)(52)=13,312 | |
0 | 0 | 1 | (256)(15)=3,840 | 15 at Side 0 or 15 at Side 1 |
0 | 1 | 2 | (512)(15)=7,680 | |
1 | 0 | 1 | (256)(30)=7,680 | 15 at Side 1 |
1 | 1 | 2 | (512)(30)=15,360 | |
0 | 0 | 2 | (512)(8)=4,096 | 8 at Side 0 or 8 at Side 1 |
0 | 1 | 3 | (1024)(8)=8,192 | |
1 | 0 | 2 | (512)(16)=8,192 | 8 at Side 1 |
1 | 1 | 3 | (1024)(16)=16,384 |
MT | EOT | Final Sector Transfered to Processor | ID Information at Result Phase | |||
---|---|---|---|---|---|---|
C | H | R | N | |||
0 | 1a | Sector 1 to 25 at Side 0 | NC | NC | R+1 | NC |
0f | Sector 1 to 24 at Side 0 | |||||
08 | Sector 1 to 7 at Side 0 | |||||
1a | Sector 26 at Side 0 | C+1 | NC | R=01 | NC | |
0f | Sector 15 at Side 0 | |||||
08 | Sector 8 at Side 0 | |||||
1a | Sector 1 to 25 at Side 1 | NC | NC | R+1 | NC | |
0f | Sector 1 to 14 at Side 1 | |||||
08 | Sector 1 to 7 at Side 1 | |||||
1a | Sector 26 at Side 1 | C+1 | NC | R=01 | NC | |
0f | Sector 15 at Side 1 | |||||
08 | Sector 8 at Side 1 | |||||
1 | 1a | Sector 1 to 25 at Side 0 | NC | NC | R+1 | NC |
0f | Sector 1 to 14 at Side 0 | |||||
08 | Sector 1 to 7 at Side 0 | |||||
1a | Sector 26 at Side 0 | NC | LSB | R=01 | NC | |
0f | Sector 15 at side 0 | |||||
08 | Sector 8 at side 0 | |||||
1a | Sector 1 to 25 at Side 1 | NC | NC | R+1 | NC | |
0f | Sector 1 to 14 at Side 1 | |||||
08 | Sector 1 to 7 at Side 1 | |||||
1a | Sector 26 at Side 1 | C+1 | LSB | R=01 | NC | |
0f | Sector 15 at Side 1 | |||||
08 | Sector 7 at side 1 |
FORMAT | SECTOR SIZE | N | SC | GPL(1) | GPL(2,3) | REMARKS |
---|---|---|---|---|---|---|
8" Standard Floppy | ||||||
FM Mode | 128 bytes/sector | 0 | 1Ah | 07h | 1Bh | IBM Diskette 1 |
256 | 1 | 0Fh | 0Eh | 2Ah | IBM Diskette 2 | |
512 | 2 | 08 | 1Bh | 3Ah | ||
FM Mode | 1024 | 3 | 4 | - | - | |
2048 | 4 | 2 | - | - | ||
4096 | 5 | 1 | - | - | ||
MFM Mode | 256 | 1 | 1Ah | 0Eh | 36h | IBM Diskette 2D |
512 | 2 | 0Fh | 1Bh | 54h | ||
1024 | 3 | 08 | 35h | 74h | IBM Diskette 2D | |
2048 | 4 | 4 | - | - | ||
4096 | 5 | 2 | - | - | ||
8192 | 6 | 1 | - | - |
Command | Status Register 2 | Comments | |
---|---|---|---|
Bit 2 = SN | Bit 3 = SH | ||
Scan Equal | 0 | 1 | DFdd=DProcessor |
1 | 0 | DFdd<>DProcessor | |
Scan Low or Equal | 0 | 1 | DFdd=DProcessor |
0 | 0 | DFdd<DProcessor | |
1 | 0 | DFdd>DProcessor (not <=) | |
Scan High or Equal | 0 | 1 | DFdd=DProcessor |
0 | 0 | DFdd>DProcessor | |
1 | 0 | DFdd<DProcessor (not >=) |
SEEK END | INTERRUPT CODE | CAUSE | |
---|---|---|---|
BIT 5 | BIT 6 | BIT 7 | |
0 | 1 | 1 | Ready Line Changed state, either polarity |
1 | 0 | 0 | Normal Termination of Seek or Recalibrate Command |
1 | 1 | 0 | Abnormal Termination of Seek or Recalibration command |