HARDWARE PORT DIAGNOSTICS 2.1
(C)1994 MIRO HODYL

THIS PROGRAM IS RELEASED AS SHAREWARE.  IF YOU FIND THIS PROGRAM USEFUL AND 
CONTINUE TO USE IT, PLEASE SUPPORT IT BY SENDING $1.00 TO: 
MIRO HODYL, P.O. BOX 2018, SCHILLER PARK, IL 60176

This software is protected by copyright laws.  You may distribute and upload 
this shareware program as long as this text file is included but you may not 
sell or modify either file in any way.


FILES INCLUDED IN THIS SHAREWARE PACKAGE:
(Both files must be included if you are to distribute this software.)

PORT2.EXE - Hardware Port Diagnostics 2.1
PORT2.TXT - This text file.



About the program:

Hardware Port Diagnostics 2.1 is a simple program that lets you write 8-bit 
data (00-FF) to any hardware port address (0000-FFFF).  The program also has 
a data bit toggle feature (using F1-F8) that lets you toggle the status of 
any bit (1 or 0) without entering numerical data value.  This is useful for 
troubleshooting data lines on PC hardware cards.  You can also read data from 
any 4 hardware ports (0000-FFFF).  This program should simplify testing and 
troubleshooting PC cards and PC based projects.


What's new in version 2.1?

Version 2.1 gets a facelift.  A window that shows the last 16 outputs has 
been added.  The capability for reading up to 4 ports has been added.  The 
problem of not being able to use backspace to clear mistakes when entering 
values for address and data has been fixed.  A status line at the bottom of 
the screen has been added.  Toggling data bits is done now with function keys 
F1-F8 instead of F5-F12.  The menuitem "Port" has been changed to "Address".  
  


Using Hardware Port Diagnostics 2.1.

ADDRESS [a] or [A]
To enter an address press [a] and the address input dialog box will pop up.  
Enter the hexadecimal (0000-FFFF) address of the port you wish to send data 
to.  The data input dialog box will then appear.  Enter the hexadecimal 
(00-FF) data you wish sent.  The output data will then be sent to that 
address and the output window will display the address and data you have 
entered.  The Address, Output Data, and Data Bit Status windows will also be 
updated.  

DATA [d],[D], [up/down arrows], [F1-F8]
To enter data without changing the address, press [d] and enter your data 
when the dialog box pops up.  By using the up and down arrows, you can also 
increment or decrement the data value without changing the address.
You can also change the data value by toggling bits individually with 
the F1-F8 keys with F1 controlling MSB D7 thru F8 controlling LSB D0.

READ [1-4]
To read data from a hardware port, select the window you want to display it 
in by pressing 1,2,3 or 4.  The port read dialog box will pop up.  Enter the 
address of the port you wish to read.  The read windows are continuously 
updated.  ( Try 3F8 if you have a serial mouse on com1.  You will see mouse 
data. )

ESC
To exit press [Esc] and the exit box dialog will appear.  Select [y] or [Y] 
if you wish to quit the program.


Key Summary: ( [Caps Lock] should be off)

[Esc] - Exit program
[A], [a] - Hex address input
[D], [d] - Hex data input
[1] - Port read 1
[2] - Port read 2
[3] - Port read 3
[4] - Port read 4
[up arrow] - increment data by 1
[down arrow] - decrement data by 1
[F1] - Toggle data bit D7
[F2] - Toggle data bit D6
[F3] - Toggle data bit D5
[F4] - Toggle data bit D4
[F5] - Toggle data bit D3
[F6] - Toggle data bit D2
[F7] - Toggle data bit D1
[F8] - Toggle data bit D0
[space] - Scrolls a blank line in the output window.
 

If you have any ideas on improving this software or if you find any bugs 
please let me know.
If you like this program and you keep using it, don't forget to send 
your $1 to help support this software and future improvements.

Write: Miro Hodyl, P.O. Box 2018, Schiller Park, IL 60176
