Contents
--------

1. What is VBIO.DLL v1.1
2. Installation
3. How to use the program
4. Status of the program
5. Distribution Status
6. About author


1. What is VBIO.DLL v1.1
------------------------

VBIO.DLL is a 32-bit DLL that enables VisualBasic (version 4, 5 or 6) to
perform port I/O and direct memory read/write operations. Eight vital
functions and statements, namely INP, INPW, OUT, OUTW, PEEK, PEEKW, POKE,
and POKEW are available in this DLL.


2. Installation
---------------

Upon expanding the zip file you will get the following:

   1. VBIO.DLL     - the DLL for Visual Basic
   2. README.TXT   - this file

Then copy VBIO.DLL to your system directory (e.g. \windows\system\).


3. How to use the program
-------------------------

The following functions/statements are available in the DLL:

   Name     Type        Purpose
   ----     ----        -------
   Anjan    Statement   Unlocks the DLL
   Inp      Function    Returns a byte read from a machine input port
   Inpw     Function    Returns a word read from a machine input port
   Out      Statement   Sends a byte to a machine output port
   Outw     Statement   Sends a word to a machine output port
   Peek     Function    Returns a byte read from a specified memory location
   Peekw    Function    Returns a word read from a specified memory location
   Poke     Statement   Writes a byte into a specified memory location
   Pokew    Statement   Writes a word into a specified memory location

A memory location should be specified with proper segment and offset values.
In VisualBasic 4, 5 or 6 (General) (Declaration) you need to set the
following string:

Private Declare Sub Anjan Lib "vbio.dll" ()
Private Declare Function Inp Lib "vbio.dll" (ByVal port&) As Integer
Private Declare Function Inpw Lib "vbio.dll" (ByVal port&) As Long
Private Declare Sub Out Lib "vbio.dll" (ByVal port&, ByVal byt%)
Private Declare Sub Outw Lib "vbio.dll" (ByVal port&, ByVal byt&)
Private Declare Function Peek Lib "vbio.dll" (ByVal seg&, ByVal off&) As Integer
Private Declare Function Peekw Lib "vbio.dll" (ByVal seg&, ByVal off&) As Long
Private Declare Sub Poke Lib "vbio.dll" (ByVal seg&, ByVal off&, ByVal byt%)
Private Declare Sub Pokew Lib "vbio.dll" (ByVal seg&, ByVal off&, ByVal byt&)

After loading, the DLL should be first unlocked by invoking 'Anjan'.
It may be placed in the (Form) (Load).

These routines were tested with VisualBasic 4, 5 and 6 under Win95.
Your experience with Win98 and WinNT are warmly welcomed.
Please e-mail me.


4. Status of the program
------------------------

This program is freeware and is freely distributable.
The author will not be responsible for any kind of loss occuring
due to the use of this package.


5. Distribution status
----------------------

This program should not be distributed for commercial purposes.


6. About author
---------------

Anjan Rakshit
Calcutta, India
http://personal.vsnl.com/ar
e-mail: ar@giascl01.vsnl.net.in
        anjan_rakshit@hotmail.com
