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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? promodem.doc

?? MODEM驅(qū)動(dòng)程序
?? DOC
?? 第 1 頁 / 共 2 頁
字號(hào):





















     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 */
  }


?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
菠萝蜜视频在线观看一区| 一本一道波多野结衣一区二区| 中文在线免费一区三区高中清不卡| 91精品国产全国免费观看| 欧美日本韩国一区二区三区视频| 色欲综合视频天天天| 欧美色综合网站| 日韩欧美一级二级| 日韩欧美综合在线| 日韩精品专区在线| 日韩一区有码在线| 日韩**一区毛片| 不卡的av电影| 51午夜精品国产| 中文在线资源观看网站视频免费不卡| 国产精品久久看| 日本不卡高清视频| 91丨porny丨首页| 久久综合色一综合色88| 亚洲人成伊人成综合网小说| 免费观看91视频大全| 成人av小说网| 国产视频一区在线播放| 石原莉奈在线亚洲二区| 成人精品免费视频| www欧美成人18+| 久久99精品国产麻豆婷婷| 一本大道av伊人久久综合| 精品美女一区二区| 喷白浆一区二区| 日韩精品专区在线| 日韩av电影天堂| 日韩一级精品视频在线观看| 亚洲综合自拍偷拍| 欧美日韩久久久| 亚洲高清免费视频| 欧美精品第1页| 久久精品国产色蜜蜜麻豆| 91精品国产色综合久久| 久久aⅴ国产欧美74aaa| 久久综合五月天婷婷伊人| 国产一区二区三区在线观看免费 | 欧美日韩免费电影| 亚洲影院免费观看| 日韩视频在线永久播放| 麻豆91在线播放免费| 日韩欧美亚洲另类制服综合在线| 青青青伊人色综合久久| 日韩三级中文字幕| 粉嫩绯色av一区二区在线观看 | 97精品国产露脸对白| 亚洲免费视频中文字幕| 69av一区二区三区| 成人app网站| 免费成人在线播放| 亚洲欧美另类久久久精品2019| 欧美日韩国产首页| 不卡视频一二三| 国产麻豆一精品一av一免费| 国产欧美一区二区精品婷婷| 欧美日韩一二三区| av一本久道久久综合久久鬼色| 天天av天天翘天天综合网色鬼国产 | 七七婷婷婷婷精品国产| 综合av第一页| 综合久久综合久久| 国产午夜精品一区二区三区视频| 在线播放国产精品二区一二区四区 | 亚洲免费在线看| 亚洲国产激情av| 26uuu国产一区二区三区| 51精品视频一区二区三区| 在线观看成人小视频| 色拍拍在线精品视频8848| 91免费看片在线观看| 91国产视频在线观看| 色综合天天综合网国产成人综合天| 伊人开心综合网| 亚洲女同ⅹxx女同tv| 国产精品久久久久影视| 国产精品福利一区二区三区| 国产精品久久久久久久第一福利| 国产免费成人在线视频| 国产精品天干天干在观线| 综合激情成人伊人| 日韩精品久久理论片| 精品写真视频在线观看| 成人一区在线观看| 欧美性一级生活| 久久久精品免费观看| 亚洲欧美偷拍卡通变态| 国产电影一区二区三区| 色综合久久久久网| 久久久久高清精品| 亚洲成人在线网站| www.在线欧美| 精品久久一区二区| 午夜精品成人在线视频| 成人国产精品免费| 3d成人h动漫网站入口| 中文字幕第一区综合| 久久国产精品第一页| 在线观看成人免费视频| 国产精品每日更新| 国产精品77777竹菊影视小说| 欧美日韩精品一区视频| 亚洲免费伊人电影| 成人性生交大片免费看在线播放 | 麻豆成人91精品二区三区| 在线观看亚洲成人| 亚洲人一二三区| 在线观看一区二区精品视频| 亚洲日本电影在线| 欧美吻胸吃奶大尺度电影| 国产精品久久久久久久蜜臀| 国产福利91精品一区| 国产欧美va欧美不卡在线 | 91日韩精品一区| 国产成人久久精品77777最新版本| av高清不卡在线| 欧美本精品男人aⅴ天堂| 美日韩黄色大片| 国产精品视频免费| 在线观看日韩av先锋影音电影院| 亚洲成人自拍网| 欧美一级黄色录像| 国产精品一品二品| 有码一区二区三区| 欧美日本一区二区在线观看| 午夜影院在线观看欧美| 精品福利一二区| 色天使色偷偷av一区二区| 日产国产高清一区二区三区| 精品对白一区国产伦| 91色porny在线视频| 韩国av一区二区三区在线观看| 中文字幕不卡的av| wwwwxxxxx欧美| 9191成人精品久久| 在线观看成人免费视频| www.亚洲在线| 国产成人在线视频网址| 久久精品99国产精品日本| 一区二区三区在线观看网站| 欧美哺乳videos| 日韩一二三区视频| 777色狠狠一区二区三区| 91成人在线精品| 一本久久综合亚洲鲁鲁五月天 | 国产精品看片你懂得| 久久综合国产精品| 国产午夜精品一区二区三区嫩草 | 天堂一区二区在线| 亚洲精品水蜜桃| 亚洲免费观看在线视频| 一区二区三区在线免费观看| 亚洲欧美日韩国产综合| 亚洲精品免费看| 午夜久久久影院| 狠狠久久亚洲欧美| 成人免费视频视频| 91麻豆精品秘密| 日韩一级片网址| 国产午夜一区二区三区| 综合激情成人伊人| 婷婷综合久久一区二区三区| 另类专区欧美蜜桃臀第一页| 国产精品18久久久久| 色香蕉成人二区免费| 欧美一区二区三区公司| 国产精品久久久久aaaa| 日韩高清国产一区在线| 国产a区久久久| 欧美一区二区视频网站| 中文字幕一区免费在线观看| 亚洲3atv精品一区二区三区| 国产九色精品成人porny| 九九**精品视频免费播放| 色哟哟欧美精品| 国产区在线观看成人精品| 天堂精品中文字幕在线| 91亚洲午夜精品久久久久久| 国产亚洲一区二区在线观看| 五月婷婷久久综合| 欧美性猛交xxxx乱大交退制版| 欧美极品aⅴ影院| 久久狠狠亚洲综合| 久久综合色之久久综合| 国产精品18久久久久久久久久久久| 波多野结衣视频一区| 国产目拍亚洲精品99久久精品 | 欧美日韩午夜在线视频| 亚洲自拍偷拍麻豆| 欧美性色黄大片手机版| 日本亚洲最大的色成网站www| 欧美三级中文字幕| 秋霞影院一区二区| 欧美一级二级在线观看| 成人国产精品免费观看视频| 最新热久久免费视频|