home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
editor
/
beav
/
user.doc
< prev
next >
Wrap
Text File
|
1994-01-30
|
11KB
|
345 lines
===============================================================================
user.doc emx 0.8e USER'S GUIDE 13-Sep-1992
===============================================================================
Hardware Requirements
---------------------
- emx requires an 80386 CPU (80386DX, 80386SX, i486)
- emx requires an 80387 coprocessor (or i486 processor) if floating point
math is to be used under DOS
DOS Notes
---------
- emx requires DOS 3.0 or later
- emx does not support DPMI
- emx does not support DESQview without VCPI (use QEMM-386 with DESQview)
- If emx doesn't work under DESQview (especially if it displays the
message `Nonmaskable interrupt (NMI)', either set the protection
level to 0 or use the WATCHDOG=0 option of QEMM-386.
- emx supports VCPI
- emx supports XMS. Do not use emx with himem.sys 2.06 or earlier.
- emx checks for XMS version number 2.00 or later and for
XMS driver revision 2.06 or later, as older himem.sys drivers
don't work correctly. You can override this check by giving
the -O command line option (for drivers using a different
revision numbering scheme), but emx may not work with your
XMS driver, anyway. Actually, emx has not been tested with
himem.sys 2.05; 2.04 fails, 2.06 works.
- emx supports VDISK.SYS 3.3 and later and most other RAM disk drivers
- emx uses (or tries to use) all available memory, whether conventional,
extended, or expanded memory. But it does not use extended memory
AND expanded memory at the same time. If there isn't enough memory,
emx will swap to disk. The swapper file will be created in the directory
given by the EMXTMP environment variable. If EMXTMP is not set,
TMP will be used. If both variables are not set, the swapper file
will be created in the root directory of the current drive.
- Do not put BREAK=ON in your config.sys file. BREAK=ON causes
problems with lots of other programs as well.
OS/2 Notes
----------
- emx requires OS/2 2.0
- emx does not run in DOS mode of OS/2
DOS Programs
------------
emx.exe DOS extender
emxl.exe emx loader
OS/2 dynamic link libraries
---------------------------
emx.dll emx for OS/2 2.0
emxio.dll access to hardware ports for emx programs under OS/2 2.0
emxlibc.dll emx C library
Usage (DOS)
-----------
Run a bound program by typing its name.
Run an a.out file by typing
emx [options] program [arguments]
emx options (can also be used in EMXOPT):
-c Disable core dumps caused by signals other than SIGKILL
-d Don't use extended memory
-e Don't check for 387 coprocessor. Assume no coprocessor is present
-h# Set DOS file handle limit to #. The number # must be between 10
and 255. This option is ignored for DOS versions earlier than
3.30. This option does not change the emx limit for the number of
files per process -- that limit is always 40
-m1 Running on Fujitsu FMR70 (not implemented yet)
-m2 Running on NEC PC-98 (not implemented yet)
-m3 Running on Inboard 386/PC
-o Send register dump (of exception) to stdout (instead of CON,
for redirecting register dump)
-r* Prepend drive letter * to absolute path names. If a path name starts
with / but does not start with //, /dev/ or /pipe/, * followed by a
colon will be prepended. If -rd has been given, the file name
\mydir\abc will be translated to d:\mydir\abc. Note: this option can
cause unexpected effects
-t Truncate file names to 8.3
-O Override XMS version check
-V Display emx version
Options can also be stored in the environment variable EMXOPT. emx first
examines the options given in EMXOPT, then the options given on the
command line.
Usage (OS/2)
------------
Run a bound program by typing its name.
You can use the following options in the EMXOPT environment variable:
-c Disable core dumps caused by signals other than SIGKILL
-h# Set OS/2 file handle limit to #. The number # must be between 10 and
255
-r* Prepend drive letter * to absolute path names. If a path name starts
with / but does not start with //, /dev/ or /pipe/, * followed by a
colon will be prepended. If -rd has been given, the file name
\mydir\abc will be translated to d:\mydir\abc. Note: this option can
cause unexpected effects
-t Truncate file names to 8.3
-E Run debuggee in same session (window) as debugger
If OS/2 says
SYS1804: The system cannot find the file EMX.
when running a program compiled for emx, you haven't set LIBPATH
correctly.
Environment variables
---------------------
INIT used by termcap
TERM used by termcap
EMXETC used by termcap
EMXOPT emx options
EMXPATH search path for programs
PATH search path for program (used if EMXPATH fails)
TERMCAP used by termcap
Environment variables (DOS)
---------------------------
EMX path name of emx.exe, used by emxl.exe
EMXTMP directory for swapper file
TMP used if EMXTMP is not set
If the program name doesn't contain a drive and directory name, the
current directory will be searched first, then all directories listed
in EMXPATH and PATH.
If the program name contains a drive or directory name, no search
will be done, only the given path name is tried.
Messages (DOS)
--------------
Cannot create swapper file
The swapper file could not be created. Remedy: Make sure the
swapper file can be created in the directory given by the
EMXTMP (or TMP) environment variable. If EMXTMP and TMP are not
set, emx will create the swapper file in the root directory of
the current drive.
Cannot enable A20
emx tried to enable address line A20 and failed. Remedy:
Contact the author.
Cannot enable A20 via XMS
emx tried to enable address line A20 by calling the XMS driver.
Unfortunately, A20 couldn't be enabled. Remedy: unknown.
Cannot open program file
The program file given on the emx command line could not be
found or opened. Remedy: Type the correct file name.
(This should not happen with bound programs.)
Cannot read program file
An error occured while reading the program file. Remedy:
Make sure the program file given on the emx command line
is valid (this does not apply to bound programs).
Maybe some other program accesses that file.
DPMI not supported
The current version of emx cannot use DPMI. Maybe some future
version will do. Remedy: End the DPMI server (Windows 3.0).
Exception ...
The program run by emx did something illegal. Remedy: Report to
the supplier of the program.
Illegal syscall function
Illegal viocall function
The program run by emx has called an invalid system function.
Remedy: Report to the supplier of the program.
Invalid arguments for DOS function xx
The program run by emx has used invalid arguments for a system
function. Remedy: Report to the supplier of the program.
Invalid program file
The program file given on the emx command line (or bound to emx)
is corrupt. Remedy: Reload the program from diskette. If this doesn't
help you should contact the supplier of the program.
Invalid special function code: xx
The program run by emx has called an invalid system function.
Remedy: Report to the supplier of the program.
Linear address space exhausted
The program run by emx uses far too much memory. Remedy: Complain to
the author.
Nonmaskable interrupt (NMI) at xxxx:yyyyyyyy
A nonmaskable interrupt occured. Maybe this is due to a memory
error. Remedy: If you're using DESQview, either set the protection
level to 0 or use the WATCHDOG=0 option of QEMM-386. Otherwise,
run a program for testing memory.
Out of memory
Out of memory (RM)
Out of memory (swapper)
There isn't enough memory for running emx. Remedy: Remove some
drivers and/or resident programs. Or add memory to your machine.
Out of stacks
emx run out of local stacks. Remedy: Complain to the author.
Out of swap space
The program run by emx uses far too much memory. Remedy: Complain
to the author.
Program aborted
You've aborted the program by answering `Abort' after a critical
error had occured.
Program stopped
You've stopped the program by hitting Ctrl-C or Ctrl-Break.
Swapper file I/O error
emx couldn't read or write the swapper file. Remedy: Make sure
there is enough space on the drive used for the swapper file.
Use the EMXTMP (or TMP) environment variable to tell emx where
to create the swapper file. If neither EMXTMP nor TMP is set,
emx will create the swapper file in the root directory of the
current drive.
This program does not run in DOS mode of OS/2
DOS emulation of OS/2 doesn't support emx. Remedy: Boot DOS or use
OS/2 2.0.
This program requires an 80386 CPU
You need an 80386DX, 80386SX, or i486 CPU for running emx.
Remedy: Get another computer.
This program requires DOS 3.0 or later
If emx is bound with an application program into one executable,
DOS 3.0 or later is required for execution.
Too many processes
emx supports up to 4 processes. You've tried to start 5 processes.
Unexpected interrupt
This cannot happen. Remedy: Report to the author.
Unsupported VDISK.SYS version
emx doesn't support the VDISK.SYS device driver you're using.
Remedy: Remove VDISK.SYS or use a different version. emx should
work with VDISK.SYS 3.3 or later.
Unsupported XMS version
emx requires himem.sys 2.06 or later (older versions are too buggy).
Remedy: Get a newer himem.sys. If you're not using himem.sys, use
the -O option of emx and tell the author whether this works or not.
Unusable interrupt vector mappings set by VCPI server
The configuration of the VCPI server (EMS driver) is illegal.
Remedy: Read the manual of the EMS driver.
Virtual mode not supported without VCPI
A VCPI server is required to run emx if the CPU is in virtual mode.
You'll get this message if you're using an EMS driver (EMS emulator)
which doesn't support VCPI or if you've disabled EMS. Remedy: Remove
the EMS driver, use an EMS driver which supports VCPI or enable EMS
if it has been disabled (for instance, remove the NOEMS keyword from
the command line of the EMS driver).
--------------------------- END OF USER.DOC ---------------------------------