home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / DLL / EMX / BOOK / EMXRT.INF (.txt)
OS/2 Help File  |  1994-09-20  |  30KB  |  816 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. 1 Introduction to the User's Guide to the emx Runtime ΓòÉΓòÉΓòÉ
  3.  
  4.  User's Guide to the emx Runtime 
  5.  
  6.     Copyright (c) 1990-1994 by Eberhard Mattes 
  7.  
  8.  This is the documentation for the emx runtime package.  The emx runtime is an 
  9.  environment for 32-bit programs under OS/2 2.0, OS/2 2.1 (OS/2, in short), 
  10.  MS-DOS, and PC-DOS (DOS, in short). 
  11.  
  12.   Hardware requirements
  13.   Files included in the emx runtime package
  14.  
  15.  
  16. ΓòÉΓòÉΓòÉ 1.1. 1.1 Hardware requirements ΓòÉΓòÉΓòÉ
  17.  
  18.  o emx requires an 80386 CPU (80386DX, 80386SX, i486, or later) 
  19.  
  20.  o emx requires an 80387 coprocessor (or i486 processor) if floating point math 
  21.    is to be used under DOS 
  22.  
  23.  
  24. ΓòÉΓòÉΓòÉ 1.2. 1.2 Files included in the emx runtime package ΓòÉΓòÉΓòÉ
  25.  
  26.  The emx runtime package includes the following files: 
  27.  
  28.     \emx\bin\emx.exe              emx runtime for DOS
  29.     \emx\bin\emxbind.exe          Tool for modifying emx programs (DOS and OS/2)
  30.     \emx\bin\emxl.exe             emx loader (used by emxbind)
  31.     \emx\bin\emxload.exe          Server for keeping OS/2 programs in memory
  32.     \emx\bin\emxrev.cmd           Tool for displaying emx revisions (OS/2)
  33.     \emx\book\emxrt.inf           The text you are looking at (VIEW version)
  34.     \emx\dll\emx.dll              emx runtime for OS/2
  35.     \emx\dll\emxio.dll            Hardware port I/O under OS/2
  36.     \emx\dll\emxlibc.dll          C library for emx programs (OS/2)
  37.     \emx\dll\emxwrap.dll          Interface to 16-bit OS/2 functions (OS/2)
  38.     \emx\doc\emxrt.doc            The text you are looking at (text version)
  39.     \emx\etc\termcap.dat          Terminal data base for termcap-based programs
  40.  
  41.  
  42. ΓòÉΓòÉΓòÉ 2. 2 Copyright ΓòÉΓòÉΓòÉ
  43.  
  44.  emx.exe, emxbind.exe, emxl.exe, emxload.exe emx.dll, emxio.dll, emxwrap.dll, 
  45.  emxrt.doc, and emxrt.inf are 
  46.  
  47.      Copyright (c) 1990-1994 by Eberhard Mattes. 
  48.  
  49.      Everybody is allowed to use the emx runtime package.  You are allowed to 
  50.      copy the unmodified emx runtime package if you do not charge for the 
  51.      distribution. 
  52.  
  53.      emxload.exe is under the GNU General Public License; however, as special 
  54.      exception, emxload.exe can be distributed in binary form without source 
  55.      code (unless it has been modified or recompiled) in the emxrt.zip package. 
  56.      The source for emxload.exe is available in emxsrc1.zip on the ftp servers 
  57.      listed below. 
  58.  
  59.  THERE IS NO WARRANTY! 
  60.  
  61.      No guarantee is made as to the proper functioning of the software.  No 
  62.      liability will be admitted for damage resulting from using the software. 
  63.  
  64.  
  65. ΓòÉΓòÉΓòÉ 3. 3 Installing the emx runtime package under OS/2 ΓòÉΓòÉΓòÉ
  66.  
  67.   Summary for impatient OS/2 users
  68.   Detailed instructions for OS/2 users
  69.  
  70.  
  71. ΓòÉΓòÉΓòÉ 3.1. 3.1 Summary for impatient OS/2 users ΓòÉΓòÉΓòÉ
  72.  
  73.   1. Add \emx\dll to LIBPATH (always use the latest copy of the .dll files!) 
  74.  
  75.   2. Add \emx\bin to PATH 
  76.  
  77.   3. Reboot 
  78.  
  79.  
  80. ΓòÉΓòÉΓòÉ 3.2. 3.2 Detailed instructions for OS/2 users ΓòÉΓòÉΓòÉ
  81.  
  82.  emx requires OS/2 2.x and does not run in DOS mode of OS/2. 
  83.  
  84.  Before changing config.sys, make a backup copy of that file! 
  85.  
  86.  The emx runtime is implemented as a set of dynamic link libraries under OS/2: 
  87.  
  88.  emx.dll emx run-time support for OS/2 
  89.  
  90.  emxio.dll access to hardware ports for emx programs under OS/2 
  91.  
  92.  emxlibc.dll emx C library 
  93.  
  94.  emxwrap.dll 32-bit wrappers for 16-bit OS/2 API functions 
  95.  
  96.  OS/2 looks for dynamic link libraries in the directories listed in the LIBPATH 
  97.  statement of your config.sys file.  Note that LIBPATH is not an environment 
  98.  variable! 
  99.  
  100.  At any time, at most one version of a dynamic link library is loaded.  If 
  101.  there are different versions of a dynamic link library in the directories 
  102.  listed in the LIBPATH statement, the first one listed is loaded.  If you 
  103.  already have installed the emx dynamic link libraries, you should be careful 
  104.  to use the latest revision of those dynamic link libraries.  Newer emx dynamic 
  105.  link libraries work with older emx programs, but newer emx programs don't work 
  106.  with older emx dynamic link libraries.  To find out about already installed 
  107.  emx dynamic link libraries, type 
  108.  
  109.           cd \emx\bin
  110.           emxrev
  111.  
  112.  If no emx dynamic link libraries are installed, no output is produced.  If 
  113.  there are emx dynamic link libraries installed, the names and revision numbers 
  114.  are displayed, for instance 
  115.  
  116.           EMX : revision = 12
  117.           EMXIO : revision = 12
  118.           EMXLIBC : revision = 12
  119.           EMXWRAP : revision = 12
  120.  
  121.  Only directories listed in the LIBPATH statement are searched.  To find out 
  122.  the revision numbers of the dynamic link libraries of this package, type 
  123.  
  124.           emxrev -d c:\emx\dll
  125.  
  126.  if you have put the emx runtime package on drive C.  After running emxrev, you 
  127.  should quit the command processor by typing 
  128.  
  129.           exit
  130.  
  131.  to release the dynamic link libraries (they have been loaded by cmd.exe as 
  132.  emxrev is a REXX procedure).  Otherwise, you cannot rename, overwrite or 
  133.  delete those files.  This also happens if one of the emx dynamic link 
  134.  libraries is currently used by a program.  If you get error message SYS0032, 
  135.  use 
  136.  
  137.           pstat /L
  138.  
  139.  to find out about the dynamic link libraries used by the programs currently 
  140.  running.  Terminate all the programs using emx.dll, emxio.dll, emxlibc.dll or 
  141.  emxwrap.dll. 
  142.  
  143.  Either copy the latest revisions of the emx dynamic link libraries (that is, 
  144.  those with the highest revision numbers) to a directory directory listed in 
  145.  the LIBPATH statement of config.sys or modify the LIBPATH statement to include 
  146.  the directory where the latest revisions of the emx dynamic link libraries can 
  147.  be found. 
  148.  
  149.  The directories of the LIBPATH statement are separated by semicolons.  To add 
  150.  c:\emx\dll to the LIBPATH statement, append a semicolon -- if there is not yet 
  151.  a semicolon -- to the end of the line of config.sys that starts with 
  152.  
  153.           LIBPATH=
  154.  
  155.  Then, type the absolute name of the directory.  Example: 
  156.  
  157.           LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;D:\EMX\DLL
  158.  
  159.  Optionally, you can append a semicolon at the end. 
  160.  
  161.  Next, modify the line of config.sys starting with 
  162.  
  163.           SET PATH=
  164.  
  165.  to include the \emx\bin directory.  For instance, change 
  166.  
  167.           SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  168.           C:\;C:\OS2\MDOS;C:\OS2\APPS
  169.  
  170.  to 
  171.  
  172.           SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  173.           C:\;C:\OS2\MDOS;C:\OS2\APPS;D:\EMX\BIN
  174.  
  175.  As with LIBPATH, you have to put a semicolon between the path names and a 
  176.  trailing semicolon is optional.  Note that the last two examples are shown in 
  177.  two lines; in config.sys, however, the complete SET statement must be put into 
  178.  one line. 
  179.  
  180.  You might want to add \emx\book to the BOOKSHELF environment variable to 
  181.  simplify viewing the on-line documentation.  For instance, change the line 
  182.  
  183.           SET BOOKSHELF=C:\OS2\BOOK;
  184.  
  185.  of your config.sys file to 
  186.  
  187.           SET BOOKSHELF=C:\OS2\BOOK;C:\EMX\BOOK
  188.  
  189.  as with PATH, you have to put a semicolon between the path names and a 
  190.  trailing semicolon is optional. 
  191.  
  192.  Now, you should reboot to activate the changes to config.sys.  After booting, 
  193.  run 
  194.  
  195.           emxrev
  196.  
  197.  to verify that the latest revision of emx is now active. 
  198.  
  199.  If OS/2 says 
  200.  
  201.           SYS1804: The system cannot find the file EMX.
  202.  
  203.  when running an emx program, you have not correctly set the LIBPATH statement 
  204.  of config.sys.  See above for details. 
  205.  
  206.  
  207. ΓòÉΓòÉΓòÉ 4. 4 Installing the emx runtime package under DOS ΓòÉΓòÉΓòÉ
  208.  
  209.   Summary for impatient DOS users
  210.   Detailed instructions for DOS users
  211.  
  212.  
  213. ΓòÉΓòÉΓòÉ 4.1. 4.1 Summary for impatient DOS users ΓòÉΓòÉΓòÉ
  214.  
  215.   1. Add \emx\bin to PATH or set EMX to point to \emx\bin\emx.exe 
  216.  
  217.   2. If you are using a memory manager which implements DPMI, enable VCPI 
  218.  
  219.   3. Remove BREAK=ON from config.sys 
  220.  
  221.   4. Reboot 
  222.  
  223.  
  224. ΓòÉΓòÉΓòÉ 4.2. 4.2 Detailed instructions for DOS users ΓòÉΓòÉΓòÉ
  225.  
  226.  emx programs for DOS come in two flavours: those which load emx.exe from a 
  227.  separate file and those which have the emx runtime emx.exe integrated in the 
  228.  executable file of the application program. 
  229.  
  230.  Before changing autoexec.bat and config.sys, make a backup copy of these 
  231.  files! 
  232.  
  233.  If you want to use a program which loads emx.exe, you have to put emx.exe into 
  234.  a directory which is listed in your PATH environment variable or you have to 
  235.  change the PATH environment variable (in autoexec.bat) to include the 
  236.  directory in which emx.exe can be found.  For instance, if your autoexec.bat 
  237.  file contains the line 
  238.  
  239.           path c:\dos;d:\bin
  240.  
  241.  you have installed the emx runtime on drive D, you should modify that line to 
  242.  read 
  243.  
  244.           path c:\dos;d:\bin;d:\emx\bin
  245.  
  246.  You have to put a semicolon between the path names. 
  247.  
  248.  Alternatively, you can set an environment variable which directly points to 
  249.  the emx.exe executable.  If you use this method, your program can locate 
  250.  emx.exe more quickly.  If you have installed the emx runtime on drive D:, you 
  251.  should add the following line to your autoexec.bat file: 
  252.  
  253.           set emx=d:\emx\bin\emx.exe
  254.  
  255.  Note that a directory name is not sufficient -- you have to type the complete 
  256.  path name of the emx.exe file. 
  257.  
  258.  Programs of the second flavour, having emx.exe integrated, don't require 
  259.  \emx\bin added to the PATH environment variable or the EMX environment 
  260.  variable being set.  The program itself, however, may need changes to your 
  261.  autoexec.bat file.  See the documentation accompanying the program.  The 
  262.  following steps are required for both flavours of emx programs. 
  263.  
  264.  If you are using a memory manager (such as QEMM or EMM386 or 386max) which 
  265.  implements DPMI (DOS Protected Mode Interface), you have to change the 
  266.  invokation of that memory manager to enable VCPI as emx does not support DPMI. 
  267.  See the documentation of your memory for details.  If your memory manager 
  268.  supports DPMI only (without VCPI), you have to remove or disable the memory 
  269.  manager.  emx supports XMS and VCPI. 
  270.  
  271.  Examine your config.sys file: If there is a line 
  272.  
  273.           BREAK=ON
  274.  
  275.  in it, you should remove it as it causes trouble with emx and lots of other 
  276.  programs. 
  277.  
  278.  If you are using an Intel Inboard 386/PC, add the following line to 
  279.  autoexec.bat: 
  280.  
  281.           set emxopt=-m3
  282.  
  283.  If the swap file (used to swap memory pages to disk when running out of 
  284.  physical memory) should be in a specific directory or on a specific disk 
  285.  drive, set the EMXTMP environment variable in autoexec.bat.  Example: 
  286.  
  287.           set emxtmp=c:\tmp
  288.  
  289.  Now, you should reboot to activate the changes to config.sys and autoexec.bat. 
  290.  
  291.  
  292. ΓòÉΓòÉΓòÉ 5. 5 Environment variables (OS/2 and DOS) ΓòÉΓòÉΓòÉ
  293.  
  294.  The operation of emx and emx programs is controlled by several environment 
  295.  variables.  You might have to set one or more of the following environment 
  296.  variables: 
  297.  
  298.  INIT    used by termcap to find termcap.dat 
  299.  
  300.  TERM    used by termcap to define the terminal type 
  301.  
  302.  EMXETC  used by termcap to find termcap.dat 
  303.  
  304.  EMXOPT  emx options (see below) 
  305.  
  306.  EMXSHELL overrides the COMSPEC environment variable.  You can use this to run 
  307.          an alternate command processor (shell) from emx programs 
  308.  
  309.  EMXPATH search path for programs (usually not relevant) 
  310.  
  311.  PATH    search path for program (used if EMXPATH fails) 
  312.  
  313.  TERMCAP used by termcap to find termcap.dat 
  314.  
  315.   Environment variables (DOS)
  316.  
  317.  
  318. ΓòÉΓòÉΓòÉ 5.1. 5.1 Environment variables (DOS) ΓòÉΓòÉΓòÉ
  319.  
  320.  EMX     path name of emx.exe, used by programs which are bound with emxl.exe 
  321.          (the emx loader) instead of emx.exe.  Set EMX to speed up loading of 
  322.          emx.exe or to load a specific version of emx.exe 
  323.  
  324.  EMXTMP  directory for the swap file 
  325.  
  326.  TMP     used if EMXTMP is not set 
  327.  
  328.  
  329. ΓòÉΓòÉΓòÉ 6. 6 DOS Notes ΓòÉΓòÉΓòÉ
  330.  
  331.   General notes
  332.   Using rsx instead of emx
  333.  
  334.  
  335. ΓòÉΓòÉΓòÉ 6.1. 6.1 General notes ΓòÉΓòÉΓòÉ
  336.  
  337.  o emx requires DOS 3.0 or later 
  338.  
  339.  o emx does not support DPMI 
  340.  
  341.  o emx does not support DESQview without VCPI (use QEMM-386 with DESQview) 
  342.  
  343.  o If emx doesn't work under DESQview (especially if it displays the message 
  344.  
  345.               Nonmaskable interrupt (NMI)
  346.  
  347.    either set the protection level to 0 or use the WATCHDOG=0 option of 
  348.    QEMM-386. 
  349.  
  350.  o emx supports VCPI 
  351.  
  352.  o emx supports XMS.  Do not use emx with himem.sys 2.06 or earlier. 
  353.  
  354.  o emx checks for XMS version number 2.00 or later and for XMS driver revision 
  355.    2.06 or later, as older himem.sys drivers don't work correctly.  You can 
  356.    override this check by using the -O emx option (for drivers using a 
  357.    different revision numbering scheme), but emx may not work with your XMS 
  358.    driver, anyway.  Actually, emx has not been tested with himem.sys 2.05; 2.04 
  359.    fails, 2.06 works. 
  360.  
  361.  o emx supports vdisk.sys 3.3 and later and most other RAM disk drivers 
  362.  
  363.  o emx uses (or tries to use) all available memory, whether conventional, 
  364.    extended, or expanded memory.  But it does not use extended memory and 
  365.    expanded memory at the same time.  If there isn't enough memory, emx will 
  366.    swap to disk.  The swap file will be created in the directory given by the 
  367.    EMXTMP environment variable.  If EMXTMP is not set, TMP will be used.  If 
  368.    both variables are not set, the swap file will be created in the root 
  369.    directory of the current drive. 
  370.  
  371.  
  372. ΓòÉΓòÉΓòÉ 6.2. 6.2 Using rsx instead of emx ΓòÉΓòÉΓòÉ
  373.  
  374.  rsx is a DPMI-compliant DOS extender which is more or less compatible to emx. 
  375.  Moreover, rsx contains a floating point emulator.  rsx is free software and 
  376.  has been written by Rainer Schnittker.  As of this writing, rsx is available 
  377.  for anonymous ftp as 
  378.  
  379.           ftp.uni-bielefeld.de: /pub/systems/msdos/misc/dpmigcc4.zip
  380.           ftp.uni-stuttgart.de: /pub/systems/os2/emx-0.8h/contrib/dpmigcc4.zip
  381.           ftp.informatik.tu-muenchen.de [131.159.0.198]:
  382.                                 /pub/comp/os/os2/gnu/emx+gcc/contrib/dpmigcc4.zip
  383.  
  384.  If the emx loader emxl.exe finds a DPMI server but no VCPI server, it tries to 
  385.  run rsx.exe instead of emx.exe.  The RSX environment variable will be used 
  386.  instead of the EMX environment variable for locating rsx.exe. 
  387.  
  388.  To load rsx.exe instead of emx.exe even if there is a DPMI server and a VCPI 
  389.  server (for instance if you need the floating point emulation of rsx), set the 
  390.  EMX environment variable to point to rsx.exe.  Note that rsx needs a DPMI 
  391.  server. 
  392.  
  393.  
  394. ΓòÉΓòÉΓòÉ 7. 7 emx options ΓòÉΓòÉΓòÉ
  395.  
  396.  You can customize emx by setting the EMXOPT environment variable.  This 
  397.  environment variable contains a list of options, similar to command line 
  398.  options.  The options must be separated by at least one blank.  Example: 
  399.  
  400.           set emxopt=-c -h40
  401.  
  402.   emx options (OS/2)
  403.   emx options (DOS)
  404.  
  405.  
  406. ΓòÉΓòÉΓòÉ 7.1. 7.1 emx options (OS/2) ΓòÉΓòÉΓòÉ
  407.  
  408.  -c      Disable core dumps caused by signals and exceptions 
  409.  
  410.  -h#     Set OS/2 file handle limit to #.  The number # must be between 10 and 
  411.          255 
  412.  
  413.  -r*     Prepend drive letter * to absolute path names.  If a path name starts 
  414.          with / but does not start with //, /dev/ or /pipe/, * followed by a 
  415.          colon will be prepended.  If -rd has been given, the file name 
  416.          \mydir\abc will be translated to d:\mydir\abc.  Note: this option can 
  417.          cause unexpected effects 
  418.  
  419.  -t      Truncate file names to 8.3 
  420.  
  421.  -E      Run debuggee in same session (window) as debugger 
  422.  
  423.  
  424. ΓòÉΓòÉΓòÉ 7.2. 7.2 emx options (DOS) ΓòÉΓòÉΓòÉ
  425.  
  426.  -c      Disable core dumps caused by signals and exceptions 
  427.  
  428.  -d      Don't use extended memory 
  429.  
  430.  -e      Don't check for 387 coprocessor.  Assume no coprocessor is present 
  431.  
  432.  -h#     Set DOS file handle limit to #.  The number # must be between 10 and 
  433.          255.  This option is ignored for DOS versions earlier than 3.30.  This 
  434.          option does not change the emx limit for the number of files per 
  435.          process -- that limit is always 40 
  436.  
  437.  -m1     Running on Fujitsu FMR70 (not implemented yet) 
  438.  
  439.  -m2     Running on NEC PC-98 (not implemented yet) 
  440.  
  441.  -m3     Running on Intel Inboard 386/PC 
  442.  
  443.  -o      Send the register dump of an exception to stdout.  Without -o, the 
  444.          register dump is sent to the CON device.  You need -o for redirecting 
  445.          the register dump to a file. 
  446.  
  447.          emx now creates a core dump file (named `core') instead of a register 
  448.          dump.  Please keep that file in case the author of the program needs 
  449.          it for debugging. 
  450.  
  451.  -r*     Prepend drive letter * to absolute path names.  If a path name starts 
  452.          with / but does not start with //, /dev/ or /pipe/, * followed by a 
  453.          colon will be prepended.  If -rd has been given, the file name 
  454.          \mydir\abc will be translated to d:\mydir\abc.  Note: this option can 
  455.          cause unexpected effects 
  456.  
  457.  -t      Truncate file names to 8.3 format.  Each part of a pathname is 
  458.          truncated to 8.3 format by taking the first 8 characters before the 
  459.          dot and the first 3 characters after the dot.  This is useful to 
  460.          compile programs on a FAT filesystem with minimal changes 
  461.  
  462.  -O      Override XMS version check.  By default, emx checks for XMS version 
  463.          number 2.00 or later and for XMS driver revision 2.06 or later, as 
  464.          older himem.sys drivers don't work correctly.  You can override this 
  465.          check by giving the -O option (for drivers using a different revision 
  466.          numbering scheme), but emx may not work with your XMS driver, anyway. 
  467.          Actually, emx has not been tested with himem.sys 2.05; 2.04 fails, 
  468.          2.06 works 
  469.  
  470.  -V      Display emx version.  On program start, the emx version will be 
  471.          displayed 
  472.  
  473.  
  474. ΓòÉΓòÉΓòÉ 8. 8 Troubleshooting ΓòÉΓòÉΓòÉ
  475.  
  476.  This section shows how to solve common problems involving the emx runtime. 
  477.  
  478.   Warning message `WARNING: emx 0.8h or later required'
  479.   unzip.exe says `cannot create emx/dll/emx.dll'
  480.   emx.dll cannot be deleted, renamed or overwritten
  481.   Error message `SYS1804: The system cannot find the file EMX.'
  482.   Error message `rsx not found, DPMI not supported by emx'
  483.  
  484.  
  485. ΓòÉΓòÉΓòÉ 8.1. 8.1 Warning message `WARNING: emx 0.8h or later required' ΓòÉΓòÉΓòÉ
  486.  
  487.  If this message appears, an out-of-date version of emx.dll is active.  Make 
  488.  sure that the latest version of emx.dll is in a directory pointed to by the 
  489.  LIBPATH statement in your config.sys file.  Use 
  490.  
  491.           emxrev -p c:\config.sys
  492.  
  493.  to list all emx dynamic link libraries reachable by the LIBPATH statement of 
  494.  c:\config.sys (use the drive letter of your boot drive instead of c:).  To 
  495.  simplify things, you should keep only one version of each DLL.  Older programs 
  496.  work with newer emx DLLs, but not vice versa. 
  497.  
  498.  
  499. ΓòÉΓòÉΓòÉ 8.2. 8.2 unzip.exe says `cannot create emx/dll/emx.dll' ΓòÉΓòÉΓòÉ
  500.  
  501.  This happens when you try to unpack emxrt.zip while a program is active which 
  502.  uses emx.dll.  Terminate all programs which use emx.dll and try again.  If you 
  503.  run emxrev, the command interpreter keeps emx.dll loaded until terminated. 
  504.  Therefore, you should close all OS/2 windows and full-screen sessions in which 
  505.  you have run emxrev.  All this also applies to emxlibc.dll etc. 
  506.  
  507.  
  508. ΓòÉΓòÉΓòÉ 8.3. 8.3 emx.dll cannot be deleted, renamed or overwritten ΓòÉΓòÉΓòÉ
  509.  
  510.  See the previous problem. 
  511.  
  512.  
  513. ΓòÉΓòÉΓòÉ 8.4. 8.4 Error message `SYS1804: The system cannot find the file EMX.' ΓòÉΓòÉΓòÉ
  514.  
  515.  You have not correctly set the LIBPATH statement of config.sys, therefore 
  516.  emx.dll could not be found. 
  517.  
  518.  
  519. ΓòÉΓòÉΓòÉ 8.5. 8.5 Error message `rsx not found, DPMI not supported by emx' ΓòÉΓòÉΓòÉ
  520.  
  521.  The current version of emx cannot use DPMI.  Therefore, the loader tried to 
  522.  use rsx instead, but couldn't find rsx.  Remedy: install rsx or end the DPMI 
  523.  server (MS Windows). 
  524.  
  525.  
  526. ΓòÉΓòÉΓòÉ 9. 9 emx messages ΓòÉΓòÉΓòÉ
  527.  
  528.   emx messages (OS/2)
  529.   emx messages (DOS)
  530.  
  531.  
  532. ΓòÉΓòÉΓòÉ 9.1. 9.1 emx messages (OS/2) ΓòÉΓòÉΓòÉ
  533.  
  534.  core dumped 
  535.  
  536.      The program cannot continue due to a fatal error (exception).  An image of 
  537.      the program's memory has been written to a file named `core'.  Please keep 
  538.      that file in case the author of the program needs it for debugging. 
  539.  
  540.  Invalid option in EMXOPT 
  541.  
  542.      An option in the EMXOPT environement variable is not understood by emx. 
  543.  
  544.  Invalid syscall function code 
  545.  
  546.      The program run by emx has called an invalid system function.  Most 
  547.      likely, you're using an emx.dll which is out of date. 
  548.  
  549.  WARNING: emx 0.8h or later required 
  550.  
  551.      The program requires emx.dll 0.8h or later.  However, an older version of 
  552.      emx.dll is active.  Make sure that the latest version of emx.dll is in a 
  553.      directory pointed to by the LIBPATH statement in your config.sys file. 
  554.      Use 
  555.  
  556.                   emxrev -p c:\config.sys
  557.  
  558.      to list all emx dynamic link libraries reachable by the LIBPATH statement 
  559.      of c:\config.sys (use the drive letter of your boot drive instead of c:). 
  560.      To simplify things, you should keep only one version of each DLL.  Older 
  561.      programs work with newer emx DLLs, but not vice versa. 
  562.  
  563.  
  564. ΓòÉΓòÉΓòÉ 9.2. 9.2 emx messages (DOS) ΓòÉΓòÉΓòÉ
  565.  
  566.  Abnormal program termination 
  567.  
  568.      The program received the SIGABRT signal.  The abort() function was called 
  569.      or SIGABRT was raised. 
  570.  
  571.  Bad environment 
  572.  
  573.      The program name could not be found in the environment segment or the 
  574.      environment segment is longer than 32768 bytes.  This should not happen in 
  575.      practice. 
  576.  
  577.  Cannot create swap file 
  578.  
  579.      The swap file could not be created.  Remedy: make sure the swap file can 
  580.      be created in the directory given by the EMXTMP (or TMP) environment 
  581.      variable.  If EMXTMP and TMP are not set, emx will create the swap file in 
  582.      the root directory of the current drive. 
  583.  
  584.  Cannot enable A20 
  585.  
  586.      emx tried to enable address line A20 and failed.  Remedy: contact the 
  587.      author. 
  588.  
  589.  Cannot enable A20 via XMS 
  590.  
  591.      emx tried to enable address line A20 by calling the XMS driver. 
  592.      Unfortunately, A20 couldn't be enabled.  Remedy: unknown. 
  593.  
  594.  Cannot open program file 
  595.  
  596.      The program file given on the emx command line could not be found or 
  597.      opened.  Remedy: type the correct file name.  (This should not happen with 
  598.      bound programs.) 
  599.  
  600.  Cannot read program file 
  601.  
  602.      An error occured while reading the program file.  Remedy: make sure the 
  603.      program file given on the emx command line is valid (this does not apply 
  604.      to bound programs).  Maybe some other program accesses that file. 
  605.  
  606.  core dumped 
  607.  
  608.      The program cannot continue due to a fatal error (exception).  An image of 
  609.      the program's memory has been written to a file named `core'.  Please keep 
  610.      that file in case the author of the program needs it for debugging. 
  611.  
  612.  DPMI not supported 
  613.  
  614.      The current version of emx cannot use DPMI.  Maybe some future version 
  615.      will do.  Remedy: end the DPMI server (MS Windows) or use rsx. 
  616.  
  617.  emx not found 
  618.  
  619.      The emx loader (emxl.exe) failed to find emx.exe.  Make sure that emx.exe 
  620.      is in a directory listed in the PATH environment variable.  Alternatively, 
  621.      you can set the EMX environment variable to the complete path name of 
  622.      emx.exe. 
  623.  
  624.  Exception ... 
  625.  
  626.      The program run by emx tried to do something which is considered illegal 
  627.      by the processor or by emx.  Remedy: report to the supplier of the 
  628.      program. 
  629.  
  630.  Illegal moucall function 
  631.  
  632.      The program run by emx has called an invalid system function.  Remedy: 
  633.      report to the supplier of the program. 
  634.  
  635.  Illegal syscall function 
  636.  
  637.      The program run by emx has called an invalid system function.  Remedy: 
  638.      report to the supplier of the program. 
  639.  
  640.  Illegal viocall function 
  641.  
  642.      The program run by emx has called an invalid system function.  Remedy: 
  643.      report to the supplier of the program. 
  644.  
  645.  Invalid arguments for DOS function xx 
  646.  
  647.      The program run by emx has used invalid arguments for a system function. 
  648.      Remedy: report to the supplier of the program. 
  649.  
  650.  Invalid emx option 
  651.  
  652.      An option in EMXOPT or set by emxbind is not understood by emx.  Remedy: 
  653.      check EMXOPT.  Use emxbind -i to display the options set by emxbind. 
  654.  
  655.  Invalid program file 
  656.  
  657.      The program file given on the emx command line (or bound to emx) is 
  658.      corrupt.  Remedy: reload the program from diskette.  If this doesn't help 
  659.      you should contact the supplier of the program. 
  660.  
  661.  Invalid special function code: xx 
  662.  
  663.      The program run by emx has called an invalid system function.  Remedy: 
  664.      report to the supplier of the program. 
  665.  
  666.  Linear address space exhausted 
  667.  
  668.      The program run by emx uses far too much memory.  Remedy: complain to the 
  669.      author. 
  670.  
  671.  Nonmaskable interrupt (NMI) at xxxx:yyyyyyyy 
  672.  
  673.      A nonmaskable interrupt occured.  Maybe this is due to a memory error. 
  674.      Remedy: if you are using DESQview, either set the protection level to 0 or 
  675.      use the WATCHDOG=0 option of QEMM-386.  Otherwise, run a program for 
  676.      testing memory. 
  677.  
  678.  Out of memory 
  679.  
  680.      There isn't enough memory for running emx.  Remedy: remove some drivers 
  681.      and/or resident programs.  Or add memory to your machine. 
  682.  
  683.  Out of stacks 
  684.  
  685.      emx ran out of local stacks.  Remedy: complain to the author. 
  686.  
  687.  Out of memory or swap space 
  688.  
  689.      emx cannot write to the swap file because the disk is full.  Remedy: make 
  690.      sure there is enough space on the drive used for the swap file.  Use the 
  691.      EMXTMP (or TMP) environment variable to tell emx where to create the swap 
  692.      file.  If neither EMXTMP nor TMP is set, emx will create the swap file in 
  693.      the root directory of the current drive. 
  694.  
  695.  Out of swap space 
  696.  
  697.      emx cannot write to the swap file because the disk is full.  Remedy: make 
  698.      sure there is enough space on the drive used for the swap file.  Use the 
  699.      EMXTMP (or TMP) environment variable to tell emx where to create the swap 
  700.      file.  If neither EMXTMP nor TMP is set, emx will create the swap file in 
  701.      the root directory of the current drive. 
  702.  
  703.  Process terminated by SIGINT 
  704.  
  705.      You have stopped the program by hitting Ctrl-C or Ctrl-Break. 
  706.  
  707.  Process terminated by SIG... 
  708.  
  709.      The program has been stopped due to a signal or exception.  Usually, this 
  710.      indicates a fatal error in the program. 
  711.  
  712.  Program aborted 
  713.  
  714.      You have aborted the program by answering `Abort' after a critical error 
  715.      had occured. 
  716.  
  717.  rsx not found, DPMI not supported by emx 
  718.  
  719.      The current version of emx cannot use DPMI.  Therefore, the loader tried 
  720.      to use rsx instead, but couldn't find rsx.  Remedy: install rsx or end the 
  721.      DPMI server (MS Windows). 
  722.  
  723.  Swap file I/O error 
  724.  
  725.      emx couldn't read or write the swap file. 
  726.  
  727.  This program does not run in DOS mode of OS/2 
  728.  
  729.      DOS emulation of OS/2 doesn't support emx.  Remedy: boot DOS or run the 
  730.      program in a OS/2 window 
  731.  
  732.  This program requires an 80386 CPU 
  733.  
  734.      You need an 80386DX, 80386SX, i486 or later CPU for running emx.  Remedy: 
  735.      get another computer. 
  736.  
  737.  This program requires DOS 3.0 or later 
  738.  
  739.      If emx is bound with an application program into one executable, DOS 3.0 
  740.      or later is required for execution. 
  741.  
  742.  Too many processes 
  743.  
  744.      emx supports up to 4 processes.  You tried to start 5 or more processes. 
  745.  
  746.  Unexpected interrupt 
  747.  
  748.      This cannot happen.  Remedy: report to the author. 
  749.  
  750.  Unsupported VDISK.SYS version 
  751.  
  752.      emx doesn't support the vdisk.sys device driver you are using.  Remedy: 
  753.      remove VDISK.SYS or use a different version.  emx should work with 
  754.      vdisk.sys 3.3 or later. 
  755.  
  756.  Unsupported XMS version 
  757.  
  758.      emx requires himem.sys 2.06 or later (older versions are too buggy). 
  759.      Remedy: get a newer himem.sys.  If you are not using himem.sys, use the -O 
  760.      option of emx and tell the author whether this works or not. 
  761.  
  762.  Unusable interrupt vector mappings set by VCPI server 
  763.  
  764.      The configuration of the VCPI server (EMS driver) is illegal.  Remedy: 
  765.      read the manual of the EMS driver. 
  766.  
  767.  Use emxbind 
  768.  
  769.      You tried to run emxl.exe, which doesn't make sense.  emxl.exe is designed 
  770.      to be bound into an executable file by emxbind. 
  771.  
  772.  Virtual mode not supported without VCPI 
  773.  
  774.      A VCPI server is required to run emx if the CPU is in virtual mode.  You 
  775.      will get this message if you're using an EMS driver (EMS emulator) which 
  776.      doesn't support VCPI or if you have disabled EMS.  Remedy: remove the EMS 
  777.      driver, use an EMS driver which supports VCPI or enable EMS if it has been 
  778.      disabled (for instance, remove the NOEMS keyword from the command line of 
  779.      the EMS driver). 
  780.  
  781.  Wrong emx version 
  782.  
  783.      The version of emx.exe does not match the version the program was compiled 
  784.      for.  Remedy: use the copy of emx.exe that comes with the program.  If you 
  785.      are using different programs which need different versions of emx.exe, use 
  786.      the EMX environment variable to set the path name of the correct version 
  787.      of emx.exe before running a program which requires a version different 
  788.      from the default emx.exe.  You can also use emxbind -u to put the correct 
  789.      version of emx.exe into the executable files. 
  790.  
  791.  
  792. ΓòÉΓòÉΓòÉ 10. 10 Obtaining the complete emx package ΓòÉΓòÉΓòÉ
  793.  
  794.  emx is available for anonymous ftp on 
  795.  
  796.           ftp.uni-stuttgart.de [129.69.8.13]: /pub/systems/os2/emx-0.8h
  797.           ftp-os2.cdrom.com:  [192.153.46.2]: /os2/2_x/unix/emx08h
  798.           src.doc.ic.ac.uk     [146.169.2.1]: /pub/packages/os2/2_x/unix/emx08h
  799.           ftp.informatik.tu-muenchen.de [131.159.0.198]:
  800.                                               /pub/comp/os/os2/gnu/emx+gcc
  801.  
  802.  
  803. ΓòÉΓòÉΓòÉ 11. 11 The author of emx ΓòÉΓòÉΓòÉ
  804.  
  805.  The author of emx is 
  806.  
  807.      Eberhard Mattes 
  808.      Teckstra╤üe 81 
  809.      D-71696 M╨ñglingen 
  810.      Germany 
  811.  
  812.  Internet: mattes@azu.informatik.uni-stuttgart.de  (subject to change) 
  813.  
  814.  No telephone calls please!  It must be stressed that the author does not reply 
  815.  to letters if you don't include return postage (international postal reply 
  816.  coupon if you are outside Germany) and a self-addressed