home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK5 / DOS_35 / PCMCIA.ZIP / README.TXT < prev   
Text File  |  1993-07-28  |  5KB  |  174 lines

  1.  
  2.            TOSHIBA ADVANCED PCMCIA MODEM ENABLER
  3.            -------------------------------------
  4.  
  5. PLEASE NOTE
  6. ------------
  7. IF THE TOSHIBA PCMCIA CARD SERVICES DRIVER HAS BEEN INSTALLED, THEN 
  8. THIS SHOULD BE USED TO ENABLE THE MODEM AND THE PROGRAM MODEM.EXE IS
  9. NOT REQUIRED.
  10.  
  11.  
  12. INTRODUCTION
  13. ------------
  14. The program MODEM.EXE is used to switch the Toshiba Advanced PCMCIA 
  15. Modem on and off as a device on a selected com port (com1 - com4). 
  16.  
  17. The program accesses the PCMCIA hardware directly and may clash with
  18. other PCMCIA device drivers if they have been installed. 
  19.  
  20. The Advanced PCMCIA Modem should only be installed or removed when the 
  21. machine is switched off.
  22.  
  23. MODEM.EXE
  24. ---------
  25. The program MODEM.EXE has a number of parameters which are described
  26. in the following paragraphs, however, typing the command:
  27.  
  28.         MODEM<ENTER>
  29.  
  30. will display the following help screen of allowed parameters:
  31.  
  32. Usage: MODEM OFF | COM1 | COM2 | COM3 | COM4 | IRQn IOBASE [/MEM] [SLOT]
  33.        OFF switches the modem off
  34.        COM1..4 specifies COM setting
  35.        IRQ specifies the IRQ to be used (3,4,5,7)
  36.        IOBASE specifies the base address (2E8,2F8,3E8,3F8)
  37.        /MEM specifies the scratch memory  (80..FF), default is D0
  38.        SLOT specifies the slot to be used (A or B), default is A
  39.  
  40. Hint - commonly used IRQ and IOBASE combinations are:
  41.        COM1  (3F8 IRQ4)
  42.        COM2  (2F8 IRQ3)
  43.        COM3  (3E8 IRQ4)
  44.        COM4  (2E8 IRQ3)
  45.  
  46.  
  47. SWITCHING THE MODEM OFF
  48. -----------------------
  49. Typing the command:
  50.  
  51.         MODEM OFF<ENTER>
  52.  
  53. will switch the modem off, saving battery life. 
  54. When the modem is switched on but not being used it automatically 
  55. enters a low power idle state. The message 'Modem is off' is displayed 
  56. to confirm that the modem is off. If the modem was already off, the 
  57. message:
  58.  
  59.         'Modem is already off' 
  60.         
  61. is displayed.
  62.  
  63.  
  64. SETTING THE MODEM COM PORT 
  65. --------------------------
  66. Typing the command:
  67.  
  68.         MODEM COM2<ENTER>
  69.  
  70. will switch the modem on and configure it for use as COM2. 
  71.  
  72. The program displays the message 
  73.  
  74.         'Modem setup for COM2' 
  75.         
  76. to confirm that the modem has been successfully configured. 
  77.  
  78. If the modem is not installed in the PCMCIA slot the error message 
  79.  
  80.         'Modem is not present'
  81.  
  82. is displayed. 
  83.  
  84. If the configuration failed the error message 
  85.  
  86.         'Modem failed setup' 
  87.         
  88. is displayed. 
  89.  
  90. The modem can be configured as COM1, COM2, COM3 or COM4. Care should 
  91. be taken to ensure that the COM port selected is not already used by 
  92. the serial port. 
  93.  
  94.  
  95. SETTING THE MODEM ADDRESS AND IRQ
  96. ---------------------------------
  97. For users requiring non-standard COM port settings, the IRQ line and
  98. the IO base address may be specified, for example:
  99.  
  100.         MODEM 2F8 IRQ5<ENTER>
  101.  
  102. will configure the modem to use interrupt 5 and base address 2F8. The
  103. message 
  104.  
  105.         'Modem setup for 2F8 IRQ5' 
  106.         
  107. is displayed to confirm that the modem has been successfully configured.
  108.  
  109.  
  110. MODEM.EXE MEMORY ALLOCATION
  111. ---------------------------
  112. The enabler program requires 1K of free address space starting by
  113. default at the location D000:0000. In the unlikely event that this
  114. space is not available on your machine, the start address may be
  115. specified using the /MEM parameter, for example:
  116.  
  117.         MODEM COM2 /C0
  118.  
  119. will force the program to use the address space starting at
  120. C000:0000.  If the memory space is not available the message 
  121.  
  122.         'Invalid memory base address' 
  123.         
  124. is displayed.
  125.  
  126. OR
  127.  
  128. If EMM386.EXE is in your Config.sys, then exclude the address range 
  129. D000 to DFFF by adding  X=D000-DFFF to the parameters, for example:
  130.  
  131.     DEVICE=C:\DOS\EMM386.EXE X=D000-DFFF
  132.  
  133.  
  134. INSTALLING THE MODEM ENABLER 
  135. ----------------------------
  136. Copy the program MODEM.EXE to your hard-disk using the command:
  137.  
  138.         COPY A:MODEM.EXE C:\ (or to a suitable DOS pathname)
  139.  
  140. To configure the modem automatically each time the computer is
  141. switched on, add the appropriate configuration command (e.g. MODEM
  142. COM2) to your 'autoexec.bat' file. It will be useful to place the
  143. program in a directory for which a path has been setup.
  144.  
  145. Alternatively a batch file could be used to configure the modem each
  146. time the modem is used, which could then also invoke the
  147. communications package that is used. For example the batch file:
  148.  
  149.         MODEM COM2
  150.         XYZ.....
  151.         MODEM OFF
  152.  
  153. will configure the modem for COM2 and invoke your favourite package
  154. 'XYZ.....'. After you quit from the communications program the modem
  155. will be switched off.
  156.  
  157.  
  158. ERRORLEVELS WITH MODEM.EXE
  159. --------------------------
  160. The program has been designed to return an ERRORLEVEL so that the
  161. batch file can determine if the configuration was successful or not.
  162. The following batch file illustrates its use:
  163.  
  164.         @ECHO OFF
  165.         MODEM COM2
  166.         IF ERRORLEVEL 1 GOTO EXIT
  167.         XYZ.....
  168.         :EXIT
  169.         MODEM OFF
  170.  
  171. This batch file has the advantage of not invoking the communications
  172. program 'XYZ.....' unless the configuration was successful.
  173.  
  174.