Compaq EN Series Technical Reference Manual page 118

Desktop and minitower form factors
Hide thumbs Also See for EN Series:
Table of Contents

Advertisement

5.3.1.2 Diskette Drive Interface Control
The BIOS function INT 13 provides basic control of the diskette drive interface. The diskette
drive interface can be controlled by software through I/O-mapped registers listed in Table 5-7.
Table 5–7. Diskette Drive Controller Registers
Diskette Drive Interface Control Registers
Primary
Alternate
Address
Address
3F1h
371h
3F2h
372h
3F4h
374h
3F5h
375h
3F7h
377h
The base address (3F1h or 371h) and enabling of the diskette drive controller is selected through
the Function Enable Register (FER, addr. 399.00h) of the 87307 I/O controller. Address selection
and enabling is automatically done by the BIOS during POST but can also be accomplished with
the Setup utility and other software.
The following paragraphs describe the diskette drive interface control registers.
Media ID Register, I/O Port 3F1h/371h (Read Only)
Bit
Function
7..5
Media Type:
xx1 = Invalid
000 = 5.25 inch drive
010 = 2.88 MB (3.5 inch drive)
100 = 1.44 MB (3.5 inch drive)
110 = 720 KB (3.5 inch drive)
4..2
Reserved
1,0
Tape Select:
00 = None
01 = Drive 1
Drive Control Register, I/O Port 3F2h/372h (Write Only)
Bit
Function
7,6
Reserved
5
Drive 2 Motor
0 = Off, 1 = On
4
Drive 1 Motor
0 = Off, 1 = On
3
Interrupt / DMA Enable
0 = Disabled, 1 = Enabled
2
Controller Enable
0 = Reset controller, 1 = Enable controller
1,0
Drive Select
00 = Drive 1
01 = Drive 2
10 = Reserved
11 = Tape drive
Table 5-7.
Register
Media ID
Drive Control
Main Status
Data
Drive Status
Data Transfer Rate
10 = Drive 2
11 = Drive 3
Compaq Deskpro EN Series of Personal Computers
Desktop and Minitower Form Factors
Third Edition - September 1998
Technical Reference Guide
R/W
R
W
R
R/W
R
W
5-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Deskpro en

Table of Contents