亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? promodem.doc

?? MODEM驅動程序
?? DOC
?? 第 1 頁 / 共 2 頁
字號:





















     ProModem RS232 Interrupt Driven Serial Communication Library  v1.0


		       Written By Adrian J. Michaud

	   (C) Interactive Telecommunication Systems 1992-1993



			   Table Of Contents
			   -----------------

							      Page

Introduction                                                    1
Features/Supported Compilers                                    2
Registration                                                    3
Ording Form                                                     4

SetupControlBlock()                                             5
OpenCom()                                                       6
CloseCom()                                                      7
SendCharacter()                                                 8
CheckQueue()                                                    9
GetCharacter()                                                  10
ClearQueue()                                                    11
GetCarrierDetect()                                              12
SetBaudRate()                                                   13
SetDTR()                                                        14
DropDTR()                                                       15
SetDataFormat()                                                 16
SendString()                                                    17
SetFIFOMode()                                                   18
SetFIFOTriggerLevel()                                           19
WaitForCharacter()                                              20
DisableIRQ()                                                    21
EnableIRQ()                                                     22

TERMINAL.C - Example Terminal Program source file               23
BBS.C      - Example Bulletin Board source file                 24



  Page 1 - ProModem Users Manual         Interactive Telecommunication Systems

			    Introduction
			    ------------

     ProModem is a High Performance Interrupt Driven RS232 serial
   communication library that can be used for creating a Computerized
   Bulletin Board System, a Terminal program, a RS232 Networking Driver,
   or for RS232 Host to Host communications. ProModem supports the following
   UARTS: PC16550C, NS16550AF, PC16550CF, 16450, and the 8250. ProModem takes
   full advantage of a 16550 by enabling the 16 character FIFO to relieve
   the CPU of excessive software overhead. When using a 16550, internal
   FIFOs are activated allowing 16 bytes (plus 3 bits of error data per
   byte in the RCVR FIFO) to be stored in both receive and transmit modes.
   All the logic is on chip to minimize system overhead and maximize
   system efficiency.






  Page 2 - ProModem Users Manual         Interactive Telecommunication Systems

			      Features
			      --------


   ProModem contains the following features:

   o Interrupt driven INPUT directly VIA 8259 Peripheral Interrupt Controller.
   o Full 16550 FIFO support with selectable trigger levels.
   o Supports user definable Base Addresses using IRQ3 or IRQ4.
   o Automatic CTS/RTS Hardware Handshaking for Asynchronous Devices.
   o Baud rates up to 115k bits per second.
   o Handles unlimited Open Com Ports using IRQ3 and IRQ4.
     (overruns might occur with slow CPU's or High Baud Rates of course).
   o Supports both ISA (PC AT) and MCA (PS 2) machines
   o Small, (Large, and Huge memory models available to registered users).


			 'C' Compilers Supported
			 -----------------------

   Microsoft C     - v5.1, v6.0, QuickC v2.5, and C/C++ v7.0
   Borland TurboC  - v1.0, v2.0, v3.0, v3.1



  Page 3 - ProModem Users Manual         Interactive Telecommunication Systems

			     Registration
			     ------------

     ProModem is not a public domain program and is not free.  ProModem is
   Copyright (C) 1993 by Interactive Telecommunication Systems. Non-registered
   users of this library are granted a limited one month license to ProModem
   to evaluate the libraries suitability for their requirements.  Any usage of
   ProModem beyond evaluation time period requires registration of each copy of
   the library used.  Use of non-registered copies of ProModem beyond the
   original evaluation period is prohibited.

     The Shareware version of ProModem has been built with a small model.
   When you register ProModem you will receive FULL printed documentation
   along with a LARGE and a HUGE library for all compilers supported.
   Source code to all memory models for all supported compilers is
   also part of the registration package.

     There are two ways to register. The first is by sending $25 to
   Interactive Telecommunication Systems along with a registration form.
   Non U.S. residents, please send checks drawn on U.S. funds. We will accept
   non U.S. currency, but you must include an additional $5 (US) to cover
   exchange handling. Also add $5 overseas shipping/handling. See the page 4
   for the ordering form and ordering information.



  Page 4 - ProModem Users Manual         Interactive Telecommunication Systems


			  ProModem Ordering Form
			  ----------------------

     Please Remit To:      Eutecnics
			   C/O Adrian J. Michaud - ProModem!
			   30 Nagog Pk., Suite 105
			   Acton, Ma 01720

     Qty.    Description                                   Each     Total

     ____    ProModem Registration with 3.5" diskette    $25.00   ________
	     Includes ALL memory models with Source
	     Code and a printed Manual. MSC & TC.

     ____    ProModem Registration with 5.25" diskette   $25.00   ________
	     Includes ALL memory models with Source
	     Code and a printed Manual. MSC & TC.

	(U.S. orders add $2 shipping & handling)        Shipping   ________
	(Foreign orders add $5 shipping)

	(Add $5 for Foreign Currency Exchange)     Misc. Charges   ________

	(MA residents please add 7.25% sales tax)            Tax   ________

							   TOTAL  $________

     Name: _________________________________________________________________

  Company: _________________________________________________________________

  Address: _________________________________________________________________

	   _________________________________________________________________

	   _________________________________________________________________

 Where did you obtain ProModem? ( ) Friend   ( ) Shareware House   ( ) Other
				( ) BBS      ( ) User Group       __________

All checks or money orders must be drawn on U.S. Funds in U.S. Dollars.
Sorry, no C.O.D. orders will be accepted.

  Make All Checks Payable to:  Interactive Telecommunication Systems



  Page 5 - ProModem Users Manual         Interactive Telecommunication Systems


  Function: int SetupControlBlock(AJMS *controlBlock,
				  unsigned int baseAddress,
				  int irq,
				  unsigned int bufferSize);

  Description: Sets up a control block for a specific com port and IRQ
	       number. This is the first function that is always used when
	       preparing to communicate to a COM port. Each com port that
	       will be opened requires a different control block.

  Return Value: SUCCESSFUL    - Setup was successful.
		TOO_MANY_IRQS - Too many mounted com ports.

  Example Usage:

  #include "promodem.h"
  main()
  {
  AJMS controlBlock;

  /* This sets up a control block for COM1 (0x3f8), IRQ4, and a
     4096 Byte receive Buffer.
  */

  SetupControlBlock(&controlBlock , 0x3f8 , 4 , 4096);/*Init Control Block*/
  OpenCom(&controlBlock);                             /*Open COM port     */
  }





  Page 6 - ProModem Users Manual         Interactive Telecommunication Systems


  Function: int OpenCom(AJMS *controlBlock);

  Description: Opens a COM port for communication. This function allocates
	       an IRQ buffer and sets up the UART for communication.

  Return Value: BUFFER_ALLOCATION_ERROR - Could not allocate IRQ buffer.
		COM_ALREADY_OPEN        - Port is already open and ready.
		SUCCESSFUL              - COM port successfully opened.

  Example Usage:

  #include "promodem.h"
  example()
  {
  extern AJMS controlBlock; /* Assumes a control block has previously  */
			    /* been set up.                            */

  OpenCom(&controlBlock);   /* Open COM port */
  }






  Page 7 - ProModem Users Manual         Interactive Telecommunication Systems


  Function: int CloseCom(AJMS *controlBlock);

  Description: Closes a previously opened COM port. This de-allocates the
	       IRQ buffer that was allocated by OpenCom() and restores
	       the UART to its previous state before it was opened.

  Return Value: COM_PORT_NOT_OPEN - COM port was not previously Opened.
		SUCCESSFUL        - COM port successfully closed and IRQ
				    buffer has been de-allocated.

  Example Usage:

  #include "promodem.h"
  example()
  {
  extern AJMS controlBlock; /* Assumes a control block has previously  */
			    /* been set up and the COM port is OPEN    */

  CloseCom(&controlBlock);   /*Close COM port */
  }






  Page 8 - ProModem Users Manual         Interactive Telecommunication Systems


  Function: int SendCharacter(AJMS *controlBlock, unsigned char ch);

  Description: Sends a character to the COM port.

  Return Value: CARRIER    - If there is a carrier.
		NO_CARRIER - If there isn't a carrier.

  Also see: SendString()

  Example Usage:

  #include "promodem.h"
  example()
  {
  unsigned char ch;         /* Allocate ch on the stack */

  extern AJMS controlBlock; /* Assumes a control block has previously  */
			    /* been set up and the COM port is OPEN    */

  ch = (unsigned char)getch();      /* Get a character from the keyboard */
  SendCharacter(&controlBlock, ch); /* Send character to COM port        */
  }




  Page 9 - ProModem Users Manual         Interactive Telecommunication Systems


  Function: int CheckQueue(AJMS *controlBlock);

  Description: Checks the status of the IRQ receive buffer.

  Return Value: CHARACTERS_WAITING - If there are characters in queue.
		QUEUE_EMPTY        - If queue is empty.

  Also see: GetCharacter(), ClearQueue(), WaitForCharacter()

  Example Usage:

  #include "promodem.h"
  example()
  {
  extern AJMS controlBlock; /* Assumes a control block has previously */
			    /* been set up and the COM port is OPEN   */

  if (CheckQueue(&controlBlock) == CHARACTERS_WAITING) /* Check Queue     */
  printf("%c", GetCharacter(&controlBlock)); /* Print one byte from Queue */
  }






  Page 10 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: int GetCharacter(AJMS *controlBlock);

  Description: Gets a single character from Receive IRQ Queue.

  Return Value: First Character that was placed in the receive Queue.
		The receive queue expands as more characters are
		received. GetCharacter() takes the first character
		from the queue and returns it as an (int) with the
		high byte masked.

  Also see: CheckQueue()

  Example Usage:

  #include "promodem.h"
  example()
  {
  extern AJMS controlBlock; /* Assumes a control block has previously */
			    /* been set up and the COM port is OPEN   */

  if (CheckQueue(&controlBlock) == CHARACTERS_WAITING) /* Check Queue     */
  printf("%c", GetCharacter(&controlBlock)); /* Print one byte from Queue */
  }






  Page 11 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: void ClearQueue(AJMS *controlBlock);

  Description: Clears the contents of the Receive IRQ Queue.
	       This insures that there are no pending characters
	       in the Receive IRQ Queue.

  Return Value: None.

  Also see: CheckQueue()

  Example Usage:

  #include "promodem.h"
  example()
  {
  extern AJMS controlBlock; /* Assumes a control block has previously */
			    /* been set up and the COM port is OPEN   */

  ClearQueue(&controlBlock); /* Clears the Receive IRQ Queue */
  }


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲激情自拍偷拍| 精品亚洲国内自在自线福利| 最近中文字幕一区二区三区| 亚洲国产欧美在线人成| 国产一区二区三区最好精华液| 色伊人久久综合中文字幕| 精品88久久久久88久久久| 亚洲精品伦理在线| 色美美综合视频| 555夜色666亚洲国产免| 国产嫩草影院久久久久| 日本亚洲电影天堂| 欧美三级电影在线观看| 亚洲美女区一区| 国产成人一区在线| 精品国产髙清在线看国产毛片| 午夜私人影院久久久久| 欧美综合在线视频| 日韩码欧中文字| 99久久99精品久久久久久| 久久久99精品免费观看不卡| 奇米精品一区二区三区在线观看| 99视频精品在线| 综合久久一区二区三区| 亚洲一区影音先锋| 国产成人在线视频网址| 午夜精品影院在线观看| 麻豆91精品91久久久的内涵| 欧美一区二区三区在线看| 色综合久久综合网欧美综合网| 国产精品亚洲专一区二区三区 | 中文字幕亚洲电影| 国产精品天美传媒| 欧美一级精品大片| 日韩欧美一区在线观看| 欧美日韩不卡一区| 91精品国产高清一区二区三区蜜臀| 国产精品麻豆久久久| 成人av电影免费在线播放| 亚洲成a天堂v人片| 美日韩黄色大片| 精品国产百合女同互慰| 精品一区二区三区不卡| 久久99久久99精品免视看婷婷 | 亚洲欧美成aⅴ人在线观看| 粉嫩蜜臀av国产精品网站| 国产日韩精品一区二区三区在线| 国产精华液一区二区三区| 中文字幕免费不卡| 91精彩视频在线观看| 亚洲h在线观看| 精品国产一区二区三区久久久蜜月| 精品伊人久久久久7777人| 久久精品夜色噜噜亚洲a∨| 成人午夜av影视| 亚洲成人动漫一区| 欧美sm极限捆绑bd| 丁香天五香天堂综合| 亚洲日本一区二区| 欧美日韩小视频| 国产在线精品国自产拍免费| 国产精品免费丝袜| 欧美日韩成人在线| 国产成人精品在线看| 最新热久久免费视频| 欧美日韩aaa| 欧美乱妇15p| 国产一区三区三区| 亚洲制服丝袜一区| 久久久欧美精品sm网站| 91免费视频大全| 久99久精品视频免费观看| 18涩涩午夜精品.www| 91精品国产综合久久久久| 国产sm精品调教视频网站| 亚洲免费视频中文字幕| 精品国产人成亚洲区| 色噜噜狠狠成人中文综合| 国产真实乱对白精彩久久| 一区二区三区产品免费精品久久75| 欧美一级午夜免费电影| 色香蕉成人二区免费| 紧缚奴在线一区二区三区| 亚洲综合激情小说| 国产精品久久777777| 日韩精品中文字幕在线一区| 337p亚洲精品色噜噜狠狠| 欧美精品乱人伦久久久久久| 黄色小说综合网站| 一区二区三区高清| 国产精品国产三级国产普通话蜜臀| 91精品国产综合久久香蕉麻豆| 91麻豆6部合集magnet| 国产一区二区三区久久悠悠色av| 日韩国产在线观看一区| 中文字幕在线不卡一区二区三区| 日韩视频一区二区三区| 在线免费观看一区| 色综合中文字幕国产 | 欧美va亚洲va| 91精品国产高清一区二区三区| 在线中文字幕一区二区| 97久久精品人人做人人爽| 91免费视频网| 婷婷中文字幕一区三区| 亚洲欧洲成人av每日更新| 国产婷婷色一区二区三区| 日韩美女在线视频| 日韩欧美在线观看一区二区三区| 欧美亚洲动漫精品| 色婷婷久久综合| 91老师国产黑色丝袜在线| 成人av电影在线| 国产成人免费视| 成人免费看的视频| 成人永久看片免费视频天堂| 国产一区二区免费看| 精品一区二区影视| 国产一区激情在线| 九色|91porny| 国产凹凸在线观看一区二区| 国产a精品视频| 99久久精品免费看国产免费软件| 波多野结衣中文一区| 91香蕉视频mp4| 欧美无砖砖区免费| 91精品视频网| 久久综合久久鬼色| 国产精品人成在线观看免费 | 成人午夜电影网站| 99久久99久久精品免费看蜜桃| 99久久免费视频.com| 91高清视频在线| 制服视频三区第一页精品| 精品久久久久久综合日本欧美| 久久久www成人免费毛片麻豆| 伊人性伊人情综合网| 日韩伦理电影网| 亚洲成人资源在线| 理论电影国产精品| 欧美日韩久久久| 337p亚洲精品色噜噜狠狠| 欧美mv日韩mv| 国产精品二三区| 五月婷婷色综合| 国产乱码一区二区三区| 91丨porny丨中文| 欧美一区二区福利在线| 国产精品视频一二三| 亚洲va欧美va天堂v国产综合| 激情综合色播五月| 色偷偷久久一区二区三区| 日韩一级高清毛片| 亚洲欧洲色图综合| 久久国产精品区| 色婷婷综合久色| 26uuu色噜噜精品一区二区| 亚洲色图欧美偷拍| 国产在线精品国自产拍免费| 日本韩国精品一区二区在线观看| 精品国产区一区| 一区av在线播放| 高清不卡一区二区| 日韩亚洲欧美综合| 亚洲自拍都市欧美小说| 免费亚洲电影在线| 99久久综合国产精品| 精品卡一卡二卡三卡四在线| 亚洲女女做受ⅹxx高潮| 国产麻豆成人精品| 欧美剧情片在线观看| 亚洲私人黄色宅男| 国产成人在线视频网址| 日韩欧美另类在线| 亚洲成年人网站在线观看| 成人黄页在线观看| 337p日本欧洲亚洲大胆色噜噜| 性久久久久久久久久久久| 99精品国产热久久91蜜凸| 久久精品这里都是精品| 六月婷婷色综合| 欧美一区二区三区爱爱| 亚洲成人资源网| 欧美伊人久久久久久午夜久久久久| 国产精品午夜免费| 国产高清亚洲一区| 久久久久亚洲蜜桃| 黄色日韩三级电影| 精品sm捆绑视频| 精品一区二区三区蜜桃| 日韩一区二区三区免费看| 视频一区欧美精品| 91精品国产欧美一区二区成人| 欧美成人综合网站| 丝袜诱惑制服诱惑色一区在线观看 | 亚洲国产视频a| 91久久精品一区二区三| 亚洲裸体在线观看| 色综合天天综合狠狠| 伊人开心综合网|