VISUAL BASIC DYNAMIC LINK LIBRARY ACCESS TO PORT I/O (BEBBER.DLL)
Version 1.0.0 (SHAREWARE DISTRIBUTION)

Copyright (c) - 1995 by Douglas A. Bebber. All rights reserved.


DESCRIPTION:

This DLL provides read and write access to IO ports on IBM compatible PCs.
The DLL was written primarily for Visual Basic developers. It can be used by
any program that can call a DLL. This DLL is a 16-bit DLL not intended for
use on NT or any true 32-bit operating system which use device drivers
for low-level device I/O.

The DLL (BEBBER.DLL) was written in C and has two available functions 
defined as follows:

unsigned char ReadIOPort(int Port)

void WriteIOPort(int Port, unsigned char PortData)

These port I/O operations operate on a byte basis (input and output bytes).
Registered users receive two additional functions that provide word oriented
I/O (input and output words).

DISTRIBUTION/RESTRICTIONS
=========================
You may not distribute this product as part of a commercial offering without
registering it prior to such distribution. Registered users may distribute the
product to customers on a non-exclusive, royalty-free basis.



HOW TO REGISTER
================
To register this shareware product send $25.00 (U.S.) to:

Douglas A. Bebber
2420 Briar Oak Circle
Sarasota, Florida 34232

Registrations may also be made via CompuServe SWREG or via credit card by:

voice: 1-800- 830-8703
fax: 941-377-7392


Registered users will receive the full featured DLL. And information on
other engineering related software products. Similar device related I/O
software products are available for different high-level (visual) design
environments on several platforms as well as OS device drivers.

You may direct information requests to the author at: 

CompuServe: 72123,3661
Internet: 72123.3661@compuserve.com


Please direct all defect (Bug) reports to the author at the above email 
address.


VISUAL BASIC DECLARE STATEMENTS
================================

Declare Function ReadIOPort Lib "BEBBER.DLL" (ByVal Port As Integer) As Integer
Declare Function WriteIOPort Lib "BEBBER.DLL" (ByVal Port As Integer, ByVal PortData As Integer) As Integer


EXAMPLE VISUAL BASIC USAGE
==========================

READ IO PORT:

x% = ReadIOPort(768)   'Read the contents of IO port 768 (hexadecimal 300).


WRITE IO PORT:

x% = WriteIOPort(768, 255) 'Write 255 (hexadecimal: FF) to IO port 768
			   ' (hexadecimal: 300).