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

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

?? promodem.doc

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




  Page 12 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: int GetCarrierDetect(AJMS *controlBlock);

  Description: Checks the status of the DCD (Data Carrier Detect) line
	       on the serial port. This is used to detect if a modem
	       has a carrier or not.

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

  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 (GetCarrierDetect(&controlBlock) == NO_CARRIER) /* Check DCD */
  printf("\nThere is no Carrier\n"); /* Display Loss of Carrier.  */
  }






  Page 13 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: void SetBaudRate(AJMS *controlBlock, unsigned long baudRate);

  Description: Sets up the baud rate for the serial port.

  Return Value: None.

  Example Usage:

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

  SetBaudRate(&controlBlock, (unsigned long)38400); /* set to 38.4k Baud */
  }






  Page 14 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: void SetDTR(AJMS *controlBlock);

  Description: Turns ON the DTR (Data Terminal Ready) line on the
	       serial port. OpenCom() automaticly turns on DTR
	       when a COM port is initially opened. DTR needs to
	       be turned on to talk to a modem.

  Return Value: None.

  Also see: DropDTR()

  Example Usage:

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

  SetDTR(&controlBlock); /* Turns on DTR (Data Terminal Ready) */
  }






  Page 15 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: void DropDTR(AJMS *controlBlock);

  Description: Turns OFF the DTR (Data Terminal Ready) line on the
	       serial port. CloseCom() does NOT automatically turn
	       OFF DTR. Some modems when set up correctly will
	       drop carrier when DTR is toggled from ON->OFF->ON.
	       Your modem manual will explain more about this
	       and how to set up your modem to respond to DTR.

  Return Value: None.

  Also see: SetDTR()

  Example Usage:

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

  DropDTR(&controlBlock); /* Turns off DTR (Data Terminal Ready) */
  }






  Page 16 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: void SetDataFormat(AJMS *controlBlock, int options);

  Description: Sets the Data format for a COM port. OpenCom()
	       automatically sets the COM port to 8 Bits, 1 stop,
	       no parity. To override this, use this function.

  Return Value: None.

  Example Usage:

  /* BITS_7       - Sets COM port for 7 bits                */
  /* BITS_6       - Sets COM port for 6 bits                */
  /* BITS_7       - Sets COM port for 7 bits                */
  /* BITS_8       - Sets COM port for 8 bits                */
  /* STOP_BITS_1  - Sets COM port for 1 stop bit            */
  /* STOP_BITS_2  - Sets COM port for 2 stop bits           */
  /* PARITY_ON    - Sets COM port to use parity             */
  /* NO_PARITY    - Sets COM port not to use a parity bit   */
  /* EVEN_PARITY  - Sets COM port to use even parity        */
  /* ODD_PARITY   - Sets COM port to use odd parity         */
  /* STICK_PARITY - Sets COM port to use stick parity       */
  /* SET_BREAK    - Sets COM port to set break              */

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

    /* Sets COM port for 8-N-1, simply Bitwise OR anything you want. */
  SetDataFormat(&controlBlock, BIT_8 | NO_PARITY | STOP_BITS1);
  }






  Page 17 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: int SendString(AJMS *controlBlock, char *string);

  Description: Sends a NULL terminated string to the COM port.

  Return Value: CARRIER    - If there was a carrier while sending string.
		NO_CARRIER - If there wasn't a carrier while sending string.

  Also see: SendCharacter()

  Example Usage:

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

  SendString(&controlBlock, "\nHello World!"); /* Send string to COM port */
  }






  Page 18 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: SetFIFOMode(AJMS *controlBlock);

  Description: Turns on the FIFO buffer for a COM port. This will only
	       work with a UART 16550.

  Return Value: FIFO_ENABLED    - The FIFO has been enabled.
		NO_FIFO_PRESENT - No FIFO present (16550 Uarts ONLY)

  Also see: SetFIFOTriggerLevel()

  Example Usage:

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

    /* Try to enable the FIFO */
  if (SetFIFOMode(&controlBlock)==FIFO_ENABLED)
     printf("\nFIFO has been enabled.");
  else
     printf("\nNo FIFO Present, not a 16550.");
  }






  Page 19 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: SetFIFOTriggerLevel(AJMS *controlBlock, unsigned char mode);

  Description: Sets the FIFO trigger level for the RCVR FIFO Interrupt.
	       This only works with a UART 16550.

  Return Value: None.

  Also see: SetFIFOMode()

  Example Usage:

  /* FIFO_1_TRIGGER  - IRQ will trigger with 1 byte in FIFO buffer   */
  /* FIFO_4_TRIGGER  - IRQ will trigger with 4 bytes in FIFO buffer  */
  /* FIFO_8_TRIGGER  - IRQ will trigger with 8 bytes in FIFO buffer  */
  /* FIFO_16_TRIGGER - IRQ will trigger with 16 bytes in FIFO buffer */

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

    /* Sets FIFO to trigger on 16 characters in RCVR buffer */
  SetFIFOTriggerLevel(&controlBlock, FIFO_16_TRIGGER);
  }






  Page 20 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: int WaitForCharacter(AJMS *controlBlock, double seconds);

  Description: Waits for a character to be received in the IRQ receive
	       queue for a specified number of seconds.

  Return Value: (int)         - Character received (high byte masked)
		WAIT_TIME_OUT - Time out, no character received.

  Also see: GetCharacter()

  Example Usage:

  #include "promodem.h"
  example()
  {
  unsigned char ch;

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

   /* wait 3.5 seconds for a character, or timeout */
  ch = WaitForCharacter(&controlBlock, 3.50);
  if (ch==WAIT_TIME_OUT)
    printf("\nTimeout, no character received.\n");
  else
    printf("\nHere is the character '%c'\n", ch);
  }







  Page 21 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: DisableIRQ(AJMS *controlBlock);

  Description: Turns OFF the IRQ vector and restores it to the
	       original vector before the com port was opened.
	       This should ALWAYS be done if you are doing any spawning
	       that swaps your program to Disk or EMS.

  Return Value: None.

  Also see: EnableIRQ()

  Example Usage:

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

  DisableIRQ(&controlBlock); /* Restores IRQ vector to original  */
  }






  Page 22 - ProModem Users Manual        Interactive Telecommunication Systems


  Function: EnableIRQ(AJMS *controlBlock);

  Description: Sets up the IRQ vector to point to ProModem's serial
	       receive IRQ internal routine. This should only be used
	       if DisableIRQ() was previously called. OpenCom()
	       automatically sets up the IRQ vector when the com port
	       is originally opened.

  Return Value: None.

  Also see: DisableIRQ()

  Example Usage:

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

  EnableIRQ(&controlBlock); /* Sets IRQ vector to point to ProModem's IRQ */
  }




  Page 23 - ProModem Users Manual        Interactive Telecommunication Systems

  TERMINAL.C - Example terminal program using ProModem.

  TERMINAL.C is a demo program written using the routines in the
  ProModem library to demonstrate the library functions.

  To build the program you need to have the PROMODEM.H file that came in
  the archive and the PROM_TC.LIB or PROM_MSC.LIB to link with.
  Once you have the correct LIBs and .H files in your INCLUDE and
  LIB directories, compile and link:

  nmake PROMODEM.MAK                   ;Microsoft QuickC
  cl terminal.c /link PROM_MSC.LIB     ;Microsoft C
  tcc terminal.c PROM_TC.LIB           ;Turbo C

  TERMINAL.C is yours to do what you want with.

  NOTE: With Microsoft compilers, you must <<TURN OFF>> the DEBUG flag
	if it is set.



  Page 24 - ProModem Users Manual        Interactive Telecommunication Systems

  BBS.C - Example Bulletin Board System using ProModem.

  BBS.C is a demo BBS program written using the routines in the
  ProModem library to demonstrate the library functions.

  To build the program you need to have the PROMODEM.H file that came in
  the archive and the PROM_TC.LIB or PROM_MSC.LIB to link with.
  Once you have the correct LIBs and .H files in your INCLUDE and
  LIB directories, compile and link:

  nmake BBS.MAK                   ;Microsoft QuickC
  cl bbs.c /link PROM_MSC.LIB     ;Microsoft C
  tcc bbs.c PROM_TC.LIB           ;Turbo C

  BBS.C is yours to do what you want with.

  NOTE: With Microsoft compilers, you must <<TURN OFF>> the DEBUG flag
	if it is set.


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
婷婷丁香久久五月婷婷| 青青青爽久久午夜综合久久午夜| 欧美一区二区三区不卡| 精品久久五月天| 国产精品成人网| 日本欧美一区二区| 色94色欧美sute亚洲线路一ni| 日韩一区二区三区四区五区六区| 亚洲免费av网站| 国产精品污www在线观看| 国产精品不卡在线观看| 99视频精品在线| 精品少妇一区二区三区在线播放| 美女免费视频一区二区| 92国产精品观看| 欧美伊人久久久久久久久影院| 99视频超级精品| 国产精品福利影院| 色婷婷亚洲婷婷| 天天综合日日夜夜精品| 欧美精品123区| 久久婷婷国产综合国色天香| 亚洲欧美成aⅴ人在线观看 | 日韩欧美国产成人一区二区| 欧美一区二区三区视频免费播放| 亚洲h在线观看| 粉嫩av一区二区三区粉嫩| 国产三级欧美三级日产三级99 | 国产精品久久久久影院亚瑟 | 精品视频123区在线观看| 日韩理论片网站| 亚洲天堂福利av| 欧美中文字幕一区| 日韩国产精品久久久| 久久伊人蜜桃av一区二区| 成人综合在线网站| 精品污污网站免费看| 亚洲欧美另类小说| 91精品一区二区三区久久久久久 | 欧美一区日韩一区| 国产一区二区成人久久免费影院| 色综合久久久久综合体桃花网| 亚洲国产视频一区二区| 91亚洲精品久久久蜜桃网站| 欧洲精品在线观看| 激情亚洲综合在线| 91国产丝袜在线播放| 日本不卡123| 国产亚洲福利社区一区| 色婷婷激情综合| 福利电影一区二区三区| 亚洲成人在线观看视频| 国产日韩欧美综合一区| 欧洲日韩一区二区三区| 国产一区欧美日韩| 亚洲一区二区免费视频| 国产网红主播福利一区二区| 在线观看免费成人| 国产综合色视频| 亚洲午夜一二三区视频| 久久久久久久久久电影| 在线观看日韩高清av| 国产白丝网站精品污在线入口| 亚洲成人免费电影| 国产精品久久一级| 日韩一级高清毛片| 亚洲欧美日韩久久精品| 国产传媒欧美日韩成人| 亚洲精品高清视频在线观看| 日韩一区二区精品| 91啪九色porn原创视频在线观看| 一区二区三区毛片| 国产成人综合亚洲91猫咪| 午夜精品久久久久久久| 国产精品白丝在线| 精品国产制服丝袜高跟| 国产寡妇亲子伦一区二区| 亚洲电影第三页| 亚洲色图色小说| 国产亚洲一区二区三区| 日韩一区二区三区免费观看| 91黄视频在线| 91首页免费视频| 粉嫩aⅴ一区二区三区四区| 蜜臀av性久久久久蜜臀aⅴ四虎| 一区二区三区 在线观看视频| 久久久精品一品道一区| 精品av久久707| 日韩精品一区二区三区在线播放 | 免费成人小视频| 国产精品拍天天在线| 国产日韩欧美一区二区三区乱码 | 日韩一区二区精品| 91精品国产欧美一区二区18 | 国产精品无人区| 亚洲精品一线二线三线| 欧美不卡一二三| 欧美电视剧在线看免费| 在线不卡一区二区| 91精品在线免费| 日韩一区二区三区视频在线观看| 日本一区二区三区在线观看| 欧美videos大乳护士334| 欧美一级久久久| 欧美人与z0zoxxxx视频| 在线成人小视频| 欧美va日韩va| 久久亚洲精华国产精华液| 26uuu国产电影一区二区| 久久免费视频色| 国产喷白浆一区二区三区| 亚洲国产精品成人综合| 亚洲国产精品人人做人人爽| 欧美肥大bbwbbw高潮| 69精品人人人人| 欧美一级日韩免费不卡| 精品毛片乱码1区2区3区 | 国产精品夫妻自拍| 国产精品久久夜| 国产精品护士白丝一区av| 国产精品理论在线观看| 亚洲免费观看高清完整版在线 | 久久精品免费观看| 久久精品国产秦先生| 国产精品自拍网站| 色综合久久久久久久| 欧美日韩亚洲综合一区二区三区 | 久久国产精品露脸对白| 国产精品一区二区免费不卡 | 91久久香蕉国产日韩欧美9色| 日韩欧美国产精品一区| 久久99精品国产| 国产成人综合亚洲网站| 91色九色蝌蚪| 欧美精品色综合| 26uuu成人网一区二区三区| 国产日韩欧美一区二区三区综合| 亚洲欧美在线另类| 五月综合激情网| 国产999精品久久久久久| 在线观看亚洲a| 久久久亚洲精品一区二区三区 | 成人av网站在线观看免费| 欧美日韩在线电影| 久久久久国色av免费看影院| 亚洲天堂精品在线观看| 日韩国产欧美在线视频| 成人精品鲁一区一区二区| 欧美福利视频导航| 亚洲人成网站在线| 久草这里只有精品视频| 色噜噜狠狠成人中文综合| 久久日韩精品一区二区五区| 亚洲国产中文字幕在线视频综合| 一区二区三区高清| 一区二区三区四区在线播放| 久久精品国产久精国产| 欧美在线一区二区三区| 国产亚洲精品精华液| 婷婷成人激情在线网| 91免费在线播放| 日韩一区二区中文字幕| 洋洋av久久久久久久一区| 国产99久久久国产精品潘金网站| 欧美顶级少妇做爰| 亚洲欧美区自拍先锋| 国产成人免费xxxxxxxx| 日韩免费性生活视频播放| 一卡二卡三卡日韩欧美| 成人av网址在线| 国产日韩亚洲欧美综合| 精品一区二区免费在线观看| 欧美三级日本三级少妇99| 亚洲三级免费电影| 99久久精品一区| 欧美国产日产图区| 国产精品一区二区黑丝 | 色综合久久综合网97色综合 | 欧美一区二区免费视频| 亚洲亚洲人成综合网络| 色视频成人在线观看免| 图片区日韩欧美亚洲| 99久久婷婷国产综合精品电影| 精品日韩在线一区| 亚洲伦理在线免费看| 爽好多水快深点欧美视频| 欧美一区二区免费视频| 九一久久久久久| 中文字幕乱码一区二区免费| 99re热视频精品| 午夜久久福利影院| 337p日本欧洲亚洲大胆色噜噜| 国产盗摄视频一区二区三区| 国产精品电影一区二区| 91精品国产91久久久久久最新毛片| 精品国产欧美一区二区| 国产麻豆成人传媒免费观看| 欧美国产一区在线| 日本韩国精品一区二区在线观看| 亚洲一区日韩精品中文字幕|