Compaq Deskpro 4000N Technical Reference Manual
Compaq Deskpro 4000N Technical Reference Manual

Compaq Deskpro 4000N Technical Reference Manual

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

Advertisement

Technical
Reference
Guide
for
Compaq Deskpro 4000N and 4000S Personal Computers

Advertisement

Table of Contents
loading

Summary of Contents for Compaq Deskpro 4000N

  • Page 1: Technical Reference

    Technical Reference Guide Compaq Deskpro 4000N and 4000S Personal Computers...
  • Page 2 This hardcopy is designed to be placed into a standard 3-ring binder. Provided below is a title block that can be copied and cut out and placed into the slip or taped onto the edge of the binder. Deskpro 4000N and 4000S Personal Computers TRG...
  • Page 3 ENSURE THAT DEVICES DESIGNED TO BE USED WITH COMPAQ PRODUCTS COMPLY WITH FCC CLASS B EMISSIONS REQUIREMENTS. This guide contains information protected by copyright. No part of this document may be photocopied or reproduced in any form without prior written consent from Compaq Computer Corporation. 1997 Compaq Computer Corporation All rights reserved.
  • Page 4 Technical Reference Guide Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997...
  • Page 5: Table Of Contents

    3.2.1 PENTIUM MMX MICROPROCESSOR... 3-3 3.2.2 BUS/PROCESSING SPEED SELECT... 3-4 3.2.3 SECONDARY (L2) CACHE MEMORY ... 3-4 3.2.4 SYSTEM MEMORY... 3-5 3.2.5 SUBSYSTEM CONFIGURATION... 3-8 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997 Technical Reference Guide...
  • Page 6 STANDARD PARALLEL PORT MODE ... 5-21 5.5.2 ENHANCED PARALLEL PORT MODE ... 5-22 5.5.3 EXTENDED CAPABILITIES PORT MODE ... 5-22 5.5.4 PARALLEL INTERFACE PROGRAMMING ... 5-23 5.5.5 PARALLEL INTERFACE CONNECTOR ... 5-27 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997...
  • Page 7 8.2.3 SILENTBOOT ... 8-2 ACCESSING CONFIGURATION MEMORY ... 8-3 8.3.1 ACCESSING CMOS... 8-3 8.3.2 SETTING DEFAULT PARAMETERS ... 8-3 8.3.3 ACCESSING CMOS FEATURE BITS... 8-4 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997 Technical Reference Guide...
  • Page 8 C.2.2 KEYBOARD LAYOUTS ...C-4 C.2.3 KEYS...C-7 C.2.4 KEYBOARD COMMANDS...C-10 C.2.5 SCAN CODES ...C-10 Compaq Deskpro 4000N and 4000S Personal Computers ) ... A-3 )... A-4 ) ... A-4 ) ... A-5 ) ... A-5 ) ... A-6 ) ... A-6 )...
  • Page 9 SCANNER DESCRIPTION ...C-14 C.3.1 SCANNER OPERATION...C-15 C.3.2 SCANNER INTERFACE ...C-18 C.3.3 SCANNER SPECIFICATIONS/REQUIREMENTS...C-20 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997 Technical Reference Guide...
  • Page 10: List Of Figures

    IGURE ATIONAL INDOWS C–9. S IGURE CANNER LEMENTS C–10. S IGURE CANNER OPERATION viii Compaq Deskpro 4000N and 4000S Personal Computers LIST OF FIGURES ERSONAL OMPUTER WITH ONITOR ... 2-4 ... 2-5 ... 2-6 ... 2-7 OMPONENT 4000S S YSTEM RCHITECTURE ...
  • Page 11: List Of Tables

    EGISTERS ... 5-12 EGISTERS ... 5-14 ONNECTOR INOUT ... 5-15 INOUT ... 5-16 EGISTERS Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997 Technical Reference Guide ... 3-4 ETTINGS )4-10 ASED YSTEMS )... 4-23 YSTEM ... 4-42...
  • Page 12 C–3. S ABLE CANNER ERFORMANCE C–4. S I/F S ABLE CANNER IGNALS C–5. S ABLE CANNER PECIFICATIONS Compaq Deskpro 4000N and 4000S Personal Computers ... 5-17 EGISTERS ... 5-23 ONFIGURATION EGISTERS ... 5-24 ONTROL EGISTERS ... 5-27 INOUT ... 5-29 OMMANDS...
  • Page 13: Chapter 1 Introduction

    1. Chapter 1 INTRODUCTION ABOUT THIS GUIDE This guide provides technical information about the Compaq Deskpro 4000N and 4000S Personal Computers. This document includes information regarding system design, function, and features that can be used by programmers, engineers, technicians, and system administrators.
  • Page 14: Notational Conventions

    (MSb) of a byte. Bytes, words, double words, and quad words are typically shown with most-significant portions on the left or top and the least- significant portions on the right or bottom respectively. Compaq Deskpro 4000N and 4000S Personal Computers Index port Data port...
  • Page 15: Common Acronyms And Abbreviations

    Compaq system management / Compaq server management direct access arrangement digital-to-analog converter decibel direct current DOS compatibility hole Display Data Channel direction flag Table 1-1. Acronyms and Abbreviations Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Continued...
  • Page 16 JEDEC Joint Electron Device Engineering Council Kb / KB kilobits / kilobytes (x 1024 bits / x 1024 bytes) Kb/s kilobits per second kilogram kilohertz kilovolt Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Continued...
  • Page 17 Relative humidity root mean square read-only memory revolutions per minute real time clock read/write Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Continued...
  • Page 18 VESA Video Electronic Standards Association video graphics adapter vibrato VLSI very large scale integration VRAM Video RAM watt WRAM Windows RAM zero flag zero insertion force (socket) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 19: Chapter 2 System Overview

    Chapter 2 SYSTEM OVERVIEW INTRODUCTION The Compaq Deskpro 4000N and 4000S Personal Computers are based on Pentium microprocessors featuring MMX technology and designed with an emphasis on speed, storage capacity, and multimedia compatibility to meet the requirements of the business environment.
  • Page 20: Features

    Compaq PS/2-type mouse APM 1.2 power management support Plug ’n Play compatible (with ESCD support) Energy Star compliant 76-watt, surge-tolerant power supply The Deskpro 4000N and 4000S support the Intelligent Manageability features listed below: Configuration Asset Management Management Remote ROM Flash...
  • Page 21: Model Differences

    Diskette drive installed: Hard drive size: 1.6 or 2.1 GB CD-ROM support: 2.2.3 OPTIONS Options that are specific to the Compaq Deskpro 4000N and 4000S Series Personal Computers include: System Memory: 8-MB DIMM 16-MB DIMM 32-MB DIMM 64-MB DIMM 128-MB DIMM Compaq Deskpro Computers are easily upgraded and enhanced with peripheral devices designed to meet PCI and ISA standards.
  • Page 22: Mechanical Design

    2.3.1 CABINET LAYOUT NOTES: [1] Deskpro 4000S only [2] Front panel access on 4000S only. Figure 2–2. Cabinet Layout, Front View Compaq Deskpro 4000N and 4000S Personal Computers Item Function Power Switch Power-On Light Hard Drive Activity Light 1.44 MB Diskette Drive (3.5” Drive) [1] 1/3 Height Drive Bay (3.5”...
  • Page 23: Figure 2-3. Cabinet Layout , R

    Serial Interface Connector B Serial Interface Connector A Network Interface AUI Connector Network Interface RJ-45 Connector Mouse Connector Keyboard Connector Monitor Interface Figure 2–3. Cabinet Layout, Rear View Compaq Deskpro 4000N and 4000S Personal Computers First Edition -September Technical Reference Guide...
  • Page 24: Chassis Layout

    PCI Combo Slot 1 Slots On Riser Card, Rear View System Board NOTES: [1] Deskpro 4000S only Figure 2–4. Chassis Layout, Top View Compaq Deskpro 4000N and 4000S Personal Computers Back Front First Edition - September 1997 Power Supply Drive Bays...
  • Page 25: System Board Layout

    Primary IDE connector (P20) Diskette drive connector (J1) Microprocessor (in type 7 socket) DIMM sockets (J7, J8) CD-ROM drive connector P25 audio out (J11) Riser card connector (J4) Compaq Deskpro 4000N and 4000S Personal Computers First Edition -September Technical Reference Guide...
  • Page 26: System Architecture

    Chapter 2 System Overview SYSTEM ARCHITECTURE The Compaq Deskpro 4000N and 4000S Personal Computers featuring MMX technology are based on a Pentium MXX microprocessor matched with a support chipset that is complimentary in design. Both the “N” and “S” systems share the same basic architecture (Figure 2-7), which utilizes three main buses: the Host bus, the Peripheral Component Interconnect (PCI) bus, and the Industry Standard Architecture (ISA) bus.
  • Page 27: Figure 2-6. Compaq Deskpro

    PC 87307 I/O Controller Keyboard/ Diskette Mouse I/F NOTES: CD models only. [1] Deskpro 4000S only. Figure 2–6. Compaq Deskpro 4000N and 4000S System Architecture, Block diagram Compaq Deskpro 4000N and 4000S Personal Computers Mem. Bus System North Memory Bridge...
  • Page 28: Microprocessor

    2.4.1 MICROPROCESSOR The Compaq Deskpro 4000N and 4000S Personal Computers feature the Pentium MMX microprocessor that is backward-compatible with software written for x86-type processors. The Pentium MMX microprocessor includes a 32 KB L1 cache and extensions to the instruction set that provide higher performance for processing graphics and video code.
  • Page 29: Support Chipset

    2.4.3 SUPPORT CHIPSET Table 2-2 shows the chipsets used for the Deskpro 4000N and 4000S systems. Table 2–2. Support Chipsets Function Host/PCI (North) Bridge: System Controller Data Buffer PCI/ISA (South) Bridge: EIDE Controller DMA Controller Interrupt Controller Timer/Counter NMI Registers Reset Control Reg.
  • Page 30: Universal Serial Bus Interface

    NOTE: The graphics subsystem is not upgradeable. Table 2–3. Graphics Subsystem Overview Parameter Graphics Controller Graphics Memory Maximum Resolution 2-12 Compaq Deskpro 4000N and 4000S Personal Computers Table 2-3. Graphics Subsystem Overview First Edition - September 1997 Type S3 Trio64V2 2 MB SGRAM...
  • Page 31: Specifications

    SPECIFICATIONS This section includes the environmental, electrical, and physical specifications for the Compaq Deskpro 4000N and 4000S Series Personal Computers. Table 2–4. Environmental Specifications Parameter Air Temperature Shock Vibration 0.000215g^ 2/Hz, 10-300 Hz [1] Humidity 80% RH @ 36 Maximum Altitude NOTE: Values are subject to change without notice.
  • Page 32: Table 2-7. Diskette Drives

    Random Full Stroke Audio Output Level Cache Buffer Data Transfer Time Sustained Startup Time 2-14 Compaq Deskpro 4000N and 4000S Personal Computers Table 2-7. Measurement 3.5 in 1.44 MB/720 KB diskette 3 ms/3 ms 94 ms/94ms 15 ms 100 ms Table 2-8.
  • Page 33: Table 2-9. Hard Drives

    Single Track: Average: Full Stroke: Disk RPM: EDMA Support: PIO Support: Power Mode Command Support: Drive Fault Prediction: Compaq Deskpro 4000N and 4000S Personal Computers First Edition -September Technical Reference Guide Table 2-9. 1.6 GB EIDE 5.25 in 94.0 Mb/s 16.7 MB/s...
  • Page 34 Chapter 2 System Overview This page is intentionally blank. 2-16 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 35: Chapter 3 Processor/Memory Subsystem

    PROCESSOR/ MEMORY SUBSYSTEM Chapter 3 PROCESSOR/MEMORY SUBSYSTEM INTRODUCTION This chapter describes the processor/cache memory subsystem of the Compaq Deskpro 4000N and 4000S Series of Personal Computers. This chapter includes the following topics: Pentium MMX-based processor/memory subsystem [3.2] Klamath-based processor/memory subsystem [3.4] Table 3-1 lists the highlights of the processor/memory architecture.
  • Page 36: Pentium Mmx-Based Processor/Memory Subsystem

    3-1-1-1 read/write cycles at 60 and 66 MHz on a cache hit. The standard system memory configuration consists of 16 or 32 megabytes of SDRAM system memory. The system memory can be expanded to 256 megabytes. Compaq Deskpro 4000N and 4000S Personal Computers Memory/PCI 256-KB...
  • Page 37: Pentium Mmx Microprocessor

    Pentium MMX Microprocessor 32-KB w/MMX Cache Branch Dual Pipeline Prediction Math Coproc. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 38: Bus/Processing Speed Select

    The L2 cache provides a typical cycle time (in Host clocks) of 3-1-1-1 for burst reads (cache hit) and writes (write back). The L2 controller allows the full system memory range to be cached. Compaq Deskpro 4000N and 4000S Personal Computers Table 3-2. Microprocessor...
  • Page 39: System Memory

    The supported format complies to the JEDEC specification for 128-byte EEPROMs. This system also provides support for 256-byte EEPROMs to include additional Compaq-added features such as the part number, serial number, and error logging. The SPD format as supported in this system is shown in Table 3-5.
  • Page 40: Spd Address Map

    AX-E827h (discussed in Chapter 8, “BIOS ROM”). If the BIOS finds an installed module that is not supported then the memory controller is programmed to indicate empty rows as appropriate. Compaq Deskpro 4000N and 4000S Personal Computers Table 3-5. SPD Address Map (SDRAM DIMM)
  • Page 41: Figure 3-3. System Memorym

    0000 0000h NOTE: All locations in the 256 megabytes of system memory are cacheable in the L2 cache. Figure 3–3. System Memory Map Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide 4 GB...
  • Page 42: Subsystem Configuration

    DRAM ROW End Addr. DRAM Type 61..63h Shadow RAM Control NOTE: Refer to VIA Technologies, Inc. documentation for detailed description of registers. Assume unmarked locations/gaps as reserved. Compaq Deskpro 4000N and 4000S Personal Computers Table 3-6. Reset PCI Config. Value Addr. Register...
  • Page 43: Chapter 4 System Support

    System management support (4.7) This chapter covers functions provided by off-the-shelf chipsets and therefore describes only basic aspects of these functions as well as information unique to the Compaq Deskpro 4000 Personal Computers. For detailed information on specific components, refer to the applicable manufacturer’s documentation.
  • Page 44: Pci Bus Overview

    USB function, and ACPI function are contained within the South Bridge component). Host/PCI Bridge Function PCI/ISA Bridge Function ISA Bus Figure 4–1. PCI Bus Devices and Functions Compaq Deskpro 4000N and 4000S Personal Computers Host Bus Graphics Controller 32-Bit PCI Bus 0 EIDE Cntlr. ACPI Cntlr. Function...
  • Page 45: Pci Connector

    AD00 +5 VDC +5 VDC ACK64- [1] REQ64- [1] +5 VDC +5 VDC +5 VDC +5 VDC Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide B Signal A Signal Reserved C/BE7- C/BE6- C/BE5- C/BE4-...
  • Page 46: Pci Bus Master Arbitration

    The PCI/ISA bridge cannot become master until the locking device unlocks the bus. Consequently, a master should not lock the bus for long periods of time or latency problems could occur. Compaq Deskpro 4000N and 4000S Personal Computers Table 4-2. Device...
  • Page 47: Pci Bus Transactions

    Configuration Cycle Type ID. 00 = Type 0 01 = Type 1 PCI Configuration Data Register I/O Port 0CFCh, R/W, (8-, 16-, 32-bit access) Function 31..0 Configuration Data. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 48: Figure 4-3. Type 0 Configuration

    Graphics Controller Network Interface Controller The function number (CF8h, bits <10..8>) is used to select a particular function within a multifunction device as shown in Table 4-4. Compaq Deskpro 4000N and 4000S Personal Computers 24 23 16 15 11 10...
  • Page 49: Pci Configuration

    Group) and a device ID (assigned by the vender). The device and vender IDs for the devices used in these systems are listed in Table 4-5. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide Function No.
  • Page 50: Option Rom Mapping

    During POST, the PCI bus is scanned for devices that contain their own specific firmware in ROM. Such option ROM data, if detected, is loaded into system memory’s DOS compatibility area (refer to the system memory map shown in chapter 3). Compaq Deskpro 4000N and 4000S Personal Computers Table 4-5. Vender ID...
  • Page 51: Pci Interrupt Mapping

    INTC- [2] 1000 = Reserved 1001 = IRQ9 1010 = IRQ10 1011 = IRQ11 1100 = IRQ12 1101 = Reserved 1110 = IRQ14 1111 = IRQ15 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 52: Pci Configuration

    Type F DMA Control 46, 47h Misc. Control Misc. Control IDE Interrupt Routing NOTE: Assume unmarked locations/gaps as reserved. 4-10 Compaq Deskpro 4000N and 4000S Personal Computers Table 4-6. PCI/ISA Bridge Configuration Registers (VT82C586 Function 0) Reset PCI Config. Value Addr.
  • Page 53: Isa Bus Overview

    NOTE: This section describes the ISA bus in general and highlights bus implementation in this particular system. For detailed information regarding ISA bus operation, refer to the Compaq Extended Industry Standard Architecture (EISA) Technical Reference Guide. The industry standard architecture (ISA) bus provides an 8-/16-bit path for standard I/O peripherals as well as for an optional device that can be installed in the ISA expansion slot (if present).
  • Page 54: Isa Connector

    REFRESH- BCLK IRQ7 IRQ6 IRQ5 IRQ4 IRQ3 DAK2- BALE +5 VDC 4-12 Compaq Deskpro 4000N and 4000S Personal Computers 16-Bit ISA Connection 8-Bit ISA Connection Table 4-7. ISA Expansion Connector Pinout 16-Bit ISA Interface Signal Signal I/O CHK- M16- I/O16-...
  • Page 55: Isa Bus Transactions

    When the address changes, devices on the bus may decode the latchable address (LA23..17) lines and then latch them. This arrangement allows devices to decode chip selects and M16- before the next cycle actually begins. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 56 (at 0.5 VDC) or 0.1 ma in the high state (at 3.75 VDC). The logic-high voltage at the bus ranges from 3.75 VDC to 5.5 VDC. The logic low voltage ranges from 0 VDC to 0.8 VDC. 4-14 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 57: Direct Memory Access

    NOTE: This section describes DMA in general. For detailed information regarding DMA operation, refer to the Compaq Extended Industry Standard Architecture (EISA) Technical Reference Guide. Note, however, that EISA enhancements as described in the referenced document are not supported in this (ISA only) system.
  • Page 58 DMA controller 1 can move up to 64 Kbytes of data per DMA transfer. DMA controller 2 can move up to 64 Kwords (128 Kbytes) of data per DMA transfer. Word DMA operations are only possible between 16-bit memory and 16-bit peripherals. 4-16 Compaq Deskpro 4000N and 4000S Personal Computers Table 4-9. Page Register I/O Port 087h...
  • Page 59 Temporary (Command) Reset Pointer Flip-Flop (Command) Master Reset (Command) Reset Mask Register (Command) NOTE: For a detailed description of the DMA registers, refer to the Compaq EISA Technical Reference Guide . Table 4-10. DMA Controller Registers Controller 1 008h 008h...
  • Page 60: Interrupts

    (IRQn). The power-up default configuration has the PIRQn disabled. Table 4-11 lists the standard source configuration for maskable interrupts and their priorities. If more than one interrupt is pending, the highest priority (lowest number) is processed first. 4-18 Compaq Deskpro 4000N and 4000S Personal Computers South Bridge Component IRQ1,3..7 Interrupt IRQ9..12,...
  • Page 61: Table 4-11. Maskable Interrupt

    Base Address, Int. Cntlr. 2 0A1h Initialization Command Word 2-4, Int. Cntlr. 2 The initialization and operation of the interrupt control registers follows standard AT-type protocol. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide Table 4-11. Notes...
  • Page 62 NMI-. Note that the lower six bits of register at I/O port 70h affect RTC operation and should be considered when changing NMI- generation status. 4-20 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 63 APM BIOS to service the SMI- according to the cause of the timeout. Although the SMI- is primarily used for power managment the interrupt is also employed for the QuickLock/QuickBlank functions as well. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 64: Interval Timer

    Read or write value, counter 2 043h Control Word Interval timer operation follows standard AT-type protocol. For a detailed description of timer registers and operation, refer to the Compaq Extended Industry Standard Architecture Expansion Bus Technical Reference Guide. 4.3.6 ISA CONFIGURATION The working relationship between the PCI and ISA buses requires that certain parameters be configured.
  • Page 65: System Clock Distribution

    “ TLAN ASIC “ VT82C595, VT82C586 “ 87307, VT82C586 Crystal LXT970 “ TLAN ASIC Crystal ICS9147 ICS9147 [2] ISA bus, VT82C586, ESS1868 VT82C586 ISA bus Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide 4-23...
  • Page 66: Real-Time Clock And Configuration Memory

    Once expired, the soldered battery is by-passed by connecting a replacement battery (Compaq p/n 160274-001 or equivalent 4.5 VDC @ 660 ma alkaline battery) to header P14 pins 9-12. On-board logic regulates the external battery voltage to 3 VDC.
  • Page 67: Configuration Memory Byte Definitions

    Custom drive types 65, 66, 68, 15 Serial port 1 address Serial port 2 address COM1/COM2 port configuration DEh-DFh Checksum of locations 90h to DDh E0h-FFh Client Management error log Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide 4-25...
  • Page 68 0 = RTC has lost power 1 = RTC has not lost power 6..0 Reserved 4-26 Compaq Deskpro 4000N and 4000S Personal Computers 1000 = 3.90625 ms 1001 = 7.8125 ms 1010 = 15. 625 ms 1011 = 31.25 ms 1100 = 62.50 ms...
  • Page 69 0101 = Type 5 1101 = Type 13 0110 = Type 6 1110 = Type 14 0111 = Type 7 1111 = other (use bytes 1Ah) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide 4-27...
  • Page 70 Bytes 17h and 18h hold a 16-bit value that specifies the extended memory size in increments of 1-KB (1024) bytes. 4-28 Compaq Deskpro 4000N and 4000S Personal Computers 10 = 3 drives 11 = 4 drives First Edition - September 1997...
  • Page 71 0 = Allowed 1 = Not allowed Reserved Diagnostic Status Byte Address 00 = Memory locations 80C00000h-80C00004h 01 = I/O ports 878h-87Ch 11 = neither place Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide 4-29...
  • Page 72 Internal Compaq Memory: 00000 = None 00001 = 512 KB 00010 = 1 MB 00011 = 1.5 MB 11111 = 15.5 MB Configuration Byte 29h, Miscellaneous Configuration Data 4-30 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 73 Screen Blank Control: 0 = No screen blank 1 = Screen blank w/QuickLock 4..0 ScreenSave Timeout. (Index to SIT monitor timeout record) 000000 = Disabled Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide 4-31...
  • Page 74 0 = Not installed, 1 = Installed Standard Numeric Coprocessor Present: 0 = Not installed, 1 = Installed 3..0 Reserved Configuration Byte 34h, International Language Support Default Value = 00h 4-32 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 75 These four bytes record the time at which the hood of the system was removed: Byte 41h, month & day Byte 42h, year and month Byte 43h, minutes and seconds Byte 44h, removal flag and minutes Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide 4-33...
  • Page 76 Default Value = xxh Function ECC Status for DIMM 3 ECC Status for DIMM 2 ECC Status for DIMM 1 ECC Status for DIMM 0 3..0 Reserved 4-34 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 77 Configuration Byte 81h, 82h, Total Super Extended Memory Tested This byte holds the value of the amount of extended system memory that tested good during POST. The amount is given in 64-KB increments. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 78 Configuration Byte 8Ah-8Fh, APM Resume Timer These bytes hold the APM timer values: Byte 8Ah, minutes Byte 8Bh, hours Byte 8Ch, day Byte 8Dh, month Byte 8Eh, year Byte 8Fh, century 4-36 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 79 The ISA card uses the RAMDAC on the PCI card The palette snooping feature (sometimes called “RAMDAC shadowing”) on the PCI card is enabled and functioning properly. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 80 Secondary Hard Drive Controller 0 = Disable 1 = Enable Secondary Hard Drive Controller IRQ 00 = IRQ10 01 = IRQ11 10 = IRQ12 11 = IRQ15 Reserved 4-38 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 81 These bytes contain the number of cylinders, heads, and sectors per track for hard drives C, D, E, and F respectively. The mapping for each drive is as follows: Drive 65 (C) Drive 66 (D) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide Drive 68 (E)
  • Page 82 Default Value = FEh, 7Dh Function 7..2 Base I/O Address (in packed format) (Algorithm: [Addr. - 200h] / 8) (i.e., 3Fh = 3F8h, 1Fh = 2F8h, 00 = 200h) 1..0 Reserved 4-40 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 83: I/O Map And Register Accessing

    PCI Configuration Address (dword access) 0CFCh PCI Configuration Data (byte, word, or dword access) F800..F83Fh ACPI & GPIOs NOTE: Assume unmarked gaps are reserved/unused. Table 4-17. System I/O Map Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide 4-41...
  • Page 84: 87307 I/O Controller Configuration

    07h and writing the desired offset to the index register. The data is then either written to or read from the data register. 4-42 Compaq Deskpro 4000N and 4000S Personal Computers Table 4-18. Reset Value First Edition - September 1997...
  • Page 85 GPIO Port 2 Direction, I/O Addr. 07Dh, (87307 I/O Controller) GPIO Port 2 Output Type, I/O Addr. 07Eh, (87307 I/O Controller) GPIO Port 2 Pullup Control, I/O Addr. 07Fh, (87307 I/O Controller) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 86: System Management Support

    F9FFFh FA000h FFFFFh The flashing functions are handled using the INT15 AX-E822h BIOS interface. * Black Box logic Compaq-proprietary and controlled exclusively through firmware in the BIOS ROM. 4-44 Compaq Deskpro 4000N and 4000S Personal Computers Table 4-19. Data Type...
  • Page 87: Password Protection

    Black Box* logic. Black Box logic acting as the sentry for the administrator password by preventing inadvertent or unauthorized writing to the Flash ROM. Black Box logic is Compaq-proprietary and controlled exclusively through firmware in BIOS ROM. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997...
  • Page 88: I/O Security

    . NOTE: Although the SMI is used for initiating QuickLock/QuickBlank functions, these functions are not considered power management features. 4-46 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 89: Temperature Sensing

    A second sensor (TC623) is used to detect a deadly temperature condition. This sensor, which is non-programmable (fixed), activates a signal that disables the ICS9147 clock generator, effectively shutting down the system. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September1997 Technical Reference Guide...
  • Page 90: Power Management

    A separate timer function (enabled through CMOS location 1Fh, bit <1>) can be enabled to place the monitor into the Off mode after 45 minutes of being in Suspend mode. 4-48 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 91: Chapter 5 Input/Output Interfaces

    Refer to chapter 2 for possible physical limitations on drive accommodations. page 5-1 page 5-10 page 5-15 page 5-21 page 5-28 page 5-35 page 5-37 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 92: Ide Pci Configuration

    Bus Master IDE Status (Primary) Bus Master IDE Descriptor Ptr (Pri.) Bus Master IDE Command (Secondary) Bus Master IDE Status (Secondary) Bus Master IDE Descriptor Ptr (Sec.) Compaq Deskpro 4000N and 4000S Personal Computers Table 5-1. Value Conf. Reset Addr.
  • Page 93: Ide Ata Control

    The contents of this register are valid when the following conditions exist: Error bit is set in the Status register Hard drive controller has completed execution of its internal diagnostics Table 5-3. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 94 These registers contain the starting cylinder number for each hard drive access. The three most- significant bits of the value are held in byte address 1F5h (bits <2..0>) while the remaining bits are held in location 1F4h. Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997...
  • Page 95 The alternate Status register at location 3F6h holds the same status data as location 1F7h but does not clear hardware conditions when read. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 96: Ide Controllerc

    Alternate Status Register, I/O Port 3F6h/376h (Read Only) The alternate Status register at location 3F6h holds the same status data as location 1F7h but does not clear hardware conditions when read. Compaq Deskpro 4000N and 4000S Personal Computers Value 20h*...
  • Page 97 1110 = 1 0111 = 8 1111 = 0 Drive Select: 00 = Disabled 01 = Drive 1 selected 10 = Drive 0 selected 11 = Invalid Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 98: Ide Connectors

    [1] Primary connector wired to IRQ14, secondary connector wired to IRQ15. [2] Pin 39 is used for spindle sync and drive activity (becomes SPSYNC/DACT-) when synchronous drive are connected. Compaq Deskpro 4000N and 4000S Personal Computers Table 5-5. 40-Pin IDE Connector Pinout...
  • Page 99: 50-Pin Ide Connector

    Ground IOW- I/O Write Ground IOR- I/O Read NOTES: [1] Pin is left floating to make CD-ROM always slave. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Table 5-5. Signal Description Ground CHRDY...
  • Page 100: Diskette Drive Interface

    Result phase, in which case the Execution phase can be followed by a Command phase. During periods of inactivity, the diskette drive controller is in a non-operation mode known as the Idle phase. 5-10 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997...
  • Page 101: Diskette Drive Programming

    Base Address MSB Base Address LSB Interrupt Select Interrupt Type DMA Channel Select Report DMA Assignment Configuration Data Drive ID Table 5-6. Reset Value Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide 5-11...
  • Page 102: Table 5-8. Diskette Drivec

    0 = Reset controller, 1 = Enable controller Drive Select 00 = Drive 1 01 = Drive 2 10 = Reserved 11 = Tape drive 5-12 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-7. First Edition – September 1997...
  • Page 103 00 = 500 Kb/s 01 = 300 Kb/s 10 = 250 Kb/s 11 = 1 or 2 Mb/s (depending on TUP reg. Bit <1>) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide 5-13...
  • Page 104: Diskette Drive Connector

    Drive 2 select Ground DRV 1 SEL- Drive 1 select Ground MTR 2 ON- Activates drive motor Ground 5-14 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-8. Signal DIR- STEP- WR DATA- WR ENABLE- TRK 00- WR PRTK- RD DATA-...
  • Page 105: Serial Interfaces

    DB-9 B (RS-232) TX/RX/CNTRL UART2 (Log. Dev. 5) Table 5-9. DB-9 Serial Connector Pinout Signal Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Description Data Set Ready Request To Send Clear To Send...
  • Page 106: Serial Interface Programming

    Interrupt Type DMA Channel Select Report DMA Assignment Configuration Data NOTES: [1] Device 5 (UART2) / Device 6 (UART1) 5-16 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-11. Reset Value [1] 00h / 00h 00h / 00h 02h / 03h...
  • Page 107: Table 5-12. Serial Interface

    When read by the CPU, this byte contains receive data. When written to by the CPU, the byte contains data to be transmitted. Table 5-12. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 108 010 = Received data available 011 = Receiver line status reg. 100,101 = Reserved 110 = Character time-out (highest priority) 111 = Reserved Interrupt Pending (if cleared) 5-18 Compaq Deskpro 4000N and 4000S Personal Computers Decimal Divisor Baud Rate 2304 2400 1536 3600...
  • Page 109 Internal Loopback Enabled (if set) Serial Interface Interrupts Enabled (if set) Reserved RTS Signal Active (if set) DTR Signal Active (if set) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide 1 = Enable TX/RX FIFOs 5-19...
  • Page 110 DSR- Has Changed State Since Last Read CTS- Has Changed State Since Last Read Scratch Pad Register, I/O Port 3FFh/2FFh This register is not used in this system. 5-20 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997...
  • Page 111: Parallel Interface

    The SPP mode uses three registers for operation: the Data register (DTR), the Status register (STR) and the Control register (CTR). Address decoding in SPP mode includes address lines A0 and A1. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 112: Enhanced Parallel Port Mode

    ECP allow the parallel port to be controlled by software. In these modes, the FIFO is cleared and not used, and DMA and RLE are inhibited. 5-22 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997...
  • Page 113: Parallel Interface Programming

    I/O Range Check Base Address MSB Base Address LSB Interrupt Select Interrupt Type DMA Channel Select Report DMA Assignment Configuration Data Table 5-13. Reset Value Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide 5-23...
  • Page 114: Table 5-13. Parallel Interface

    In ECP mode in the forward (output) direction, a write to this location places a tagged command byte into the FIFO and reads have no effect. 5-24 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-14. Parallel Interface Control Registers...
  • Page 115 These registers are used for reading/writing data. Port 0 is used for all transfers. Ports 1-3 are used for transferring the additional bytes of 16- or 32-bit transfers through port 0. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 116 0 = Not full (at least 1 empty byte 1 = Full FIFO Empty Status (Read Only) 0 = Not empty (contains at least 1 byte) 1 = Empty 5-26 Compaq Deskpro 4000N and 4000S Personal Computers First Edition – September 1997...
  • Page 117: Parallel Interface Connector

    Busy Paper End SLCT Select Table 5-15. DB-25 Parallel Connector Pinout Signal ERR- INIT- SLCTIN- Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Description Line Feed Error Initialize Paper Select In Ground Ground...
  • Page 118: Keyboard/Pointing Device Interface

    Tch (clock High) Th (Data Hold) Tss (Stop Bit Setup) Tsh (Stop Bit Hold) Figure 5–6. 8042-To-Keyboard Transmission of Code EDh, Timing Diagram 5-28 Compaq Deskpro 4000N and 4000S Personal Computers Tcl Tch Minimum Maximum 0 us 80 us 25 us...
  • Page 119: 8042-T O -Keyboard

    Set Type Key - Make/Brake Set Type Key - Make Resend Reset Note: [1] Used in Mode 3 only. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Table 5-16. Value Description Enables LED indicators. Value EDh is followed by an option byte that specifies the indicator as follows: Bits <7..3>...
  • Page 120: Pointing Device Interface Operation

    DMA Channel Select Report DMA Assignment Configuration Data [1] NOTES: [1] Keyboard I/F only. [2] Keyboard I/F / Mouse I/F 5-30 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-17. Reset Value [2] 01h / 00h 00h / na 02h / na...
  • Page 121 A CPU write to I/O port 64h places a command value into the input buffer and sets the CMD/DATA bit of the status register (bit <3>) to CMD. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 122: Cpu Commandst

    Disable keyboard command (sets bit <4> of the 8042 command byte). Enable keyboard command (clears bit <4> of the 8042 command byte). 5-32 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-18. CPU Commands To The 8042 First Edition – September 1997...
  • Page 123 Pulse output port. Controls the pulsing of bits <3..0> of the output port (0 = pulse, 1 = don’t pulse). Note that pulsing bit <0> will reset the system. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 124: Keyboard/Pointing Device Interface Connector

    Table 5–19. Keyboard/Pointing Device Connector Pinout Keyboard/Pointing Device Connector Pinout Signal Description DATA Data Not Connected Ground 5-34 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-19. Signal + 5 VDC First Edition – September 1997 Description Power Clock Not Connected...
  • Page 125: Ethernet Interface

    Distribution” for a discussion of the power control logic). TX/RX Filter TX/RX, Cntrl TX/RX Filter Link Active (Yellow) (Green) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide AUI Connector TX/RX +12 VDC RJ-45 Connector TX/RX 5-35...
  • Page 126: Nic Configuration/Control

    The network interface provides two choices of connection to a LAN system as shown in the following figures. Figure 5–9. Ethernet AUI Connector (DB-15, viewed from rear) 8 7 6 5 Figure 5–10. Ethernet RJ-45 Connector 5-36 Compaq Deskpro 4000N and 4000S Personal Computers Description Ground Control In TX Data Ground...
  • Page 127: Universal Serial Bus Interface

    Miscellaneous Control 2 Serial Base Release Number C0-C1h Legacy Support Reg. (compliant w/UHCI v1.1) Table 5-20. 1106h 3038h 0000h 0280h 2000h Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Reset Value All 0’s 5-37...
  • Page 128: Usb Control

    Figure 5–11. Universal Serial Bus Connector (one of two as viewed from rear of chassis) Table 5–22. USB Connector Pinout Signal Description +5 VDC USB- Data (minus) 5-38 Compaq Deskpro 4000N and 4000S Personal Computers Table 5-21. Table 5-22. USB Connector Pinout Signal USB+ First Edition – September 1997 Description...
  • Page 129: Chapter 6 Graphics Subsystem

    Graphics Memory: Maximum Resolution: The standard graphics controller used in the Deskpro 4000N/4000S Series is a PCI peripheral that can be identified by software reading the “Vendor ID” and “Device ID” words in PCI configuration address space locations 00h and 02h respectively. The values are as follows:...
  • Page 130: Subsystem Description

    Horizontal and vertical interpolation On-the-fly stretching/blending of video streams Double-buffering for seamless video 170-MHz 24-bit (true color) RAMDAC Designed for SGRAM operation VESA DDC1 and DDC2B support Compaq Deskpro 4000N and 4000S Personal Computers Graphics Memory Bus (63..00) S3 Trio64 V2/GX Graphics...
  • Page 131: S3 Trio64V2/Gx Graphics Configurations

    [1] Mode not supported by OS/2. [2] Mode not supported by Win 3.1. Table 6-2. S3 Trio64V2/GX-Based Subsystem Extended VGA Display Modes Bits Per Pixel Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Color Depth Notes 65 K 16.7 M...
  • Page 132: S3 Trio64V2/Gx Graphics Subsystem Programming

    Attribute Controller 3C2h Misc. Control / Status 3C5h.00..04h* Sequencer * Index at base minus 1 (i.e., if base is 3B5h, index is at 3B4h. Compaq Deskpro 4000N and 4000S Personal Computers Table 6-3. PCI Config. Address Function 10h-13h I/O Base Address...
  • Page 133: Monitor Power Control

    Monitor’s high voltage section and heater circuitry is turned off. Wake up from Off mode is a little longer than from Suspend. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 134: Connectors

    Monitor Identification Ground R GND Red Analog Ground G GND Blue Analog Ground B GND Green Analog Ground Compaq Deskpro 4000N and 4000S Personal Computers Table 6-7. DB-15 Monitor Connector Pinout Signal Mon. ID HSync VSync First Edition - September 1997...
  • Page 135: Chapter 7 Power Supply And Distribution

    This chapter describes the power supply and method of general power and signal distribution in the Compaq Deskpro 4000N and 4000S Personal Computers. All models use a 76-watt power supply assembly. Power distribution is basically similar in all models. Topics covered in this chapter include: Power supply assembly/control (7.2)
  • Page 136: Power Supply Assembly

    A temperature sensor within the power supply can cause the power supply to override the FAN OFF signal if the ambient temperature of the power supply is too warm. Compaq Deskpro 4000N and 4000S Personal Computers Table 7-1. Power Supply Assembly Specifications Tolerance/ Min.
  • Page 137: Power Control

    Pressed and Held At least Four Seconds Before Release: If the button is held in for at least four seconds and then released, PS On is negated, de-activating the power supply. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 138: Power Distribution

    All + and - values are VDC RTN = Return (signal ground) GND = Power ground RS = Remote sense FO = Fan off Figure 7–2. Power Cable Diagram Compaq Deskpro 4000N and 4000S Personal Computers P1 [1] Pin 4 Pin 5 Pin 6 RSRTN...
  • Page 139: Low Voltage Distribution

    +3.3 VDC Power Supply Assembly +12 VDC 2.5 V Proc. Detect Microprocessor Figure 7–3. Low Voltage Supply, Block Diagram 2SK1388 +2.8 VDC Regulator Circuit Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Microprocessor...
  • Page 140: Signal Distribution

    [2] No cable used for interface; direct connection between PS assembly and system board. CD Models only. An audio card must be added by the user if audio is desired. Figure 7–4. Signal Distribution Diagram Compaq Deskpro 4000N and 4000S Personal Computers 32-Bit PCI Bus PCI Connector...
  • Page 141: Chapter 8 Bios Rom

    For detailed information regarding the BIOS, refer to the Compaq Basic Input/Output System Technical Reference Guide. page 8-2 page 8-5 page 8-17 page 8-18 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 142: Boot Functions

    The system supports new system boot functions to support remote ROM flashing and PC97 requirements. This system also supports the EL Torito specification for bootable CDs. NOTE: This system will not boot CDs intended for use in Compaq ProLiant and ProSignia products.
  • Page 143: Accessing Configuration Memory

    This function is intended for Plug ‘n Play (PnP) support (refer to section 8.5 “Plug ‘n Play” for more information. Two variances of the function are available and described as follows: Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 144: Accessing Cmos Feature Bits

    The BIOS function INT 15, AX=E845h is used for accessing areas in non-volatile memory used to store variables for various features. This is a Client Management function and is described in section 8.4. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 145: Client Management Support

    Entry point for the BIOS32 Service Directory Revision level Length of data structure (no. of 16-byte units) Checksum (should add up to 00h) Reserved (all 0s) Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide...
  • Page 146 = Entry point for the service relative to the BASE returned in EBX The following subsections describe aspects of Client Management unique to this system. For a general description of these BIOS functions refer to the Compaq BIOS Technical Reference Guide.
  • Page 147: System Id

    ES:BX to indicate the location of the SIT. This section lists the default values that should be read from the SIT. For specific bit descriptions and more detailed information on the SIT refer to the Compaq Basic Input/Output System (BIOS) Technical Reference Guide. Power Conservation Record, SIT Record 01h...
  • Page 148 Total Soldered Memory 0Ah, 0Bh Maximum Memory Installable 0Ch, 0Dh Reserved Processor Designer System Cache Error Correction NOTE: [1] Determined by system at runtime. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Default Value Default Value Default Value...
  • Page 149 Serial Port Connector Type Serial Port Maximum Speed Serial Port Maximum Speed Serial Port Maximum Speed DMA Burst Mode Support Keyboard Connector Type Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Default Value 04h, DT...
  • Page 150 Automatic Server Recovery Record, SIT Record 0Bh (Not Used) Memory Banks Information Record, SIT Record 0Ch (Not Used) Multiprocessor Feature Information Record, SIT Record 0Dh (Not Used) 8-10 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Default Value...
  • Page 151 Hood Removal Support Bit Location Hood Removal NOBOOT CMOS Byte Offset Hood Removal NOBOOT CMOS Bit Location Software Hood Lock NOTE: [1] Determined at runtime. Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide Default Value...
  • Page 152: Temperature Sensor

    8.4.4 DRIVE FAULT PREDICTION The Compaq BIOS provides direct Drive Fault Prediction support for IDE-type hard drives. This feature is provided through two BIOS calls. Function INT 15, AX=E817h is used to retrieve a 512-byte block of drive attribute data while the INT 15, AX=E81Bh is used to retrieve the drive’s warranty threshold data.
  • Page 153: Dimm Support

    POST message if ECC-correctable errors are detectable during POST memory test DIMMs with 128 bytes of EEPROM can be used although 256-byte EEPROM DIMMs are recommended for full support of Compaq intelligent manageability features. The following BIOS functions have been added to provide specific support of DIMMs: INT 15h AX=E827h, BH=00h;...
  • Page 154 “207-ECC Corrected Single Bit Errors in DIMM/SIMM Pair(s) x,x…” x = DIMM/SIMM pair numbers 0 through 3. 8-14 Compaq Deskpro 4000N and 4000S Personal Computers AH = 0 AH = 86h (Not supported) First Edition - September 1997...
  • Page 155: Security Functions

    0010 = Bit 2 0011 = Bit 3 0100 = Bit 4 0101 = Bit 5 0110 = Bit 6 0111 = Bit 7 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide 8-15...
  • Page 156: Accessing Cmos Feature Bits

    QuickBoot Mode (full boot always) 001Ah BBS IPL Order NOTE: For full bit definitions refer to the Compaq BIOS Technical Reference Guide . [1] Determined at runtime. 8-16 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 157: Pnp Support

    (and require intervention) by the user. Table 8-1 shows the PnP functions supported (for detailed PnP information refer to the Compaq BIOS Technical Reference Guide): Table 8–1. PnP BIOS Functions...
  • Page 158: Power Management Support

    Chapter 8 BIOS ROM POWER MANAGEMENT SUPPORT The Compaq Deskpro 2000 system includes Advanced Power Management (APM) BIOS support that provides, if so configured, for the automatic shutdown of certain areas within a system after a specified time of inactivity has elapsed. When activity is detected, APM brings the system back up to full power to provide complete user support.
  • Page 159 Get PM Event 530Ch Get Power State 530Dh Enable/Disable Device Power Management 530Eh APM Driver Version 530Fh Engage/Disengage Power Management 5380h OEM (Compaq) Specific APM Function Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997 Technical Reference Guide 8-19...
  • Page 160 Chapter 8 BIOS ROM This page is intentionally blank. 8-20 Compaq Deskpro 4000N and 4000S Personal Computers First Edition - September 1997...
  • Page 161: Appendix A Error Messages And Codes

    CPU-generated exception interrupt. Missing graphics/video adapter or faulty video memory (system still boots). Checksum value does not match value in BIOS. CMOS RAM shutdown register failure. Faulty cache. Compaq Personal Computers Changed - Septembe 1997 Technical Reference Guide...
  • Page 162: Power-On Self Test (Post) Messages

    System Board Device Resource Conflict System Memory Size Mismatch NOTE: PCI and PnP messages are displayed with bus, device, and function information. Compaq Personal Computers Table A-3. Power-On Self Test (POST) Messages Probable Cause Serial ID checksum of PnP card was invalid.
  • Page 163: Processor Error Messages

    Speed test Auto mode out of range 112-12 Speed test variable speed mode inoperative 113-01 Protected mode test failed 114-01 Speaker test failed 116-xx Way 0 read/write test failed 199-00 Installed devices test failed Compaq Personal Computers Changed - Septembe 1997 Technical Reference Guide...
  • Page 164: Memory Error Messages

    LED test, 8042 self-test failed 303-02 LED test, reset test failed 303-03 LED test, reset failed 303-04 LED test, LED command test failed Compaq Personal Computers Table A-5. Table A-6. Keyboard Error Messages Message Probable Cause 303-05 LED test, LED command test failed...
  • Page 165: Printer Error Messages

    320x200 mode, color set 1 test failed 510-01 640x200 mode test failed 511-01 Screen memory page test failed 512-01 Gray scale test failed 514-01 White screen test failed 516-01 Noise pattern test failed Compaq Personal Computers Changed - Septembe 1997 Technical Reference Guide...
  • Page 166: Diskette Drive Error Messages

    1101-09 Port test, interrupt circuit failure 1101-10 Port test, COM1 set to invalid INT 1101-11 Port test, COM2 set to invalid INT Compaq Personal Computers Table A-9. Diskette Drive Error Messages Message Probable Cause 6xx-20 Failed to get drive type...
  • Page 167: Modem Communications Error Messages

    Dial number string too long 1210-08 Modem time-out waiting for remote response 1210-09 Modem exceeded maximum redial limit 1210-10 Line quality prevented remote response 1210-11 Modem time-out waiting for remote connection Compaq Personal Computers Changed - Septembe 1997 Technical Reference Guide...
  • Page 168: Hard Drive Error Messages

    1705-xx = Hard drive controller test 1706-xx = Hard drive ready test 1707-xx = Hard drive recalibrate test 1708-xx = Hard drive format bad track test 1709-xx = Hard drive reset controller test Compaq Personal Computers Table A-12. Hard Drive Error Messages Message Probable Cause...
  • Page 169: Hard Drive Error Messages

    AVGA 256-color test failed 2458-xx AVGA BitBLT test failed 2468-xx AVGA DAC test failed 2477-xx AVGA data path test failed 2478-xx AVGA BitBLT test failed 2480-xx AVGA linedraw test failed Compaq Personal Computers Changed - Septembe 1997 Technical Reference Guide...
  • Page 170: Audio Error Messages (3206- Xx

    Ethernet configuration test failed 6016-xx Ethernet reset test failed 6028-xx Ethernet int. loopback test failed 6029-xx Ethernet ext. loopback test failed A-10 Compaq Personal Computers Table A-15. Table A-16. Network Interface Error Messages Message Probable Cause 6054-xx Token ring configuration test failed...
  • Page 171: Scsi Interface Error Messages

    Autoloader reported tape not loaded properly Table A-18. Message Probable Cause 8601-06 Left block not selected 8601-07 Right block not selected 8601-08 Timeout occurred 8601-09 Mouse loopback test failed 8601-10 Pointing device is inoperative Compaq Personal Computers Changed - Septembe 1997 Technical Reference Guide A-11...
  • Page 172: Cemm Priviledged Ops Error Messages

    INT 0 (arithmetic overflow) INT 3 Array bounds check Invalid opcode Coprocessor device not available Double fault Coprocessor segment overrun A-12 Compaq Personal Computers Table A-19. CEMM Privileged Ops Error Messages Message Probable Cause LL3 instruction MOV CRx instruction MOV DRx instruction MOV TRx instruction Table A-20.
  • Page 173: Appendix Bascii Character Set

    Table B–1. ASCII Character Set Symbol Blank ¶ § Table B-1. ASCII Character Set Symbol Symbol Space “ & ‘ < > Compaq Personal Computers Original - July 1996 Technical Reference Guide Symbol ‘ Continued...
  • Page 174 94, 95 Shift and key w/corresponding symbol Key w/corresponding symbol 97-126 Key w/corresponding symbol or Shift and key w/corresponding symbol Ctrl - 128-255 Alt and decimal digit(s) of desired character Compaq Personal Computers Symbol Symbol á í ó ú ñ...
  • Page 175: Appendix Ckeyboard

    C. Appendix C KEYBOARD INTRODUCTION This appendix describes the Compaq keyboard that is included as standard with the system unit. The keyboard complies with the industry-standard classification of an “enhanced keyboard” and includes a separate cursor control key cluster, twelve “function” keys, and enhanced programmability for additional functions.
  • Page 176: Keystroke Processing

    (and the respective key strokes) are lost. Multi-byte sequences must fit entirely into the buffer before the respective keystroke can be registered. Compaq Personal Computers Caps Lock Lock...
  • Page 177: Transmissions To The System

    Tcl Tch Minimum Maximum 60 us 80 us 30 us 35 us 30 us 45 us 45 us 62 us 8 us 14 us Compaq Personal Computers Changed - November 1996 Technical Reference Guide Parity Stop (MSb)
  • Page 178: Keyboard Layouts

    Appendix C Keyboard C.2.2 KEYBOARD LAYOUTS C.2.2.1 Standard Enhanced Keyboards Figure C–3. U.S. English (101-Key) Keyboard Key Positions Figure C–4. National (102-Key) Keyboard Key Positions Compaq Personal Computers Changed - November 1996...
  • Page 179: Figure C-5. U.s. Englishw

    C.2.2.2 Windows Enhanced Keyboards Figure C–5. U.S. English Windows (101W-Key) Keyboard Key Positions Figure C–6. National Windows (102W-Key) Keyboard Key Positions 111 112 111 112 Compaq Personal Computers Changed - November 1996 Technical Reference Guide...
  • Page 180: Figure C-7. U.s. Englishw

    Appendix C Keyboard C.2.2.3 Windows Enhanced Keyboards w/Erase-Ease Figure C–7. U.S. English Windows (101WE-Key) Keyboard Key Positions Figure C–8. National Windows (102WE-Key) Keyboard Key Positions Compaq Personal Computers 111 112 111 112 Changed - November 1996...
  • Page 181: Keys

    The key that is pressed to resume operation is discarded. This function may be ignored by the application. The Esc, Fn (function), Insert, Home, Page Up/Down, Delete, and End keys operate at the discretion of the application software. Compaq Personal Computers Changed - November 1996 Technical Reference Guide...
  • Page 182 The Ctrl, Alt, and Delete keystroke combination (required twice if in the Windows environment) initiates a system reset (warm boot) that is handled by the BIOS. Compaq Personal Computers Changed - November 1996...
  • Page 183 Minimize all Undo minimize all Display Run dialog box Perform system function Reserved for OEM use (see following text) Backspace Spacebar Spacebar Backspace Spacebar Spacebar Compaq Personal Computers Changed - November 1996 Technical Reference Guide ) is used in combination with...
  • Page 184: Keyboard Commands

    F0h (i.e., Break code for 0Eh is “F0h 0Eh”). Mode 3: Mode 3 generates a different scan code set from Modes 1 and 2. Code translation must be disabled since translation for this mode cannot be done. C-10 Compaq Personal Computers Table C-1. Keyboard-to-System Commands Value Description 00h [1] Indicates to the system that a switch closure couldn’t be...
  • Page 185: Table C-2. Keyboard Scanc

    E0 12 E0 7D/E0 F0 7D E0 F0 12 [6] 77/F0 77 E0 4A/E0 F0 4A E0 F0 12 E0 4A/E0 F0 4A E0 12 [1] 7C/F0 7C 7B/F0 7B 0D/F0 0D 15/F0 15 Compaq Personal Computers Mode 3 08/na 07/na 0F/na 17/na 1F/na 27/na...
  • Page 186 E0 @a E0 51/E0 D1 E0 AA [6] Caps Lock ‘ Enter Shift (left) ([x] Notes listed at end of table.) C-12 Compaq Personal Computers Make / Break Codes (Hex) Mode 1 Mode 2 11/91 1D/F0 1D 12/92 24/F0 24...
  • Page 187 E0 12 E0 27/E0 F0 27 E0 F0 12 [6] E0 2F/E0 F0 2F E0 F0 12 E0 2F/E0 F0 2F E0 12 [5] E0 12 E0 2F/E0 F0 2F E0 F0 12 [6 66/F0 66 Compaq Personal Computers Mode 3 31/F0 31 3A/F0 3A 41/F0 41...
  • Page 188: Scanner Description

    The scanner elements are powered from an external 24 VDC power supply. Internal components use +5, +9, and -12 VDC. C-14 Compaq Personal Computers Clocks & LED Motor Cntrl. 32 KB Digital...
  • Page 189: Scanner Operation

    MTF compensation parameters from the system unit to improve the quality of the scanned image. effect until the next power cycle (cold boot). of the scanner. Compaq Personal Computers Changed - November 1996 Technical Reference Guide C-15...
  • Page 190: Figure C-10. Scanner Operation

    Threshold Output Desired? Gamma Conversion Halftone Output Desired? Grayscale Compensation Figure C–10. Scanner operation Flow Chart C-16 Compaq Personal Computers Error Type Diffusion Halftone Pattern Dither Pattern Dither Algorithm Packetized & Sent to Host Finish Changed - November 1996 Threshold (Intel.)
  • Page 191: Table C-3. Scanner Performance

    1 bpp 4 bpp 8 bpp 7 sec 11 sec 14 sec 7 sec 27 sec 36 sec 12 sec 60 sec 60 sec 17 sec 62 sec 80 sec Compaq Personal Computers Changed - November 1996 Technical Reference Guide C-17...
  • Page 192: Scanner Interface

    The scanner communicates with the system unit (host) using a serial port as the primary choice of connection. The scanner interface is adaptable to several types of host connections as shown in Table C-4 (unshaded portion describes standard scanner interface with Compaq system unit). Table C–4. Scanner I/F Signals...
  • Page 193 (LSb first), and a stop bit. The clock (SCLK) signal is provided by the scanner. The Mser mode is similar to isochronous transmission. During host-to-scanner transfers, the scanner Compaq Personal Computers Changed - November 1996 Technical Reference Guide...
  • Page 194: Scanner Specifications/Requirements

    Serial port Windows 3.1, Windows for Workgroups 3.11, or Windows 95 or later 4 megabytes of RAM (8 megabytes recommended) 50 megabytes free disk space C-20 Compaq Personal Computers Table C-5. Specification [1] 20.5 in (52.07 cm) 2.5 in (6.35 cm) 9 in (22.86 cm)
  • Page 195 (micro)processor, C-2 keyboard layouts, C-4 keyboard/pointing device interface, 5-27 math coprocessor, 3-3 media write protect function (BIOS), 8-15 memory map 586-based system, 3-8 Compaq Deskpro 2000 Personal Computers with MMX Technology First Edition – July 1997 Technical Reference Guide...
  • Page 196 QuickLock/QuickBlank, 4-45 RAM, 2-10 reference sources, 1-1 remote flashing, 8-2 ROM BIOS, 8-1 RTC, 4-24 Compaq Deskpro 2000 Personal Computers with MMX Technology scan codes (keyboard), C-10 scanner keyboard, C-14 SCSI adapter, 5-34 SDRAM performance times, 3-6 security features, 4-44...

This manual is also suitable for:

Deskpro 4000s

Table of Contents