tailieunhanh - Parallel Port Complete- P1

Parallel Port Complete- P1: From its origin as a simple printer interface, the personal computer's parallel port has evolved into a place to plug in just about anything you might want to hook to a computer. The parallel port is popular because it's versatile-you can use it for output, input, or bidirectional links-and because it's available-every PC has one. | Parallel Port Complete Programming Interfacing Using the PC s Parallel Printer Port Includes EPP ECP IEEE-1284 Source code i n Visual Basic User tips INCLUDES DISK Jan Axelson Please purchase PDF Split-Merge on to remove this watermark. Table of Contents Introduction ix 1 Essentials 1 Defining the Port 1 Port Types System Resources 4 Addressing Interrupts DMA Channels Finding Existing Ports Configuring 6 Port Options Drivers Adding a Port Port Hardware 9 Connectors The Circuits Inside Cables Multiple Uses for One Port 11 Security Keys Alternatives to the Parallel Port13 Serial Interfaces Parallel Port Complete Please purchase PDF Split-Merge on to remove this watermark. Other Parallel Interfaces Custom I O Cards PC Cards 2 Accessing Ports 17 The Signals 17 Centronics Roots Naming Conventions The Data Register The Status Register The Control Register Bidirectional Ports Addressing 24 Finding Ports Direct Port I O 26 Programming in Basic Other Programming Languages Other Ways to Access Ports 31 LPT Access in Visual Basic Windows API Calls DOS and BIOS Interrupts 3 Programming Issues 39 Options for Device Drivers 39 Simple Application Routines DOS Drivers Windows Drivers Custom Controls Speed 45 Hardware Limits Software Limits 4 Programming Tools 53 Routines for Port Access 53 Data Port Access Status Port Access Control Port Access Bit Operations A Form Template 60 Saving Initialization Data Finding Selecting and Testing Ports 5 Experiments 85 Viewing and Controlling the Bits 85 Circuits for Testing Output Types Component Substitutions iv Parallel Port Complete Please purchase PDF Split-Merge on to remove this .