==================================================== HayesESP driver v0.2 for NFIP 3.3(J) Masato Asanuma <asa@comet.sds.co.jp> ==================================================== This driver is for ESP, which is a Hayes' communication accelarator board. By using this driver, you could reach a commmunicating rate above 115.2kbps just with serial port, without any byte mistransfering or byte missing or anything like that. This driver really is the one of the best choices for those who are going to do some high speed communication on NFIP with an unexpensive TA, which is exchangeble between synchronism and unsynchronism and has been provided by some venders. * ESP driver: This driver does not work by itself, it has to be used in the company of Mux driver. This is because of the following facts. ESP board is run by enhanced mode. But the enhanced is initialized by the driver. And the Mux driver carrys out actual serial control. This driver does not impose any infulence on non-ESP serial port, so the standard serial port could be used as well. * Usage with an original serial driver: Unfortunately, an original serial driver does not work. This is because that in 16550 enhaced mode the driver hangs up for some unknown reason and that without source code the patch could not be made. In this point of view, it is not recommended to use an original serial driver. And some attention should be payed to the following fact that with a serial mouse being active, Mux driver is not supported. * Patching Mux driver: In order to make baud rate to a higher rate without losing the 16550 compatibity, the ESP driver defaultly make baud rate be eight times of its set one. So, if baud rate is set to be 14.4kbps, the actual rate will be 14.4k * 8 = 115.2kbps. In another words, if you would like to have 115.2kbps to commmunicate, you are supposed to set baud rate to be 14.4kbps. As for Mux driver it is possible to set baud rate by the above way. In case of that this kind of setting is not available with some applications, a change should be made with the baud rate in the Mux driver so that the 14.4kbps rate could be reached with some setting for baud rate. For example, by searching "B2400" in Mux.m file, we could find the following line. case B2400: speed = 2400; break; first make a change from speed = 2400 to speed = 14400, that is, case B2400: speed = 14400; break; then recompile the source file. After that, the baud rate is 14.4kbps if baud rate is set to be 2400bps. Of course this could be done with other baud rates. * Installation: To install the ESP driver, the original serial driver has to be erased first. Then install Mux driver and the ESP driver. The ESP driver does nor use interrupt and DMA. Port address should be selected through setting the jumper on the ESP board and its default is set to be 0x180. * What is the ESP board ? The ESP has the following charactristics: 1. ISA-bus; 2. with 16550 enhanced mode; 3. DTE rate able to be set up to 921.6kbps; 4. with two 1Kbyte buffers, one for transfering, the other for receiving; 5. automatic control of HardFlow. So it is nice and suitable for high speed communication. * Bundled tools: There is an utility named chbaud in tool directory. Compile it with make command. It is this utility that change the multiplier to baud rate to 8 to default. The multiplier should be changed to 1 when baud rate is a fixed one in receiving under NXFax or uucp. Even when the multiplier is 1, the buffers and auto HardFlow are effective. Usage of chbaud: This is done by the following commnd. chbaud [n] where n takes a value from 0, 1, 2, 3. when n is omitted, it shows the current multiplier. when n is set, the multiplier will be changed accordingly. 0 - baud rate x1 1 - baud rate x2 2 - baud rate x4 3 - baud rate x8 In any cases, this could only be done by a super user. * Cables: An extanded cable might work and there is nothing wrong with the rate of 115.2kbps. But with the rate of 460.8kbps, byte mistransfering happens from time to time. Though It is not certain which causes the trouble, TA or cable, it might be a good idea using a good cable. * Uncertified things: There are other two types of ESP board, one with two ports, the another with eight ports. If they work or not has not been certified. As for NXFax, the same thing can be said, but in most cases, it does not work with a multiplier 8 to baud rate.
==================================================== HayesESP driver v0.2 for NFIP 3.3(J) Masato Asanuma <asa@comet.sds.co.jp> ==================================================== ¤³¤Î¥É¥é¥¤¥Ð¤ÏHayes¼Ò¤ÎÄÌ¿®¥¢¥¯¥»¥é¥ì¡¼¥¿¥Ü¡¼¥ÉESPÍѥɥ饤¥Ð¤Ç¤¹¡£ Ëܥɥ饤¥Ð¤ò»ÈÍѤ¹¤ë¤³¤È¤Ë¤è¤ê¡¢115.2kbps°Ê¾å¤ÎÄÌ¿®Â®ÅÙ¤Çʸ»ú²½¤±¤ä ʸ»úÍî¤Á¤òȯÀ¸¤µ¤»¤ë¤³¤È¤Ê¤¯¡¢¥·¥ê¥¢¥ë¥Ý¡¼¥È¤òÍøÍѤ¹¤ë¤³¤È¤¬½ÐÍè¤ë ¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ºÇ¶áÈÎÇ䤵¤ì»Ï¤á¤¿Æ±´üÈóƱ´üÊÑ´¹µ¡Ç½¤ò»ý¤Ã¤¿°Â²Á¤ÊTA¤ò»È¤Ã¤Æ¡¢NFIP¤Ç ¹â®ÄÌ¿®¤ò¹Ô¤Ê¤¤¤¿¤¤¿Í¤Ë¤Ï¤ª´«¤á¤Î°ìÉʤǤ¹¡£ * ¥É¥é¥¤¥Ð¤Ë¤Ä¤¤¤Æ ¤³¤Î¥É¥é¥¤¥Ð¤ÏñÆȤǤÏÆ°ºî¤·¤Þ¤»¤ó¡¢Mux¥É¥é¥¤¥Ð¤ÈÁȤ߹ç¤ï¤»¤ÆÆ°¤«¤· ¤Þ¤¹¡£¤³¤ì¤ÏESP¥Ü¡¼¥É¤ò16550¥¨¥ó¥Ï¥ó¥¹¥É¥â¡¼¥É¤ÇÆ°¤«¤·¡¢Ëܥɥ饤¥Ð ¤Ç¤Ï¥¨¥ó¥Ï¥ó¥¹¥ÉÉôʬ¤Î½é´ü²½¡¢Mux¥É¥é¥¤¥Ð¤Ç¼ÂºÝ¤Î¥·¥ê¥¢¥ë¤ÎÀ©¸æ¤ò¹Ô ¤Ê¤ï¤»¤Æ¤¤¤ë¤¿¤á¤Ç¤¹¡£ Ëܥɥ饤¥Ð¤ÏESP¥Ü¡¼¥É¤Ç¤Ê¤¤¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ë¤Ï±Æ¶Á¤·¤Ê¤¤¤Î¤Ç¡¢ÉáÄÌ ¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤â»È¤¨¤Þ¤¹¡£ * ½©Àµ¥·¥ê¥¢¥ë¥É¥é¥¤¥Ð¤Ç¤Î»ÈÍÑ ½©Àµ¥·¥ê¥¢¥ë¥É¥é¥¤¥Ð¤Ï»È¤¨¤Þ¤»¤ó¡£¤³¤ì¤Ï16550¥¨¥ó¥Ï¥ó¥¹¥É¥â¡¼¥É¤Ë ¤¹¤ë¤È¤Ê¤¼¤«¥É¥é¥¤¥Ð¤¬¥Ï¥ó¥°¤¹¤ë¤Î¤È¡¢¥½¡¼¥¹¤¬¤Ê¤¤¤Î¤Çpatch¤ò¤¢¤Æ¤é ¤ì¤Ê¤¤¤¿¤á¤Ç¤¹¡£¤Ç¤¹¤Î¤Ç¡¢½©Àµ¥·¥ê¥¢¥ë¥É¥é¥¤¥Ð¤Ï»È¤ï¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ¥·¥ê¥¢¥ë¥Þ¥¦¥¹¤ò»ÈÍѤ·¤Æ¤¤¤ë»þ¤ÏMux¥É¥é¥¤¥Ð¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç Ãí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ * Mux¥É¥é¥¤¥Ð¤Ø¤Îpatch ESP¥É¥é¥¤¥Ð¤Ï16550¸ß´¹¤Î¤Þ¤Þbaud rate¤ò¹â®¤Ë¤¹¤ë¤¿¤á¤Ë¡¢default¤Ç¤Ï baud rate¤òÀßÄêÃͤÎ8Çܤˤʤë¤è¤¦¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ ¤Ç¤¹¤Î¤Ç¡¢Î©¤¨¤Ð14.4kbps¤òÀßÄꤹ¤ë¤È14.4k * 8 = 115.2kbps¤Ë¤Ê¤ê¤Þ¤¹¡£ µÕ¤Ë¤¤¤¨¤Ð115.2kbps¤ÇÆ°¤«¤¹¤Ë¤Ï14.4kbps¤ËÀßÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£ Mux¥É¥é¥¤¥Ð¤Ï14.4kbps¤ËÀßÄê½ÐÍè¤Þ¤¹¤¬¡¢¤³¤Î¤è¤¦¤ÊÀßÄ꤬½ÐÍè¤Ê¤¤¥¢¥×¥ê ¥±¡¼¥·¥ç¥ó¤ò»È¤¦¾ì¹ç¤Ï¡¢Mux¥É¥é¥¤¥Ð¦¤Çbaud rateÊѹ¹¤Îpatch¤ò¤¢¤Æ¤Æ¡¢ Ê̤Îbaud rate¤òÀßÄꤷ¤¿»þ¤Ë14.4kbps¤òÀßÄꤵ¤ì¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£ Ω¤¨¤Ð¥½¡¼¥¹¥Õ¥¡¥¤¥ë"Mux.m"¤òB2400¤Ç¥µ¡¼¥Á¤¹¤ë¤È case B2400: speed = 2400; break; ¤È¤¤¤¦¹Ô¤¬¤ß¤Ä¤«¤ë¤Î¤Ç¡¢speed = 2400¤òspeed = 14400¤ËÊѹ¹¤·¤Þ¤¹¡£ case B2400: speed = 14400; break; Êѹ¹¸å¡¢¥³¥ó¥Ñ¥¤¥ë¤·Ä¾¤»¤Ð2400bps¤òÀßÄꤷ¤¿¤È¤¤Ë14.4kbps¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¡¢2400bps¤òΩ¤Ë¤·¤Þ¤·¤¿¤¬¡¢Ê̤Îbaud rate¤Ç¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£ ¤Þ¤¿14400¤È¤¤¤¦ÃͤâÀßÄꤷ¤¿¤¤baud rate¤Ë¹ç¤ï¤»¤ÆÊѹ¹²Äǽ¤Ç¤¹¡£ * ¥¤¥ó¥¹¥È¥ì¡¼¥·¥ç¥ó ½©Àµ¥·¥ê¥¢¥ë¥É¥é¥¤¥Ð¤Ïºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£ Mux¥É¥é¥¤¥Ð¤ÈESP¥É¥é¥¤¥Ð¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ESP¥É¥é¥¤¥Ð¤Ï³ä¤ê¹þ¤ß¤ÈDMA¤Ï»ÈÍѤ·¤Þ¤»¤ó¡£ ¥Ý¡¼¥È¥¢¥É¥ì¥¹¤Ï¥Ü¡¼¥É¾å¤Îjumper¤ÇÀßÄꤷ¤¿¥¢¥É¥ì¥¹¤òÁªÂò¤·¤Æ²¼¤µ¤¤¡£ Default¤Ï¡¢0x180¤Ç¤¹¡£ * ESP¥Ü¡¼¥É¤È¤Ï ISA-bus¥Ü¡¼¥É¤Ç¤¹¡£ 16550¥¨¥ó¥Ï¥ó¥¹¥É¥â¡¼¥É¤ò»ý¤Ã¤Æ¤¤¤ë¡£ DTE®ÅÙ¤¬921.6kbps¤Þ¤ÇÀßÄê¤Ç¤¤ë¡£ Á÷¼õ¿®¥Ð¥Ã¥Õ¥¡¤ò³Æ1Kbyte»ý¤Ã¤Æ¤¤¤ë¡£ HardFlow¤òauto¤ÇÀ©¸æ¤Ç¤¤ë¡£ ¤Ê¤É¤ÎÆÃħ¤Ë¤è¤ê¹â®ÄÌ¿®¤ËŬ¤·¤Æ¤¤¤Þ¤¹¡£ ÆüËܤǤÏÎÐÅŻҤ«¤éOEM¤ÇÈÎÇ䤷¤Æ¤¤¤Þ¤¹¡£ * ÉÕ°¥Ä¡¼¥ë tool¥Ç¥£¥ì¥¯¥È¥ê¤Î²¼¤Ëchbaud¤È¤¤¤¦utility¤òÃÖ¤¤Þ¤·¤¿¡£ make¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤Ïbaud rate¤ÎÇÜΨ¤òdefault¤Î8Çܤ«¤éÀÚ¤êÂؤ¨¤ë¤¿¤á¤Î¥³¥Þ¥ó¥É¤Ç¤¹¡£ NXFax¤äuucp¤Î¼õ¿®¤Ê¤É¤Çbaud rate¤¬¸ÇÄê¤Î»þ¤Ë1ÇܤËÀÚ¤êÂؤ¨¤Æ¤¯¤À¤µ¤¤¡£ 1ÇܤǤâ¥Ð¥Ã¥Õ¥¡¤äauto HardFlow¤Ï͸ú¤Ç¤¹¡£ chbaud¤Î»ÈÍÑÊýË¡ chbaud [n] n¤Ï¡¢0~3 ¤Î¿ôÃͤǤ¹¡£ n¤ò¾Êά¤¹¤ë¤È¸½ºß¤ÎÇÜΨ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ n¤ò»ØÄꤹ¤ë¤ÈÇÜΨ¤¬ÀÚ¤êÂؤï¤ê¤Þ¤¹¡£super user¤Î¸¢¸Â¤Ç¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£ 0 - baud rate x1 1 - baud rate x2 2 - baud rate x4 3 - baud rate x8 * ¥±¡¼¥Ö¥ë¤Ë¤Ä¤¤¤Æ ±äĹ¥±¡¼¥Ö¥ë¤ò»È¤Ã¤Æ¡¢¥±¡¼¥Ö¥ë¤ò±ä¤Ð¤·¤Æ»È¤Ã¤Æ¤¤¤Þ¤¹¡£ 115.2kbps¤Ç¤ÏÌäÂꤢ¤ê¤Þ¤»¤ó¤¬¡¢460.8kbps¤Ç¤Ï¤¿¤Þ¤Ëʸ»ú²½¤±¤¬¤¢¤ê¤Þ¤¹¡£ TA¤«¥±¡¼¥Ö¥ë¤Î¤É¤Á¤é¤¬°¤¤¤Î¤«¤ï¤«¤ê¤Þ¤»¤ó¤¬¡¢¤Þ¤È¤â¤Ê¥±¡¼¥Ö¥ë¤ò»È¤Ã¤¿ Êý¤¬¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ * ̤³Îǧ»ö¹à ESP¥Ü¡¼¥É¤Ë¤Ï2¥Ý¡¼¥È¤ä8¥Ý¡¼¥È¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹¤¬¡¢³Îǧ¤·¤Æ¤¤¤Þ¤»¤ó¡£ NXFax¤â»î¤·¤Æ¤¤¤Þ¤»¤ó¡£¤¿¤Ö¤óbaud rate¤¬8ÇܤΤޤޤÀ¤ÈÆ°¤«¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.