Diskette Drive Programming; Table 5-7. Diskette Drivec - Compaq Deskpro 4000N Technical Reference Manual

Compaq personal computer user manual
Hide thumbs Also See for Deskpro 4000N:
Table of Contents

Advertisement

5.3.1

DISKETTE DRIVE PROGRAMMING

5.3.1.1 Diskette Drive Interface Configuration
The diskette drive controller must be configured for a specific address and also must be enabled
before it can be used. Address selection and enabling of the diskette drive interface are affected
by firmware through the PnP configuration registers of the 87307 I/O controller.
The PnP configuration registers are accessed through I/O registers 15Ch (index) and 15Dh
(data). The diskette drive I/F is initiated by firmware selecting logical device 3 of the 87307. This
is accomplished by the following sequence:
1. Write 07h to I/O register 15Ch.
2. Write 03h to I/O register 15Dh (this selects the diskette drive I/F).
3. Write 30h to I/O register 15Ch.
4. Write 01h to I/O register 15Dh (this activates the interface).
The diskette drive I/F configuration registers are listed in the following table:
Table 5–7. Diskette Drive Controller Configuration Registers
Diskette Drive Interface Configuration Registers
Index
Address
Function
30h
Activate
31h
I/O Range Check
60h
Base Address MSB
61h
Base Address LSB
70h
Interrupt Select
71h
Interrupt Type
74h
DMA Channel Select
75h
Report DMA Assignment
F0h
Configuration Data
F1h
Drive ID
Table 5-6.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
R/W
R/W
Compaq Deskpro 4000N and 4000S Personal Computers
First Edition - September 1997
Technical Reference Guide
Reset
Value
01h
00h
03h
F0h
06h
03h
02h
04h
--
--
5-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Deskpro 4000s

Table of Contents