home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / NUBYE / NUBY-SUP.LBR / MERCURY.DQC / MERCURY.DOC
Text File  |  2000-06-30  |  5KB  |  111 lines

  1.  
  2.                           Application Notes
  3.                                  for
  4.                             Mercury 1200
  5.                           (a.k.a. FHR 1200)
  6.                           Intelligent Modem
  7.                                  and
  8.                             NUBYE or IMP
  9.  
  10.                                  by
  11.                             Roger Warren
  12.                            (San Diego, CA.)
  13.  
  14. Introduction
  15.  
  16.     The  MERCURY 1200 is a cheapie HAYES clone which is supplied  with 
  17.   minimal documentation.  The information supplied here is the results 
  18.   of  some experimentation in the application of the MERCURY,  and  is 
  19.   intended  to help those who are trying to use this modem with  NUBYE 
  20.   or IMP.
  21.  
  22. Hardware Notes
  23.  
  24.   1)    VERY  IMPORTANT!!  The nomenclature on the case of some of the 
  25.         MERCURY modems is INCORRECT,  and NOT ALL are supplied with an 
  26.         errata sheet!   From the rear of the device,  the  connections 
  27.         and switches ARE (from left to right): POWER, LINE, PHONE, RS-
  28.         TTL  switch,  DCE-DTE  switch.   The incorrect  case  markings 
  29.         transpose the RS-TTL and DCE-DTE switch!
  30.  
  31.   2)    SW4- Internal DIP switch:
  32.  
  33.     Position 2 is called HCD and is documented as follows:
  34.  
  35.           In  the  OFF  position  (default)  Carrier  Detect  operates 
  36.           independent  of the DTR input.   In the ON position  Carrier 
  37.           detect is held off until DTR is presented.
  38.  
  39.     Experimentation has yielded the following information:
  40.  
  41.       With  position 2 in the OFF (default) position.   DTR has NO 
  42.           effect  on MODEM operation.   The modem escape sequence  (if 
  43.           online) followed by the ATH command MUST be used to hang  up 
  44.           the  phone!  With position 2 in the ON position.  DTR can be 
  45.           used  to hang up the phone and hold  off  answer.   However, 
  46.           with  this  setting  the  modem  will  dial,  but  will  not 
  47.           originate a carrier under IMP.
  48.  
  49.     The author has made the following mod to his modem:
  50.  
  51.           SW4  position 2 is left open and a separate switch has  been 
  52.           run  external  to the case and attached in parallel  to  DIP 
  53.           switch.   I've labelled this ANS/ORIG.   In the OPEN  (ORIG) 
  54.           position  the modem will ORIGINATE under IMP,  but will  not 
  55.           use  the DTR signal.  In the CLOSED (ANS) position the modem 
  56.           can be used under NUBYE using the DTR signal to hang up  the 
  57.           phone.
  58.  
  59.         Of  course,  you can always leave the case off and change  the 
  60.         switch MANUALLY!
  61.  
  62.         REMEMBER  to  turn modem power OFF when  changing  any  switch 
  63.         setting!!
  64.  
  65. IMP installation
  66.  
  67.         To originate under IMP,  the switch discussed above should  be 
  68.         OPEN  (in  the ORIG mode).   DTR will have no effect on  modem 
  69.         operation. Under IMP244 , use the NODTR feature to inform IMP.  
  70.         In previous versions,  you'll have to code in your own  online 
  71.         ESCAPE and HANGUP command in the IMP overlay.
  72.  
  73. NUBYE installation
  74.  
  75.     Use under NUBYE is not so straightforward.
  76.  
  77.     USE the ANS mode (SW4 position 2 CLOSED) if possible!!!
  78.  
  79.     USE the following NUBYE EQUATE settings:
  80.  
  81.     IMODEM    equ    YES    ; intelligent modem
  82.     IMAT    equ    YES    ; MODEM uses protocol
  83.  
  84.     ECHO    equ    NO    ; MERCURY does not echo ESC chars,if used
  85.     ANCHOR    equ    YES    ; MERCURY ACCEPTS the extended commands,
  86.                 ; but IGNORES them.  THE ANCHOR subset is
  87.                 ; sufficient.  ALSO, when answering at
  88.                 ; 300 BAUD it returns the resutl code at
  89.                 ; at 300 (as does the ANCHOR)
  90.     HS1200    equ    YES    ;
  91.     NODTR    equ    NO    ; use the DTR line to hang up
  92.     NOATA    equ    NO    ; MERCURY USES ATA
  93.     SHORTB    equ    xx    ; doesn't matter, use NO.
  94.  
  95. NOTE:    If  you  MUST use NODTR equ YES then you'll have to  edit  the 
  96.         NUBYE  source code.   The combination of EQUATES ANCHOR =  YES 
  97.         and  NODTR = YES causes NUBYE to initialize the modem with  an 
  98.         escape character of 128d (80h).  While the MERCURY ACCEPTS the 
  99.         setting, sending three bytes of 80h (preceeded and followed by 
  100.         a 1 second pause) does not cause an online escape.  Change the 
  101.         code  to eliminate the S2=128 initialization  command!   NUBYE 
  102.         will use the +++ escape sequence. SET SW4 position 2 to OPEN!
  103.  
  104. Special NOTE:
  105.  
  106.         Setting  ANCHOR=YES  and  NODTR=YES  will  currently  cause  a 
  107.         combination  where  the  modem  (not  just  the  MERCURY)   is 
  108.         programmed as having the escape character as 80h,  while NUBYE 
  109.         issues an ascii +++.
  110.  
  111.