ECP PARALLEL PORT TIMING........................................................................................234
80 Arkay Dr.
Hauppauge, NY 11788
(516) 435-6000
FAX: (516) 273-3123
4
GENERAL DESCRIPTION
The FDC37B72x incorporates a keyboard
interface, SMSC's true CMOS 765B floppy disk
controller, advanced digital data separator, 16
byte data FIFO, two 16C550 compatible UARTs,
one Multi-Mode parallel port which includes
ChiProtect circuitry plus EPP and ECP support,
on-chip 12 mA AT bus drivers, and two floppy
direct drive support, soft power management
and SMI support and Intelligent Power
Management including PME and SCI/ACPI
support. The true CMOS 765B core provides
100% compatibility with IBM PC/XT and PC/AT
architectures in addition to providing data
overflow and underflow protection. The SMSC
advanced digital data separator incorporates
SMSC's patented data separator technology,
allowing for ease of testing and use. Both onchip UARTs are compatible with the NS16C550.
The parallel port is compatible with IBM PC/AT
architecture, as well as EPP and ECP. The
FDC37B72x incorporates sophisticated power
control circuitry (PCC) which includes support
for keyboard, mouse, modem ring, power button
support and other wake-up events. The PCC
supports multiple low power down modes.
The FDC37B72x provides features for
compliance with the “Advanced Configuration
and Power Interface Specification” (ACPI).
These features include support of both legacy
and ACPI power management models through
the selection of SMI or SCI. It implements a
power button override event (4 second button
hold to turn off the system) and either edge
triggered interrupts.
The FDC37B72x provides support for the ISA
Plug-and-Play Standard (Version 1.0a) and
provides for the recommended functionality to
support Windows '95/’98 and PC98/PC99.
Through internal configuration registers, each of
the FDC37B72x's logical device's I/O address,
DMA channel and IRQ channel may be
programmed. There are 480 I/O address
location options, 12 IRQ pin options or Serial
IRQ option, and four DMA channel options for
each logical device.
The FDC37B72x Floppy Disk Controller and
data separator do not require any external filter
components and are therefore easy to use, offer
lower system cost and reduced board area. The
FDC is software and register compatible with
SMSC's proprietary 82077AA core.
IBM, PC/XT and PC/AT are registered trademarks and PS/2 is a trademark
of International Business Machines Corporation
SMSC is a registered trademark and Ultra I/O, ChiProtect, and Multi-Mode
are trademarks of Standard Microsystems Corporation
83ROM Bus 0/IRQ1/GP60/nSMI1RD0IO12
84ROM Bus 1/IRQ3/GP61/LED1RD1IO24
85ROM Bus 2/IRQ4/GP62/nRING1RD2IO12
86ROM Bus 3/IRQ5/GP63/WDT1RD3IO12
87ROM Bus 4/IRQ6/GP64/P17/P121RD4IO12
88ROM Bus 5/IRQ7/GP651RD5IO12
89ROM Bus 6/IRQ8/GP661RD6IO12
90ROM Bus 7/IRQ10/GP671RD7IO12
91nROMCS/IRQ11/GP53/EETI (Note 4)1nROMCSIO12
92nROMOE/IRQ12/GP54/EETI (Note 4)1nROMOEIO12
SERIAL PORT 1 INTERFACE (8)
112Receive Serial Data 11RXD1I
113Transmit Serial Data 11TXD1O4
115Request to Send 11nRTS1/
IO4
SYSOP
116Clear to Send 11nCTS1I
117Data Terminal Ready 11nDTR1O4
114Data Set Ready 11nDSR1I
119Data Carrier Detect 11nDCD1I
118Ring Indicator 11nRI1I
8
PIN
No./QFPNAMETOTALSYMBOLBUFFER TYPE
SERIAL PORT 2 INTERFACE (8)
123Receive Serial Data 2/Infrared Rx1RXD2/IRRXI
124Transmit Serial Data 2/Infrared Tx (Note 3)1TXD2/IRTXO24
126Request to Send 21nRTS2O4
127Clear to Send 21nCTS2I
128Data Terminal Ready1nDTR2O4
125Data Set Ready 21nDSR2I
122Data Carrier Detect 21nDCD2I
120Ring Indicator 21nRI2I
PARALLEL PORT INTERFACE (17)
96-103Parallel Port Data Bus8PD[0:7]IOP14
95Printer Select1nSLCTINOP14
94Initiate Output1nINITOP14
110Auto Line Feed1nALFOP14
111Strobe Signal1nSTROBEOP14
107Busy Signal1BUSYI
108Acknowledge Handshake1nACKI
106Paper End1PEI
105Printer Selected1SLCTI
109Error at Printer1nERRORI
KEYBOARD/MOUSE INTERFACE (6)
70Keyboard Data1KDATIOD16
71Keyboard Clock1KCLKIOD16
72Mouse Data1MDATIOD16
73Mouse Clock1MCLKIOD16
75Keyboard Reset1KBDRST
(Note 2)
76Gate A201A20MO4
O4
Note 1: The “n” as the first letter of a signal name indicates an “Active Low” signal.
Note 2: KBDRST is active low.
Note 3: This pin defaults to an output and low. When configured as IRTX (or IRTX2), this pin is low
when the IR block is not transmitting.
Note 4: EETI is the Either Edge Triggered Interrupt Input function.
Note 1: Either Edge Triggered Interrupt Inputs.
Note 2: At power-up, RD0-7, nROMCS and nROMOE function as the XD Bus. To use RD0-7 for
Note 3: These pins cannot be programmed as open drain pins in their original function.
Note 4: The function of P17 or P12 is selected via the P17/P12 select bit in the Ring Filter Select
alternate functions, nROMCS must stay high until those pins are finished being programmed.
Register in Logical Device 8 at 0xC6. Default is P17.
11
Note 5: Buffer types per function are separated by a forward slash “/”. Multiple buffer types per
function are separated by a forward slash “/” and enclosed in parentheses; e.g., IRQ outputs
can be open drain or push-pull and are shown as “(O12/OD12)”.
REFERENCE DOCUMENTS
§ IEEE 1284 Extended Capabilities Port Protocol and ISA Standard, Rev. 1.14, July 14, 1993.
§ Hardware Description of the 8042, Intel 8 bit Embedded Controller Handbook.
§ PCI Bus Power Management Interface Specification, Rev. 1.0, Draft, March 18, 1997.
12
nPowerOn
Button_In
SER_IRQ
PCI_CLK
nIOR
nIOW
SA[0:15]
SD[O:7]
DRQ[0:3]
nDACK[0:3]
IRQ[1,3-12,14]
RESET_DRV
IOCHRDY
nPME/SCI
SOFT
POWER
MANAGEMENT
POWER
MANAGEMENT
SERIAL
IRQ
AEN
HOST
CPU
INTERFACE
TC
PME/
ACPI
nSMI*
nSMI
ADDRESS BUS
SMSC
PROPRIETARY
82077
COMPATIBLE
VERTICAL
FLOPPYDISK
CONTROLLER
CORE
DATA BUS
CONFIGURATION
REGISTERS
CONTROL BUS
WDATA
WCLOCK
RCLOCK
RDATA
BIOS
BUFFER
nROMOE*
nROMCS*
RD[0:7]*
DIGITAL
DATA
SEPARATOR
WITH WRITE
PRECOM-
PENSATION
MULTI-MODE
PARALLEL
PORT/FDC
MUX
GENERAL
PURPOSE
I/O
16C550
COMPATIBLE
SERIAL
PORT 1
16C550
COMPATIBLE
SERIAL
PORT 2 WITH
INFRARED
8042
PD0-7
BUSY, SLCT, PE,
nERROR, nACK
nSTB, nSLCTIN,
nINIT, nALF
GP1[0:7]*
GP5[0,2:4]*
GP6[0:7]*
TXD1
RXD1
nDSR1, nDCD1, nRI1, nDTR1
nCTS1, nRTS1
IRTX
IRRX
TXD2(IRTX)
RXD2(IRRX)
nDSR2, nDCD2, nRI2, nDTR2
nCTS2, nRTS2
KCLK
KDATA
MCLK
MDATA
P20, P21
P17/P12*
VCC
XTAL1
XTAL2
CLK32OUT
CLOCKI
(14.318)
DENSEL
nINDEX
nTRK0
nDSKCHG
nWRPRT
VBAT
VTR
VSS
nWGATE
nDIR
nSTEP
nHDSEL
nDS0,1
nMTR0,1
DRVDEN0
DRVDEN1
nWDATA nRDATA
*Multi-Function I/O Pin - Optional
CLOCK
GEN
FIGURE 2 - FDC37B72x BLOCK DIAGRAM
13
FUNCTIONAL DESCRIPTION
SUPER I/O REGISTERS
The address map, shown below in Table 1,
shows the addresses of the different blocks of
the Super I/O immediately after power up. The
base addresses of the FDC, serial and parallel
ports can be moved via the configuration
registers. Some addresses are used to access
more than one register.
TABLE 4 - SUPER I/O BLOCK ADDRESSES
ADDRESSBLOCK NAME
Base+(0-5) and +(7)Floppy Disk0
Parallel Port
Base+(0-3)
Base+(0-7)
Base+(0-3), +(400-402)
Base+(0-7), +(400-402)
Base+(0-7)Serial Port Com 14
Base+(0-7)Serial Port Com 25IR Support
60, 64KYBD7
Base + (0-17h)ACPI, PME, SMIA
Base + (0-1)Configuration
Note 1: Refer to the configuration register descriptions for setting the base address
SPP
EPP
ECP
ECP+EPP+SPP
HOST PROCESSOR INTERFACE
The host processor communicates with the
FDC37B72x through a series of read/write
registers. The port addresses for these registers
are shown in Table 1. Register access is
accomplished through programmed I/O or DMA
transfers. All registers are 8 bits wide. All host
interface output buffers are capable of sinking a
minimum of 12 mA.
LOGICAL
DEVICENOTES
3
14
FLOPPY DISK CONTROLLER
The Floppy Disk Controller (FDC) provides the
interface between a host microprocessor and
the floppy disk drives. The FDC integrates the
functions of the Formatter/Controller, Digital
Data Separator, Write Precompensation and
Data Rate Selection logic for an IBM XT/AT
compatible FDC. The true CMOS 765B core
guarantees 100% IBM PC XT/AT compatibility
in addition to providing data overflow and
underflow protection.
TABLE 5 - STATUS, DATA AND CONTROL REGISTERS
(Shown with base addresses of 3F0 and 370)
PRIMARY
ADDRESS
3F0
3F1
3F2
3F3
3F4
3F4
3F5
3F6
3F7
3F7
SECONDARY
ADDRESSR/WREGISTER
370
371
372
373
374
374
375
376
377
377
The FDC is compatible to the 82077AA using
SMSC's proprietary floppy disk controller core.
FDC INTERNAL REGISTERS
The Floppy Disk Controller contains eight
internal registers that facilitate the interfacing
between the host microprocessor and the disk
drive. TABLE 5 shows the addresses required
to access these registers. Registers other than
the ones shown are not supported. The rest of
the description assumes that the primary
addresses have been selected.
R
Status Register A (SRA)
R
Status Register B (SRB)
R/W
R/W
W
R/W
W
Digital Output Register (DOR)
Tape Drive Register (TSR)
R
Main Status Register (MSR)
Data Rate Select Register (DSR)
Data (FIFO)
Reserved
R
Digital Input Register (DIR)
Configuration Control Register (CCR)
15
STATUS REGISTER A (SRA)
Address 3F0 READ ONLY
This register is read-only and monitors the state
of the FINTR pin and several disk interface
pins in PS/2 and Model 30 modes. The SRA can
76543210
INT
nDRV2 STEP nTRK0 HDSEL nINDXnWPDIR
PENDING
RESET
010N/A0N/AN/A0
COND.
be accessed at any time when in PS/2 mode. In
the PC/AT mode the data bus pins D0 - D7 are
held in a high impedance state for a read of
address 3F0.
PS/2 Mode
BIT 0 DIRECTION
Active high status indicating the direction of
head movement. A logic "1" indicates inward
direction; a logic "0" indicates outward direction.
BIT 1 nWRITE PROTECT
Active low status of the WRITE PROTECT disk
interface input. A logic "0" indicates that the disk
is write protected. (See also Force Write Protect
Function)
BIT 2 nINDEX
Active low status of the INDEX disk interface
input.
BIT 3 HEAD SELECT
Active high status of the HDSEL disk interface
input. A logic "1" selects side 1 and a logic "0"
selects side 0.
BIT 4 nTRACK 0
Active low status of the TRK0 disk interface
input.
BIT 5 STEP
Active high status of the STEP output disk
interface output pin.
BIT 6 nDRV2
Active low status of the DRV2 disk interface
input pin, indicating that a second drive has
been installed. Note: This function is not
supported in this chip. (Always 1, indicating
1 drive)
BIT 7 INTERRUPT PENDING
Active high bit indicating the state of the Floppy
Disk Interrupt output.
16
PS/2 Model 30 Mode
RESET
COND.
76543210
INT
PENDING
000N/A1N/AN/A1
DRQSTEP
F/F
TRK0 nHDSEL INDXWPnDIR
BIT 0 nDIRECTION
Active low status indicating the direction of head
movement. A logic "0" indicates inward
direction; a logic "1" indicates outward direction.
BIT 1 WRITE PROTECT
Active high status of the WRITE PROTECT disk
interface input. A logic "1" indicates that the disk
is write protected. (See also Force Write
Protect Function)
BIT 2 INDEX
Active high status of the INDEX disk interface
input.
BIT 3 nHEAD SELECT
Active low status of the HDSEL disk interface
input. A logic "0" selects side 1 and a logic "1"
selects side 0.
BIT 4 TRACK 0
Active high status of the TRK0 disk interface
input.
BIT 5 STEP
Active high status of the latched STEP disk
interface output pin. This bit is latched with the
STEP output going active, and is cleared with a
read from the DIR register, or with a hardware
or software reset.
BIT 6 DMA REQUEST
Active high status of the DRQ output pin.
BIT 7 INTERRUPT PENDING
Active high bit indicating the state of the Floppy
Disk Interrupt output.
17
STATUS REGISTER B (SRB)
Address 3F1 READ ONLY
This register is read-only and monitors the state
of several disk interface pins in PS/2 and Model
30 modes. The SRB can be accessed at any
76543210
RESET
11DRIVE
SEL0
11000000
WDATA
TOGGLE
COND.
time when in PS/2 mode. In the PC/AT mode
the data bus pins D0 - D7 are held in a high
impedance state for a read of address 3F1.
PS/2 Mode
RDATA
TOGGLE
WGATEMOT
EN1
MOT
EN0
BIT 0 MOTOR ENABLE 0
Active high status of the MTR0 disk interface
output pin. This bit is low after a hardware reset
and unaffected by a software reset.
BIT 1 MOTOR ENABLE 1
Active high status of the MTR1 disk interface
output pin. This bit is low after a hardware reset
and unaffected by a software reset.
BIT 2 WRITE GATE
Active high status of the WGATE disk interface
output.
BIT 3 READ DATA TOGGLE
Every inactive edge of the RDATA input causes
this bit to change state.
BIT 4 WRITE DATA TOGGLE
Every inactive edge of the WDATA input causes
this bit to change state.
BIT 5 DRIVE SELECT 0
Reflects the status of the Drive Select 0 bit of
the DOR (address 3F2 bit 0). This bit is cleared
after a hardware reset and it is unaffected by a
software reset.
BIT 6 RESERVED
Always read as a logic "1".
BIT 7 RESERVED
Always read as a logic "1".
18
PS/2 Model 30 Mode
nDRV2 nDS1nDS0WDATA
RESET
COND.
76543210
F/F
RDATA
F/F
WGATE
F/F
nDS3nDS2
N/A1100011
BIT 0 nDRIVE SELECT 2
The DS2 disk interface is not supported.
(Always 1)
BIT 1 nDRIVE SELECT 3
The DS3 disk interface is not supported.
(Always 1)
BIT 2 WRITE GATE
Active high status of the latched WGATE output
signal. This bit is latched by the active going
edge of WGATE and is cleared by the read of
the DIR register.
BIT 3 READ DATA
Active high status of the latched RDATA output
signal. This bit is latched by the inactive going
edge of RDATA and is cleared by the read of the
DIR register.
BIT 4 WRITE DATA
Active high status of the latched WDATA output
signal. This bit is latched by the inactive going
edge of WDATA and is cleared by the read of
the DIR register. This bit is not gated with
WGATE.
BIT 5 nDRIVE SELECT 0
Active low status of the DS0 disk interface
output.
BIT 6 nDRIVE SELECT 1
Active low status of the DS1 disk interface
output.
BIT 7 nDRV2
Active low status of the DRV2 disk interface
input, this is not supported. (Always 1).
19
DIGITAL OUTPUT REGISTER (DOR)
Address 3F2 READ/WRITE
The DOR controls the drive select and motor
enables of the disk interface outputs. It also
76543210
MOT
EN3
RESET
MOT
EN2
MOT
EN1
00000000
COND.
contains the enable for the DMA logic and a
software reset bit. The contents of the DOR are
unaffected by a software reset. The DOR can
be written to at any time.
MOT
EN0
DMAEN nRESETDRIVE
SEL1
DRIVE
SEL0
BIT 0 and 1 DRIVE SELECT
These two bits are binary encoded for the drive
selects, thereby allowing only one drive to be
selected at one time.
BIT 2 nRESET
A logic "0" written to this bit resets the Floppy
disk controller. This reset will remain active
until a logic "1" is written to this bit. This
software reset does not affect the DSR and CCR
registers, nor does it affect the other bits of the
DOR register. The minimum reset duration
required is 100ns, therefore toggling this bit by
consecutive writes to this register is a valid
method of issuing a software reset.
BIT 3 DMAEN
PC/AT and Model 30 Mode:
Writing this bit to logic "1" will enable the DRQ,
nDACK, TC and FINTR outputs. This bit being
a logic "0" will disable the nDACK and TC
inputs, and hold the DRQ and FINTR outputs in
a high impedance state. This bit is a logic "0"
after a reset and in these modes.
TABLE 6 - DRIVE ACTIVATION VALUES
PS/2 Mode: In this mode the DRQ, nDACK, TC
and FINTR pins are always enabled. During a
reset, the DRQ, nDACK, TC, and FINTR pins
will remain enabled, but this bit will be cleared to
a logic "0".
BIT 4 MOTOR ENABLE 0
This bit controls the MTR0 disk interface output.
A logic "1" in this bit will cause the output pin to
go active.
BIT 5 MOTOR ENABLE 1
This bit controls the MTR1 disk interface output.
A logic "1" in this bit will cause the output pin to
go active.
BIT 6 MOTOR ENABLE 2
The MTR2 disk interface output is not. (Always
0)
BIT 7 MOTOR ENABLE 3
The MTR3 disk interface output is not. (Always
0)
DRIVEDOR VALUE
0
1
1CH
2DH
20
TAPE DRIVE REGISTER (TDR)
Address 3F3 READ/WRITE
TABLE 7 - TAPE SELECT BITS
TAPE SEL1
(TDR.1)
0
0
1
1
The Tape Drive Register (TDR) is included for
82077 software compatibility and allows the
user to assign tape support to a particular drive
during initialization. Any future references to
that drive automatically invokes tape support.
The TDR Tape Select bits TDR.[1:0] determine
TAPE SEL0
(TDR.0)
0
1
0
1
the tape drive number. TABLE 7 illustrates the
Tape Select Bit encoding. Note that drive 0 is
the boot device and cannot be assigned tape
support. The remaining Tape Drive Register
bits TDR.[7:2] are tristated when read. The TDR
is unaffected by a software reset.
Note:L0-CRF2-Bx = Logical Device 0, Configuration Register F2, Bit x.
22
DATA RATE SELECT REGISTER (DSR)
Address 3F4 WRITE ONLY
This register is write only. It is used to program
the data rate, amount of write precompensation,
power down status, and software reset. The
data rate is programmed using the
Configuration Control Register (CCR) not the
DSR, for PC/AT and PS/2 Model 30 and
76543210
S/W
RESET
RESET
POWER
0PRE-
DOWN
00000010
COND.
Microchannel applications. Other applications
can set the data rate in the DSR. The data rate
of the floppy controller is the most recent write
of either the DSR or CCR. The DSR is
unaffected by a software reset. A hardware
reset will set the DSR to 02H, which
corresponds to the default precompensation
setting and 250 Kbps.
COMP2
PRE-
COMP1
PRE-
COMP0
DRATE
SEL1
DRATE
SEL0
BIT 0 and 1 DATA RATE SELECT
These bits control the data rate of the floppy
controller. See Table 11 for the settings
corresponding to the individual data rates. The
data rate select bits are unaffected by a
software reset, and are set to 250 Kbps after a
hardware reset.
BIT 2 through 4 PRECOMPENSATION
SELECT
These three bits select the value of write
precompensation that will be applied to the
WDATA output signal. Table 10 shows the
precompensation values for the combination of
these bits settings. Track 0 is the default
starting track number to start precompensation.
this starting track number can be changed by
the configure command.
BIT 5 UNDEFINED
Should be written as a logic "0".
BIT 6 LOW POWER
A logic "1" written to this bit will put the floppy
controller into manual low power mode. The
floppy controller clock and data mode after a
software reset or access to the Data Register or
Main Status Register.
BIT 7 SOFTWARE RESET
This active high bit has the same function as the
DOR RESET (DOR bit 2) except that this bit is
self clearing.
Note: The DSR is Shadowed in the Floppy Data
Rate Select Shadow Register, LD8:CRC2[7:0].
separator circuits will be turned off. The
controller will come out of manual low power.
The Main Status Register is a read-only register
and indicates the status of the disk controller.
The Main Status Register can be read at any
76543210
RQMDIO
NON
DMA
CMD
BUSYReserved Reserved
time. The MSR indicates when the disk
controller is ready to receive data via the Data
Register. It should be read before each byte
transferring to or from the data register except in
DMA mode. No delay is required when reading
the MSR after a data transfer.
DRV1
BUSY
DRV0
BUSY
BIT 0 - 1 DRV x BUSY
These bits are set to 1s when a drive is in the
seek portion of a command, including implied
and overlapped seeks and recalibrates.
BIT 4 COMMAND BUSY
This bit is set to a 1 when a command is in
progress. This bit will go active after the
command byte has been accepted and goes
inactive at the end of the results phase. If there
is no result phase (Seek, Recalibrate
commands), this bit is returned to a 0 after the
last command byte.
BIT 5 NON-DMA
This mode is selected in the SPECIFY
command and will be set to a 1 during the
execution phase of a command. This is for
polled data transfers and helps differentiate
between the data transfer phase and the reading
of result bytes.
BIT 6 DIO
Indicates the direction of a data transfer once a
RQM is set. A 1 indicates a read and a 0
indicates a write is required.
BIT 7 RQM
Indicates that the host can transfer data if set to
a 1. No access is permitted if set to a 0.
DATA REGISTER (FIFO)
Address 3F5 READ/WRITE
All command parameter information, disk data
and result status are transferred between the
host processor and the floppy disk controller
through the Data Register.
Data transfers are governed by the RQM and
DIO bits in the Main Status Register.
The Data Register defaults to FIFO disabled
mode after any form of reset. This maintains
PC/AT hardware compatibility. The default
values can be changed through the Configure
command (enable full FIFO operation with
threshold control). The advantage of the FIFO
is that it allows the system a larger DMA latency
without causing a disk error. Table 14 gives
several examples of the delays with a FIFO.
The data is based upon the following formula:
Threshold # x1
DATA RATE
x 8 - 1.5 s = DELAY
At the start of a command, the FIFO action is
always disabled and command parameters
must be sent based upon the RQM and DIO bit
settings. As the command execution phase is
entered, the FIFO is cleared of any data to
ensure that invalid data is not transferred.
26
An overrun or underrun will terminate the
current command and the transfer of data. Disk
writes will complete the current sector by
TABLE 15 - FIFO SERVICE DELAY
FIFO THRESHOLD
MAXIMUM DELAY TO SERVICING
EXAMPLES
1 byte
2 bytes
8 bytes
15 bytes
1 x 4 µs - 1.5 µs = 2.5 µs
2 x 4 µs - 1.5 µs = 6.5 µs
8 x 4 µs - 1.5 µs = 30.5 µs
15 x 4 µs - 1.5 µs = 58.5 µs
generating a 00 pattern and valid CRC. Reads
require the host to remove the remaining data
so that the result phase may be entered.
AT 2 Mbps DATA RATE
FIFO THRESHOLD
EXAMPLES
1 byte
2 bytes
8 bytes
15 bytes
FIFO THRESHOLD
EXAMPLES
1 byte
2 bytes
8 bytes
15 bytes
MAXIMUM DELAY TO SERVICING
AT 1 Mbps DATA RATE
1 x 8 µs - 1.5 µs = 6.5 µs
2 x 8 µs - 1.5 µs = 14.5 µs
8 x 8 µs - 1.5 µs = 62.5 µs
15 x 8 µs - 1.5 µs = 118.5 µs
MAXIMUM DELAY TO SERVICING
AT 500 Kbps DATA RATE
1 x 16 µs - 1.5 µs = 14.5 µs
2 x 16 µs - 1.5 µs = 30.5 µs
8 x 16 µs - 1.5 µs = 126.5 µs
15 x 16 µs - 1.5 µs = 238.5 µs
27
DIGITAL INPUT REGISTER (DIR)
Address 3F7 READ ONLY
This register is read-only in all modes.
PC-AT Mode
76543210
DSK
CHG
RESET
N/AN/AN/AN/AN/AN/AN/AN/A
COND.
BIT 0 - 6 UNDEFINED
The data bus outputs D0 - 6 will remain in a
high impedance state during a read of this
register.
76543210
DSK
1111DRATE
CHG
RESET
N/AN/AN/AN/AN/AN/AN/A1
COND.
BIT 0 nHIGH DENS
This bit is low whenever the 500 Kbps or 1 Mbps
data rates are selected, and high when 250
Kbps and 300 Kbps are selected.
BITS 1 - 2 DATA RATE SELECT
These bits control the data rate of the floppy
controller. See Table 11 for the settings
corresponding to the individual data rates. The
data rate select bits are unaffected by a
software reset, and are set to 250 Kbps after a
hardware reset.
BIT 7 DSKCHG
This bit monitors the pin of the same name and
reflects the opposite value seen on the disk
cable or the value programmed in the Force
Disk Change Register (see Configuration
Register LD8:CRC1[1:0]).
PS/2 Mode
SEL1
DRATE
SEL0
nHIGH
nDENS
BITS 3 - 6 UNDEFINED
Always read as a logic "1"
BIT 7 DSKCHG
This bit monitors the pin of the same name and
reflects the opposite value seen on the disk
cable or the value programmed in the Force
Disk Change Register (see Configuration
Register LD8:CRC1[1:0]).
28
Model 30 Mode
RESET
COND.
76543210
DSK
CHG
N/A0000010
000DMAEN NOPREC DRATE
SEL1
DRATE
SEL0
BITS 0 - 1 DATA RATE SELECT
These bits control the data rate of the floppy
controller. See Table 11 for the settings
corresponding to the individual data rates. The
data rate select bits are unaffected by a
software reset, and are set to 250 Kbps after a
hardware reset.
BIT 2 NOPREC
This bit reflects the value of NOPREC bit set in
the CCR register.
BIT 3 DMAEN
This bit reflects the value of DMAEN bit set in
the DOR register bit 3.
BITS 4 - 6 UNDEFINED
Always read as a logic "0"
BIT 7 DSKCHG
This bit monitors the pin of the same name and
reflects the opposite value seen on the disk
cable or the value programmed in the Force
Disk Change Register (see Configuration
Register LD8:CRC1[1:0]).
29
CONFIGURATION CONTROL REGISTER (CCR)
Address 3F7 WRITE ONLY
PC/AT and PS/2 Modes
76543210
RESET
N/AN/AN/AN/AN/AN/A10
COND.
DRATE
SEL1
DRATE
SEL0
BIT 0 and 1 DATA RATE SELECT 0 and 1
These bits determine the data rate of the floppy
controller. See Table 11 for the appropriate
values.
76543210
RESET
N/AN/AN/AN/AN/AN/A10
COND.
BIT 0 and 1 DATA RATE SELECT 0 and 1
These bits determine the data rate of the floppy
controller. See Table 11 for the appropriate
values.
BIT 2 NO PRECOMPENSATION
This bit can be set by software, but it has no
functionality. It can be read by bit 2 of the DSR
when in Model 30 register mode. Unaffected by
software reset.
BIT 2 - 7 RESERVED
Should be set to a logical "0"
PS/2 Model 30 Mode
NOPREC DRATE
SEL1
DRATE
SEL0
BIT 3 - 7 RESERVED
Should be set to a logical "0"
Table 12 shows the state of the DENSEL pin.
The DENSEL pin is set high after a hardware
reset and is unaffected by the DOR and the
DSR resets.
STATUS REGISTER ENCODING
During the Result Phase of certain commands,
the Data Register contains data bytes that give
the status of the command just executed.
30
Loading...
+ 214 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.