Readme for SHS193B.ZIP 9/18/2000
Shsmod - Utility for Serial High Speed Mode.
Version1.93beta
---
What is SHSMOD ?

It is not widely known, but the serial ports on motherboards and add-in
cards that use the some I/O controllers will support operation at greater
than 115200 bps. 

ALI:(230400,460800bps)
NS:(230400,460800,921600bps)
SMC:(230400,460800bps)
WinBond:(230400,460800,921600bps)
VIA VT82C686A/B:(230400,460800bps)

Serial ports provided by these chips will run at 230400/460800/921600 bps.
And Those are unsupported chips below.

NS PC87306,PC87336 - No function.
SMSC FDC37C665GT,666GT - No function.
SMSC LPC47M172 - No function.
WinBond W83777 - No function.
WinBond W83877F/AF - Specification bugged.
ITE IT86xx/87xx/88xx - No function.
SiS950 - No function (This is actually ITE IT8702).
VIA VT8231 - Troblesome.

All they need is the proper software to enable and program these high
speed modes.  That is what this package provides.

The original writer of this software is Gigo
(http://homepage1.nifty.com/gigo/). Since I established my own company
to develop device drivers Device Drivers Limited. I got the shsmod
software from Gigo as he didn't use this and he couldn't maintenance
this. The details are described on Gigo's Over115K page.
http://hp.vector.co.jp/authors/VA004958/over115K/index_e_old.html

Since the development of my company this package doesn't include
source code. But Gigo's last version V1.8b04 includes source codes.
Device Drivers Limited provides to sell the last version of this
source codes.  Commercial Media and Service have to take our 
acknowledgement for distribution. For publisher and commercial sites,
please mail us.

For Win95/98, getting greater than 115Kbps requires two parts:
1. Executing a small program at boot time to enable the high speed mode.
2. An updated serial.vxd that knows how to program the high speed rate.

The file SHS17.ZIP from http://www.devdrv.com/shsmod/download.htm
provides all you need to determine if your serial ports are compatible
and, if so, to take advantage of the high speed operation that these
chips support.

---------
How to use SHSMOD.

Follow these simple instructions:

1. Download and unzip the file mentioned above in a directory of your choice.

2. If older version of SHSMOD was installed, Double click "SHSMOD uninstall"
   and goto 4.

3. Double click "SHSMOD check" short cut icon for check.
   (Or Run the program SHSMOD.EXE.)

   If it says something like:
	   SMC37C669 at 03f0h detected
	   Original driver detected
	   COM1(03f8h) Serial Speed Mode: Low
	   COM2(02f8h) Serial Speed Mode: Low
   then you are in luck!

   If it says:

	  Sorry! it cannot detect high speed SIO chipset.
	  (Maybe unsupported SIO chipset?)
	  Please check supported chipset with below command.

	  SHSMOD L[ist]

   It means that your serial ports do not support the high speed operation
   that this software provides, sorry.

   If you got the message like:

	   *ITE Chip ID = IT8712
	   ITE IT87xx/SiS950 at 002eh detected
	   Original driver detected
	   COM1 (03f8h): Supported, Mode = Low
	   COM2 (02f8h): Supported, Mode = Low

   It means that the only detection was succeeded. To detect if this chip has high
   speed mode, double click "SHSMOD check" short cut icon for check.

	   *ITE Chip ID = IT8712
	   ITE IT87xx/SiS950 at 002eh detected
	   Sorry, This chip doesn't have a high-speed serial mode

   Sorry! It means that the chip has no high speed mode. Please give up to make
   serial port high speed mode on this chip.

4. Double click "SHSMOD install" short cut icon.(or Execute the program shsmod.exe
 with patch option from a DOS command line window (DOS box).

   Executing this program will upgrade the Win95/98 serial port driver
   serial.vxd.	The original version will be saved with the
   filename $erial.vxd in case you want to restore it.
   And program will add command line for SHSMOD to AUTOEXEC.BAT.

   output example:

	SMC37C669 at 03f0h detected
	Original driver detected

	copy c:\windows\system\serial.vxd c:\windows\system\$erial.vxd
			1 file(s) copied
	Backup original to $erial.vxd successful.

	Apply SMC Patch successful.

	copy C:\AUTOEXEC.BAT C:\AUTOEXEC.SHD
			1 file(s) copied
	Backup AUTOEXEC.BAT successful.

	SHSMOD will append line,
	 C:\BIN\SHSMOD.EXE B H

	copy C:\AUTOEXEC.TMP C:\AUTOEXEC.BAT
			1 file(s) copied
	Overwrite AUTOEXEC.BAT successful.

	*** Restart windows to take effect. ***

5. Shutdown & Restart Windows.
   (Please confirm that the added line be executed at the boot time.)

6. Double click "SHSMOD check" short cut icon again.

   Check driver type and mode. OK?

   You are all set to use over 115K bps on your serial ports.

   If you have a Motorola BSPro, remember that you have to explicitly
   set it to 230K operation while you are running at 115K or less.

   Some devices will allow you to "read back" the DTE rate you are
   running at.	For example, the Zyxel 2864i's ATS20? query will return
   1 for 115K, 0 for 230K and 14 for 460K. To send AT\S, most modem
   respond DTE speed. (Of course, the modem must support DTE speed that
   you set.)

7.	Congratulations! Please report to us.

   This software is "reportware".
   Please let me know how it worked for you.
   (machine/motherboard, OS, shsmod output..)

   Report & Related news BBS,
   http://www.devdrv.com/shsmod/eshsmod.cgi
   Please feel free to write.

----------
SYNTAX

Check:
SHSMOD

Set High:
SHSMOD 1 H
 port 1 High.
SHSMOD 2 H
 port 2 High.
SHSMOD B H
 Both port High.

Set Low:
SHSMOD 1 L
 port 1 Low.
SHSMOD 2 L
 port 2 Low.
SHSMOD B L
 Both port Low.

Fix Speed:(NS Chips except 87308)
The DOS application run with specific speed anyway.
This command has no effect for Windows application.
SHSMOD port speed
ex.
SHSMOD 1 230400

*The port number is not always same as com number.
 Please check port address and com address.

install:
SHSMOD patch [winpath]

uninstall
SHSMOD depatch

---------------
Trouble shooting

1.My serial mouse not recognized.(Winbond)
  If you have winbond chip, please use Low mode for port
 that used for mouse.
  If your mouse connect to port 1,
	 The string "SHSMOD B H" in AUTOEXEC.BAT replace "SHSMOD 2 H".
  or connect to port 2.
	 use "SHSMOD 1 H".

  (I recommend PS/2 mouse for winbond MIO with SHSMOD.)

2.My chip that listed in support chip can't detect by SHSMOD.
  Type "SHSMOD B C >chk.txt" and mail zipped chk.txt to me.
  This operation may cause side effect, please shutdown and
  power off immediately.

3. SHSMOD installed correctly, but mode is LOW.
  Please check "SHSMOD .. " line execute at boottime.

4. When ACPI enable on Windows98, My Winbond chip disabled.
  This problem is only for status display. No actual problem.

---------------
release note:
  1.93beta(2/20/2003)
	Modify VIA detection and Add ALi, SMSC, Winbond new Chip support.
  1.9release(9/18/2000)
	Add ITE Chip detection.
  1.9beta1(8/22/2000)
	Use shstable.c to use same table for win2k.
	Add List mode & Unsupported message.
	Add VIA Chip support.
  1.8beta5(3/??/2000)
	Some bug fix for BIOS chek,
	*Not released.
  1.8beta4(3/11/2000)
	Add Wibond Chips and Revision check, by DDD
  1.8beta3(07-Sep-99)
	Fix x8_tbl bug
  1.8beta2(28-Jun-99)
	87338 PnP mode
  1.8beta1(29-Apr-99)
	bug fix
  1.7e(26-Apr-99)
	Verify BIOS work area COM port address.
  1.7d(25-Apr-99)
	Support M1543C ?
  1.7c(17-Feb-99)
	Support W83977EF ?
  1.7b(04-Oct-98)
	Support ALI M1543?
  1.7a(29-Aug-98)
	compile with #define PC87338, without NOACPI.
  1.7(25-Aug-98)
	Support ALI M1543(Aladdin V south bridge)
  1.6(17-Aug-98)
	Support NS PC87307,97307,87317,87308,87309(,87338)
	Fix/Add/Del SMC Table.
	WinBond W83877TF support ?
	Fix Winbond patch.
	Linux/FreeBSD support.(by youji takeuchi)
  1.5(23-Jul-98)
	Support Winbond 87977F/AF/TF/ATF
	Support Windows98
	Support 37N769,37M60x/61x/70x,37B77x/78x,37N958FR
	Added patch/depatch function
  1.3-1.4
	experimental,not released.
  1.2b(25-Dec-96)
	Added support for 67x,68x
  1.2a(01-Nov-96)
	Add 'B'(oth) port option.
  1.2(31-Oct-96)
	Add support for 669FR,93xFR,93xAPM,957FR(Not tested yet.)
	Display port address for convenience.
  1.0f
	add debug code & adaptation for linux.
  1.0d, 1.0e
	experimental,not released.
  1.0b -> 1.0c
	display string "com" -> "port", function exactly same. 
--------
Files in this ZIP are:

SHS19Jpn.TXT			Japanese readme
SHS19Eng.TXT			This file
SHS15B1FR.TXT			French readme (Sorry! Old versin only)
SHSMOD.EXE			Serial High Speed mode utility V1.9
SHSMOD check.PIF		shortcut for check
SHSMOD install.PIF		shortcut for install
SHSMOD uninstall.PIF	shortcut for ununstall
SHSMOD Hi.PIF		shortcut to check & set high-mode
SHSMOD Lo.PIF		shortcut to set low-mode

-------
Thanks for younger true personal unix hackers,
 especially,
  Youji Takeuchi

Windows95 version tested by
  Toru chino
  T.Sugibayashi

Windows98 version was tested by
  dmcnutt@wilma.widomaker.com
  Joseph B. Wehbi

Winbond version was tested by
  Tsunetaka Mitsuyasu
  jimwhite@ij.net
  Joseph B. Wehbi

National Semiconductor version was tested by
  Tsuruzoh tachibanaya

ALI version was tested by gigo.

English document was rewritten by
  Bill Lutton
This document is based on older document that
rewritten by Bill Lutton.
But I added some sentences for new version.
If strange sentences exist, it were added by me.

Translation from English to French by
  Joseph B. Wehbi

Thanks for people that sent problem report to me.
As my machine always run with NT Server, To find bugs
is almost impossible in 95/98 version .

-------
DISTRIBUTION and COPYRIGHT

This package is "ReportWare".
Please let me know how it worked for you at below bbs.
http://www.devdrv.com/bbs/shsmod.cgi

Original download site is below.
http://www.devdrv.com/shsmod/download.htm

This site is link free, and no contact needed for link.
Copyright belongs with Osamu Imaizumi and Device Drivers Limited.
We admit to distribute this package as FreeWare under below conditions:
- No change is permitted for this package contents.
- Commercial Media and Service have to take our acknowledgement for distribution.
(For publisher and commercial sites, please mail us.)

-------
ACKNOWLEDGEMENT

Special thanks for Osamu Imaizumi(Gigo).

-------
Warranty

This warranty doesn't cover any performance, functionality and operation
results. Device Drivers Limited made enough test before shipment of this
package. Please use this software with your own risk.

-------
Dedication from Gigo:

 For the true next generation, my son Tenpei & my daughter Nanami.

-------
9/18/2000 English Version
mailto:tom@devdrv.com
http://www.devdrv.com/

Appendix.
How to change modem maximum data rate in windows95.

1. Search "COMx" with regedit.
  It will find at
HKEY_LOCAL_MACHINES\System\CurrentControlSet\Services\Class\Modem\nnnn\
attachedto

2. edit properties 24th(0x18th) to 27th byte.

  bps	   value
 57,600	 00 E1 00 00
115,200	 00 C2 01 00
230,400	 00 84 03 00
460,800	 00 08 07 00
921,600	 00 10 0E 00
