1.	The purpose of the program: A 8, 16 and 32-bit DLL that gives Visual Basic 5.0 access 
	to a computer's I/O ports. The DLL is written in Assembly and compiled in C++. It is 
	fast and contains 8, 16 and 32-bit I/O commands and are compatible with Windows 95 and 
	98. I haven't tried it on NT, so please let me know if it's works there also.

	The DOS based Basic languages has INP and OUT commands that gives access to I/O Ports. 
	The C language has INP and OUTP but Visual Basic 5.0 has no equivalent statement for 
	accessing an I/O port. Our new DOLLx8.DLL add this capability to Visual Basic 5.0 and 
	you can reach any port in your PC in 8-, 16- or 32-bit code.

	The software was developed for our DOLLx8 SMART Home Automation System.

2. 	Once the DOLLx8.ZIP file is unzipped using Winzip 6.2, copy the DOLLx8.DLL file to you 
	system directory and that's it. It's ready to use.

3. 	AKIRA Communications (UK) Ltd. copyrights the DOLLx8.DLL. It's shareware and it's free 
	for distribution, but not for FREE. The DOLLx8.DLL is NOT free and registration grants 
	you a single user license. You may install DOLLx8.DLL on more than one computer, as long 
	as you are the only person that uses it. There is no time limit built into the DLL.

	You are required to purchase one copy of DOLLx8.DLL for each user or developer that will 
	use them. Site licenses are available and each DLL has it's own built in registered 
	product code.

	Prices: 
	
	1 to 5 US$15.00 each
	6 to 10 US$14.00 each
	11 to 20 US$13.00 each
	21 to 30 US$11.00 each 
	30+ USD$8.00 each 	

	Your own DLL I/O commands: You have also the option to 'own' your own I/O DLL with your 
	own INP and OUT commands (example: myINP and myOUT). We will compile the DLL's for you 
	with product codes of your choice. The cost for (min. 30 DLL's) is US$300.00 for the 
	set-up and US$ 5.00 for each. You can also purchase one if you like and then the price 
	would be US$305.00

	The DOLLx8.DLL is now FREE for download and you can use it for a trial period of 30 days. 
	During this period of time you can NOT sell or include the shareware version in your own 
	personal or commercial software unless you have register and pay for the DLL. You will 
	receive a new DLL with each registration with built in serial number.

	NOTE! The shareware version has a Copyright notice built in.

	For order, please send us an email to:sales@akiracom.net or attila.fiko@mailexcite.com 
	and you will receive the DLL's by email.

4. 	However please not that there is a 30 days trial period and you are after that time 
	requested to register and pay a small fee for the program. The Shareware notice built 
	into the program will then be replaced with a serial number and the registered versions 
	are distributed by email.

5. 	For more information please contact http://www.akiracom.net  
	or 
	http://homepages.ihug.co.nz/~akiracom/index.html 
	For further questions please email: support@akiracom.net or attila.fiko@mailexcite.com 

AKIRA Communications (UK) Ltd., London 21/09/98 ver. 1.00

-------------------------------------------------------------------------------------
Thank you for downloading our 32-bit DOLLx8.DLL file for VB 5.00
-------------------------------------------------------------------------------------

This is an un-registered shareware version with 30 days trial. The DOLLx8.DLL file must ONLY be 
distributed with this un-modified readme.txt].txt file.

The syntax how to use the DOLLx8.DLL is:

             (8-bit) WriteDOLLx8 baseio,data 
             (8-bit) ReadDOLLx8 (baseio) 
             (16-bit) W_DOLLx8W baseio, data 
             (16-bit) R_DOLLx8W (baseio) 
             (32-bit) W_DOLLx8L baseio, data 
             (32-bit) R_DOLLx8L (baseio) 

In VisualBasic 4.0, 5.0 or 6.0 (General) (Declaration) you need to set the following string for 
8-bit I/O port function:

Private Declare Function ReadDOLLx8 Lib "dollx8" (ByVal x8Port%) As Integer
Private Declare Sub WriteDOLLx8 Lib "dollx8.dll" (ByVal x8Port%, ByVal value%)

or... 

In (General) (Declaration) you need to set the following string for 16-bit I/O:

Private Declare Function R_DOLLx8W Lib "dollx8" (ByVal x8Port%) As Integer
Private Declare Sub W_DOLLx8W Lib "dollx8.dll" (ByVal x8Port%, ByVal value%)

or...

In (General) (Declaration) you need to set the following string for 32-bit I/O:

Private Declare Function R_DOLLx8L Lib "dollx8" (ByVal x8Port%) As Long
Private Declare Sub W_DOLLx8L Lib "dollx8.dll" (ByVal x8Port%, ByVal value%)


*** ____________________________________________ ***
*** To send 8-bit data try this in your VB form: ***
*** ____________________________________________ ***

Private Sub send_menu_Click()

Dim baseio:	'I/O port variable
baseio=952:	'The address where you would like to send the data
send_databits=255:' Output data bits

WriteDOLLx8 baseio, send_databits:	' Send data to port

End Sub



*** _______________________________________________ ***
*** To receive 8-bit data try this in your VB form: ***
*** _______________________________________________ ***

Private Sub receive_menu_Click()

Dim baseio:	'I/O port variable
baseio=952:	'The address where you would like to receive the data

Data_received=ReadDOLLx8(baseio): 'Input data from port 

Show_data.caption=Data_received: 'Display result on the screen 

End Sub

Use the same samples for the 16 and 32-bit I/O, but change the ReadDOLLx8 and WriteDOLLx8 
to R_DOLLx8W and W_DOLLx8W for the 16-bit port handling and R_DOLLx8L or W_DOLLx8L for the 32-bit.

Good Luck with your project.


Best Regards
AKIRA Group of Companies


Attila Sandor Fiko
MD

http://www.akiracom.net or http://homepages.ihug.co.nz/~akiracom/index.html

(C) Copyright 1998, AKIRA Group of Companies, All Rights Reserved
