New upstream version 2.0pre9.2
This commit is contained in:
29
man/Makefile
Normal file
29
man/Makefile
Normal file
@@ -0,0 +1,29 @@
|
||||
top_builddir=..
|
||||
include $(top_builddir)/Makefile.conf
|
||||
|
||||
LANGUAGES = ru
|
||||
vpath %.1.in $(top_srcdir)/man
|
||||
|
||||
MANPAGES = dosemu.1 dosemu.bin.1 ru/dosemu.1 ru/dosemu.bin.1
|
||||
|
||||
default all: $(MANPAGES)
|
||||
|
||||
.NOTPARALLEL: $(MANPAGES)
|
||||
$(MANPAGES): $(top_builddir)/config.status $(wildcard $(top_srcdir)/man/*.1.in) \
|
||||
$(wildcard $(top_srcdir)/man/ru/*.1.in)
|
||||
cd $(top_builddir) && ./config.status
|
||||
|
||||
install: all
|
||||
$(INSTALL) -d $(DESTDIR)$(mandir)/man1
|
||||
$(INSTALL) -m 0644 *.1 $(DESTDIR)$(mandir)/man1
|
||||
for i in $(LANGUAGES); do \
|
||||
$(INSTALL) -d $(DESTDIR)$(mandir)/$$i/man1; \
|
||||
$(INSTALL) -m 0644 $$i/*.1 $(DESTDIR)$(mandir)/$$i/man1; \
|
||||
$(INSTALL) -m 0644 $(REALTOPDIR)/man/$$i/*.1 \
|
||||
$(DESTDIR)$(mandir)/$$i/man1; \
|
||||
done
|
||||
|
||||
clean realclean:
|
||||
for i in `ls $(top_srcdir)/man/*.1.in $(top_srcdir)/man/ru/*.1.in` ; do \
|
||||
rm -f `echo $$i | sed -E -e 's=$(top_srcdir)/man/(.+).in$$=\1='`; \
|
||||
done
|
||||
1
man/dosdebug.1
Normal file
1
man/dosdebug.1
Normal file
@@ -0,0 +1 @@
|
||||
.so man1/dosemu.bin.1
|
||||
124
man/dosemu.1.in
Normal file
124
man/dosemu.1.in
Normal file
@@ -0,0 +1,124 @@
|
||||
.\" -*- nroff -*- (This is for Emacs)
|
||||
.TH DOSEMU 1 "@RELEASE_DATE@" "Version @PACKAGE_VERSION@" "DOS Emulation"
|
||||
.SH NAME
|
||||
dosemu \- run DOS and DOS programs under Linux
|
||||
.SH SYNOPSIS
|
||||
.B dosemu
|
||||
[
|
||||
.B \-dumb
|
||||
]
|
||||
[
|
||||
.B \-input
|
||||
.I keystroke-string
|
||||
]
|
||||
[
|
||||
.B \-s
|
||||
]
|
||||
[
|
||||
.I env1=val1
|
||||
.I ...
|
||||
]
|
||||
[
|
||||
.I unix_path_to_dos_prog
|
||||
[
|
||||
.I --
|
||||
]
|
||||
[
|
||||
.I dos_cmd_args
|
||||
]
|
||||
]
|
||||
.PP
|
||||
.SH DESCRIPTION
|
||||
.B dosemu
|
||||
is the wrapper script for
|
||||
.B dosemu.bin
|
||||
(1)
|
||||
which invokes the Linux dos emulator, also known as
|
||||
.BR DOSEMU .
|
||||
.br
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I args
|
||||
any number of options described in
|
||||
.BR dosemu.bin
|
||||
(1), please refer to this man page for further details.
|
||||
However, take care to quote and escape correctly so bash doesn't
|
||||
mess up arguments containing blanks and backslashes.
|
||||
.TP
|
||||
.I -dumb
|
||||
use `dumb' terminal mode. This will only work for DOS applications, which do
|
||||
plain text output to stdout, but has the advantage that (A) the output of
|
||||
the DOS application stacks up in your xterm scroll buffer and (B) you can
|
||||
redirect it to a file such as
|
||||
.TP
|
||||
$ dosemu \-dumb \-exec dir > listing
|
||||
|
||||
Note that DOSEMU command.com's commandline editor/history will also work
|
||||
here, however, editing is restricted to BACKSPACE'ing.
|
||||
.TP
|
||||
.I -input
|
||||
Do simulated keystrokes as given by
|
||||
.I keystroke-string
|
||||
just after DOS has booted. This can be used to autolaunch applications,
|
||||
bypass any needed boot menus or something similar. For details on the format
|
||||
of the string look at README.txt.
|
||||
.TP
|
||||
.I -s
|
||||
Invoke dosemu via sudo. This is necessary to get access to certain I/O ports
|
||||
and to get graphics on the Linux console. Please refer to the documentation
|
||||
(INSTALL and README.txt) to see which files need to be adjusted before
|
||||
attempting this.
|
||||
.TP
|
||||
.I --version
|
||||
print version of dosemu and list of available options.
|
||||
.SH AUTHOR
|
||||
.B DOSEMU
|
||||
(comprised of the files
|
||||
.B dosemu.bin
|
||||
and
|
||||
.B dosemu
|
||||
) is based on version 0.4 of the original program written by Matthias Lautner
|
||||
(no current address that I know of).
|
||||
.PP
|
||||
Robert Sanders <gt8134b@prism.gatech.edu> was maintaining and enhancing
|
||||
the incarnation of
|
||||
.B DOSEMU
|
||||
with which this man page was originally distributed. During about 4 years
|
||||
James B. MacLean <macleajb@ednet.ns.ca> was the restless leader of the
|
||||
dosemu team, implementation of DPMI (which made Windows-3.1, dos4gw, djgpp,
|
||||
e.t.c running) happened during his 'governement' and brought the project
|
||||
near to Beta-state. Hans Lermen <lermen@fgan.de> took over and released the
|
||||
first 1.0 version. Now Bart Oldeman <bart@dosemu.org> is maintaining this
|
||||
funny software.
|
||||
|
||||
.SH FILES
|
||||
.PD 0
|
||||
.TP
|
||||
.I $HOME/.dosemu/.dosemurc
|
||||
per-user configuration file
|
||||
.TP
|
||||
.I @sysconfdir@/dosemu.conf
|
||||
or (only if /etc/dosemu.users exists)
|
||||
.TP
|
||||
.I /etc/dosemu.conf
|
||||
systemwide configuration file
|
||||
.TP
|
||||
.I $HOME/.dosemu/boot.log
|
||||
default file for debug and log messages
|
||||
.TP
|
||||
.I $HOME/.dosemu/drive_c/
|
||||
default directories of the local per user DOSEMU instance
|
||||
.TP
|
||||
.I @bindir@
|
||||
.TP
|
||||
.I @datadir@/dosemu/
|
||||
.TP
|
||||
.I @datadir@/dosemu/dosemu\-bin.tgz
|
||||
.TP
|
||||
.I @datadir@/dosemu/dosemu\-freedos\-bin.tgz
|
||||
default systemwide installation, containing binaries and templates
|
||||
(The paths can be changed during creation of the systemwide installation).
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR dosemu.bin "(1)
|
||||
677
man/dosemu.bin.1.in
Normal file
677
man/dosemu.bin.1.in
Normal file
@@ -0,0 +1,677 @@
|
||||
.\" -*- nroff -*- (This is for Emacs)
|
||||
.TH DOSEMU.BIN 1 "@RELEASE_DATE@" "Version @PACKAGE_VERSION@" "DOS Emulation"
|
||||
.SH NAME
|
||||
dosemu.bin, dosdebug \- run DOS and DOS programs under Linux
|
||||
.SH SYNOPSIS
|
||||
.B dosemu.bin
|
||||
[
|
||||
.B \-234ABCcdKkmNnOpSstVwX
|
||||
]
|
||||
[
|
||||
.B \-h
|
||||
]
|
||||
[
|
||||
.B \-F
|
||||
.I file
|
||||
]
|
||||
[
|
||||
.B \--Fusers
|
||||
.I file
|
||||
]
|
||||
[
|
||||
.B \--Flibdir
|
||||
.I directory
|
||||
]
|
||||
[
|
||||
.B \--Fimagedir
|
||||
.I directory
|
||||
]
|
||||
[
|
||||
.B \-f
|
||||
.I file
|
||||
]
|
||||
[
|
||||
.B \-u
|
||||
.I confvar
|
||||
]
|
||||
[
|
||||
.B \-D
|
||||
.I flags
|
||||
]
|
||||
[
|
||||
.B \-e
|
||||
.I size
|
||||
]
|
||||
[
|
||||
.B \-x
|
||||
.I size
|
||||
]
|
||||
[
|
||||
.B \-P
|
||||
.I file
|
||||
]
|
||||
[
|
||||
.B \-o
|
||||
.I file
|
||||
]
|
||||
[
|
||||
2\>
|
||||
.I debugfile
|
||||
]
|
||||
[
|
||||
.B \-I
|
||||
.I config-options
|
||||
]
|
||||
[
|
||||
.B \-i
|
||||
.I \h'-1' input_data
|
||||
]
|
||||
[
|
||||
.B \-E
|
||||
.I dos-command
|
||||
]
|
||||
[
|
||||
.B \-K
|
||||
.I unix_path[:dos_path]
|
||||
]
|
||||
[
|
||||
.I env1=val1
|
||||
.I ...
|
||||
]
|
||||
[
|
||||
.I unix_path_to_dos_prog
|
||||
[
|
||||
.I --
|
||||
]
|
||||
[
|
||||
.I dos_cmd_args
|
||||
]
|
||||
]
|
||||
.sp
|
||||
.B dosdebug
|
||||
.SH DESCRIPTION
|
||||
.B dosemu.bin
|
||||
is the binary wrapped by the script
|
||||
.B dosemu
|
||||
(1)
|
||||
which invokes the Linux dos emulator, also known as
|
||||
.BR DOSEMU .
|
||||
.br
|
||||
.I debugfile
|
||||
is an optional file into which all debugging output will be redirected.
|
||||
.PP
|
||||
.B dosdebug
|
||||
is used to control or debug an already running
|
||||
.BR DOSEMU .
|
||||
.PP
|
||||
Although this program is known as the DOS
|
||||
.I emulator,
|
||||
it is actually a virtual machine for DOS, allowing DOS and programs
|
||||
written for DOS to operate in an environment similar to a standard IBM
|
||||
PC/AT or compatible with an Intel 80x86 processor in real mode.
|
||||
.B DOSEMU
|
||||
provides emulation of such services as BIOS video, disk, keyboard, serial,
|
||||
and printer; CMOS memory for configuration information; a real time clock;
|
||||
memory allocation through the XMS 3.0 specification, EMS 4.0 and DPMI 0.9.
|
||||
.PP
|
||||
Because
|
||||
.B DOSEMU
|
||||
is not really a DOS emulator, a copy of FreeDos is required, which now is
|
||||
pre-configured and part of the official DOSEMU binary distribution.
|
||||
In addition any currently available proprietary DOS (such as MS-DOS, PC-DOS,
|
||||
DR-DOS) can be booted, when properly configured.
|
||||
|
||||
.SH KERNEL REQUIREMENTS
|
||||
At present, you will need Linux 2.0.28 or above with the SYSV IPC option
|
||||
(System V Inter-Process Communication facilities, see
|
||||
.BR ipc (2))
|
||||
compiled. SYSV IPC is an option in the configuration setup during a Linux
|
||||
kernel compile.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I -2,3,4,5
|
||||
choose 286, 386, 486 or 586 processor to simulate.
|
||||
.TP
|
||||
.I -A
|
||||
boot from floppy disk A (does not need to be a real floppy disk, see below)
|
||||
.TP
|
||||
.I -B
|
||||
boot from floppy disk B (does not need to be a real floppy disk, see below)
|
||||
.TP
|
||||
.I -C[num]
|
||||
boot from hard disk C. If num is specified, the appropriate drive will
|
||||
become C first. For example, -C1 means rename D to C, then boot from it.
|
||||
.TP
|
||||
.I -c[d]
|
||||
use direct Console video (must be at the console, requires special
|
||||
privileges, and
|
||||
.I -s
|
||||
).
|
||||
.br
|
||||
.I -cd
|
||||
detach from current virtual console or tty and attach to the first free
|
||||
virtual console
|
||||
.TP
|
||||
.I -d path
|
||||
mount host path as an extra DOS drive. Can be specified multiple times.
|
||||
.TP
|
||||
.I -E dos-command
|
||||
Run DOS command when starting DOSEMU.
|
||||
The linux path to the command can be given with \-K option.
|
||||
For example
|
||||
.nf
|
||||
dosemu -K /home/joeuser/dosemu/freedos/bin -E "xcopy my_file my_dir"
|
||||
.fi
|
||||
will run /home/joeuser/dosemu/freedos/bin/xcopy.exe with 2 arguments.
|
||||
.br
|
||||
Note: this only works if your autoexec.bat contains "system \-e"
|
||||
command.
|
||||
.TP
|
||||
.I -K unix_path[:dos_path]
|
||||
Specify unix path for the program running with \-E.
|
||||
You can omit \-E and specify the full unix path with \-K, but it is
|
||||
not recommended and may be removed in the future. You need to specify
|
||||
a directory path to \-K.
|
||||
.br
|
||||
If dos_path is specified, then it is used as a current directory when
|
||||
invoking the command. If unix_path is empty then the drive letter is
|
||||
taken from dos_path:
|
||||
.nf
|
||||
dosemu -K :C:\\\\games\\\\carma -E carma.exe
|
||||
.fi
|
||||
This runs carma.exe from C:\\games\\carma
|
||||
.TP
|
||||
.I -T[flags]
|
||||
Sets flags for -E and -K commands. "flags" is the string of the
|
||||
following chars:
|
||||
|
||||
1: don't terminate DOSEMU after running the command specified either
|
||||
with -E or -K.
|
||||
|
||||
h: try to load the specified command into UMB (loadhigh).
|
||||
|
||||
If -T is specified without flags, then "1h" flags string is assumed.
|
||||
.TP
|
||||
.I -q
|
||||
Quiet mode. Suppress all DOS output except that of the command specified
|
||||
with -E or -K switches.
|
||||
.br
|
||||
Note: only works in dumb terminal mode currently.
|
||||
.TP
|
||||
.I -k[str]
|
||||
Set keyboard input type. Plain -k or -kr sets RAW console Keyboard
|
||||
(must be at the console). Use -kt for TTY and -ks for STDIO inputs.
|
||||
.TP
|
||||
.I --Fusers
|
||||
Bypass dosemu.users and take this file instead (only accepted when
|
||||
.B dosemu.bin
|
||||
is
|
||||
.I not
|
||||
suid-root).
|
||||
.TP
|
||||
.I --Flibdir
|
||||
Bypass the default DOSEMU_LIB_DIR (as maybe defined in dosemu.users)
|
||||
and use this directory instead.
|
||||
.TP
|
||||
.I --Fimagedir
|
||||
Bypass the default directory for bootdirectory and hdimages (DOSEMU_IMAGE_DIR)
|
||||
and use this directory instead.
|
||||
.TP
|
||||
.I -f
|
||||
Parse this config-file instead of .dosemurc. If -n is also specified, then
|
||||
this config file is parsed instead of the primary dosemu.conf.
|
||||
.TP
|
||||
.I -n
|
||||
Bypass (don't use) default user's config .dosemurc. The config specified
|
||||
with -f is still parsed, but in that case it replaces the main dosemu.conf.
|
||||
.TP
|
||||
.I -L <log_string>
|
||||
Writes provided <log_string> to a log.
|
||||
.TP
|
||||
.I -I
|
||||
Parse the string behind
|
||||
.I -I
|
||||
with the same syntax as global.conf or .dosemurc such as
|
||||
.TP
|
||||
dos ... \-I 'video { mda }'
|
||||
|
||||
This is useful if you just want to override a given
|
||||
configuration parameter temporary. You also may have a generic configuration
|
||||
by executing a script such as
|
||||
.TP
|
||||
dos ... \-I "`myconf.sh`"
|
||||
|
||||
where
|
||||
.I myconf.sh
|
||||
is a script writing the configuration to stdout. If you have an alternate
|
||||
configuration file besides .dosrc,
|
||||
.TP
|
||||
dos ... \-I "`cat myother.conf`"
|
||||
|
||||
will do the job. Note however, that you have to quote the parameter behind
|
||||
.I -I
|
||||
because it is expected to be
|
||||
.I one
|
||||
argument.
|
||||
.TP
|
||||
.I -i input_data
|
||||
Type
|
||||
.I input_data
|
||||
on the emulated keyboard. Use \\r for Enter. Various other special escapes
|
||||
are available, for example you can insert pauses with "\\p10;" where
|
||||
10 is a delay in tens of milliseconds.
|
||||
.TP
|
||||
.I -D
|
||||
specify which Debugging messages to allow/suppress
|
||||
.TP
|
||||
.I -h
|
||||
display help.
|
||||
.TP
|
||||
.I -H
|
||||
specify the dosdebug support flags, currently only `1' is is reasonable.
|
||||
with
|
||||
.I -H1
|
||||
you force dosemu to wait until the dosdebug terminal has connected. Hence to
|
||||
debug a DOS session from the very beginning you first start dosemu
|
||||
with \-H1 and then start dosdebug.
|
||||
DOSEMU will then lock before jumping into the loaded bootsector waiting
|
||||
for dosdebug to connect. Once connected you are in `stopped' state
|
||||
and can set breakpoints or single-step through the bootstrap code.
|
||||
.TP
|
||||
.I -m
|
||||
toggle internal mouse-support
|
||||
.TP
|
||||
.I -O
|
||||
use stderr for output of Debugging messages
|
||||
.TP
|
||||
.I -o
|
||||
use this file for output of Debugging messages
|
||||
.TP
|
||||
.I -P
|
||||
copy debugging output to FILE
|
||||
.TP
|
||||
.I -S
|
||||
run using SDL
|
||||
.TP
|
||||
.I -s
|
||||
super-user/full feature mode: enable direct hardware access.
|
||||
Use this switch if you wish to use graphics on the console,
|
||||
need direct port access, hardware interrupts or raw network access.
|
||||
Implies
|
||||
.I -V
|
||||
and
|
||||
.I -k
|
||||
by default.
|
||||
|
||||
WARNING: THIS SWITCH NEEDS ROOT, SUID-ROOT, OR SUDO. GIVING
|
||||
DIRECT HARDWARE ACCESS TO DOS PROGRAMS MAY GIVE THESE THE ABILITY
|
||||
TO LOCK YOUR COMPUTER, OR (IN RARE CASES) EVEN DAMAGE HARDWARE.
|
||||
ONLY TRUSTED LOCAL USERS SHOULD BE GIVEN THIS TYPE OF ACCESS.
|
||||
.TP
|
||||
.I -t[de[flag]]
|
||||
terminal mode: run using the S-Lang library by default, or, if 'd'
|
||||
is specified - use "dumb" terminal mode. If 'de' is specified,
|
||||
use stderr in dumb terminal mode, except for the output of the
|
||||
program started with -E that still goes to stdout. If 'de2' is
|
||||
specified (flag==2), then also the output of -E-started program
|
||||
goes to stderr.
|
||||
.TP
|
||||
.I -V
|
||||
use direct console video with VGA graphics and use the native graphics
|
||||
card's BIOS (must be at the console, requires special privileges, and
|
||||
.I -s
|
||||
).
|
||||
.TP
|
||||
.I -Y
|
||||
trace DOS boot ([Y/N] prompt for config.sys lines)
|
||||
.TP
|
||||
.I -w
|
||||
toggle windowed/fullscreen mode in X
|
||||
.TP
|
||||
.I -X
|
||||
run in an X Window
|
||||
.PD 1
|
||||
.SH HARD DISKS
|
||||
.B DOSEMU
|
||||
supports four methods of supplying DOS with hard disks:
|
||||
.IP 1.
|
||||
a virtual disk file residing on a Linux filesystem which emulates a hard
|
||||
drive.
|
||||
.IP 2.
|
||||
direct access to a DOS partition through a raw disk device (i.e. /dev/hda,
|
||||
/dev/hdb, /dev/sdX).
|
||||
.IP 3.
|
||||
direct access to an DOS partition through single partition access
|
||||
(i.e. /dev/hda1, /dev/hdb2, /dev/sdxx).
|
||||
.IP 4.
|
||||
access to a Linux filesystem as a "network" drive using the driver emufs.sys
|
||||
supplied with
|
||||
.B DOSEMU
|
||||
in commands/emufs.sys or lredir.exe.
|
||||
.PP
|
||||
Configuration of
|
||||
.B DOSEMU's
|
||||
hard disk resources is done by editing
|
||||
.B dosemu.conf
|
||||
or
|
||||
.B .dosemurc
|
||||
before running
|
||||
.BR DOSEMU .
|
||||
Look at @docdir@/README.txt.
|
||||
|
||||
.SH FLOPPY DISKS
|
||||
.B DOSEMU
|
||||
supports two methods of supplying DOS with floppy disks:
|
||||
.IP 1.
|
||||
a virtual disk file residing on a Linux filesystem which emulates a floppy
|
||||
drive
|
||||
.IP 2.
|
||||
direct access to a physical floppy through a raw disk device (i.e. /dev/fd0,
|
||||
/dev/fd1).
|
||||
.PP
|
||||
This is also explained more thoroughly in
|
||||
.B README.txt.
|
||||
.PP
|
||||
Configuration of
|
||||
.B DOSEMU's
|
||||
floppy disk resources is done by editing the
|
||||
.B dosemu.conf
|
||||
before running
|
||||
.BR DOSEMU .
|
||||
|
||||
.SH VIDEO
|
||||
.B DOSEMU
|
||||
may be run on any tty device. However, increased performance and functionality
|
||||
may be had by taking advantage of special features of the Linux console.
|
||||
Those running
|
||||
.B DOSEMU
|
||||
on the console may wish to investigate the
|
||||
.I \-c,
|
||||
.I \-k,
|
||||
and
|
||||
.I \-V
|
||||
switches, explained more thoroughly in
|
||||
.B README.txt.
|
||||
There is also some very brief documentation in the file dosemu.conf,
|
||||
which can be edited for your needs.
|
||||
.PP
|
||||
In brief, proper use of the console device and the corresponding switches
|
||||
allows the user to view a DOS program in its original color and font,
|
||||
with none of the periodic screen update problems with the generic tty
|
||||
output code.
|
||||
|
||||
.SH KEYBOARD
|
||||
Those using
|
||||
.B DOSEMU
|
||||
on the Linux console may also wish to use the RAW
|
||||
keyboard support. This mode of operation, selected by the
|
||||
.I \-k
|
||||
switch, provides the user with access to the entire keyboard accessible
|
||||
under DOS. Any combination of ALT, CTRL, and SHIFT keys may be used to
|
||||
generate the odd keycodes expected by many DOS programs.
|
||||
|
||||
.SH PRINTING
|
||||
The BIOS printer services are emulated through standard UNIX file I/O
|
||||
though temporary files which are then periodically spooled by LPR
|
||||
or a different print client, as defined by $_printer_commands in dosemu.conf.
|
||||
|
||||
.SH DEBUG MESSAGES
|
||||
Debug messages can be controlled either at the command line or in the
|
||||
configuration file. Take a look at the documentation inside the config.dist
|
||||
file included with
|
||||
.B DOSEMU
|
||||
in the examples subdirectory, for debugging
|
||||
options. At the command line, you may specify which classes of messages
|
||||
you wish
|
||||
.B dos
|
||||
to allow. The syntax of this is
|
||||
.B DOSEMU
|
||||
takes an option "\-D FLAGS", where FLAGS is a string of letters
|
||||
which specify which options to print or suppress.
|
||||
.B DOSEMU
|
||||
parses this string from left to right.
|
||||
|
||||
+ turns the following options on (initial state)
|
||||
\- turns the following options off
|
||||
a turns all the options on/off, depending on flag
|
||||
0 turns all options off
|
||||
1-9 sets the debug level, the higher, the more output
|
||||
# where # is a letter from the valid class list,
|
||||
turns that option off/on depending on the
|
||||
+/\- state.
|
||||
|
||||
.I Message Classes:
|
||||
|
||||
d disk R disk read W disk write
|
||||
D int 21h C cdrom v video
|
||||
X X support k keyboard i port I/O
|
||||
s serial m mouse # default ints
|
||||
p printer g general c configuration
|
||||
w warning h hardware I IPC
|
||||
E EMS x XMS M DPMI
|
||||
n IPX network P Pkt-driver S SOUND
|
||||
r PIC T IO-tracing Z PCI-BIOS
|
||||
A ASPI driver Q mapping driver F MMIO
|
||||
|
||||
Any debugging classes following a
|
||||
.I \+
|
||||
character, up to a
|
||||
.I \-
|
||||
character, will be turned on (non-suppressed). Any after a
|
||||
.I \-
|
||||
character, up to a
|
||||
.I \+
|
||||
character, will be suppressed. The character
|
||||
.I a
|
||||
acts like a string of all possible debugging classes, so
|
||||
.I \+a
|
||||
turns on all debugging messages, and
|
||||
.I \-a
|
||||
turns off all debugging messages. The characters
|
||||
.I 0
|
||||
and
|
||||
.I 1-9
|
||||
are also special:
|
||||
.I 0
|
||||
turns off all debugging messages, and
|
||||
.I 1-9
|
||||
turns on all debugging messages, but set the debug level too.
|
||||
|
||||
There is an assumed
|
||||
.I \+
|
||||
at the beginning of the FLAGS string.
|
||||
Some classes, such as error, can not be turned off.
|
||||
In case you didn't redirect stderr, nearly all output to stderr goes to
|
||||
.B /dev/null.
|
||||
|
||||
Some examples:
|
||||
"\-D+a\-v" or "\-D1\-v" : all messages but video
|
||||
"\-D+kd" : default + keyboard and disk
|
||||
"\-D0+RW" : only disk READ and WRITE
|
||||
|
||||
Any option letter can occur in any place. Even pointless combinations,
|
||||
such as
|
||||
.I -D01-a-1+0,
|
||||
will be parsed without error, so be careful.
|
||||
Some options are set by default, some are clear. This is subject to my
|
||||
whim, and will probably change between releases. You can ensure
|
||||
which are set by always explicitly specifying them.
|
||||
|
||||
.SH SPECIAL KEYS
|
||||
In RAW keyboard mode (see the
|
||||
.BR \-k
|
||||
option),
|
||||
.B DOSEMU
|
||||
responds to certain key sequences as control functions.
|
||||
.PP
|
||||
.PD 0
|
||||
.IP
|
||||
ctrl-scrlock = show 0x32 int vectors
|
||||
.IP
|
||||
alt-scrlock = show the vm86 registers
|
||||
.IP
|
||||
rshift-scrlock = generate an int8 (timer)
|
||||
.IP
|
||||
lshift-scrlock = generate an int9 (keyboard)
|
||||
.IP
|
||||
ctrl-break = ctrl-break as under DOS.
|
||||
.IP
|
||||
ctrl-alt-pgup = reboot DOS. Don't trust this!
|
||||
.IP
|
||||
ctrl-alt-pgdn = exit the emulator
|
||||
.PD 1
|
||||
.PP
|
||||
Use <LEFT CTRL>-<LEFT ALT>-<Function key> to switch to another virtual
|
||||
console.
|
||||
|
||||
.SH MEMORY
|
||||
The XMS memory support in
|
||||
.B DOSEMU
|
||||
conforms to Lotus/Intel/Microsoft/AST extended
|
||||
memory specification 3.0. I have implemented all XMS functions except
|
||||
function 0x12 (Reallocate Upper Memory Block).
|
||||
.PP
|
||||
.B DOSEMU
|
||||
also supports EMS 4.0 and implements DPMI 0.9 (1.0 partially).
|
||||
|
||||
|
||||
.SH AUTHOR
|
||||
.B DOSEMU
|
||||
(comprised of the files
|
||||
.B dosemu.bin
|
||||
and
|
||||
.B dosemu
|
||||
) is based on version 0.4 of the original program written by Matthias Lautner
|
||||
(no current address that I know of).
|
||||
.PP
|
||||
Robert Sanders <gt8134b@prism.gatech.edu> was maintaining and enhancing
|
||||
the incarnation of
|
||||
.B DOSEMU
|
||||
with which this man page was originally distributed. During about 4 years
|
||||
James B. MacLean <macleajb@ednet.ns.ca> was the restless leader of the
|
||||
dosemu team, implementation of DPMI (which made Windows-3.1, dos4gw, djgpp,
|
||||
etc. running) happened during his 'governement' and brought the project
|
||||
near to Beta-state. Hans Lermen <lermen@fgan.de> took over and released the
|
||||
first 1.0 version. Now Bart Oldeman <bart@dosemu.org> is maintaining this
|
||||
funny software.
|
||||
|
||||
.SH BUGS
|
||||
There are too many to count, much less list.
|
||||
.PP
|
||||
Please report bugs to the author.
|
||||
I'd also like to hear about which programs DO work. Just send me a note
|
||||
detailing what program (and what version) you are using, what works and
|
||||
what doesn't, etc.
|
||||
|
||||
.SH AVAILABILITY
|
||||
The most recent public version of
|
||||
.B DOSEMU
|
||||
can be obtained from www.dosemu.org; a fast mirror is at
|
||||
ibiblio.unc.edu:/pub/Linux/system/emulators/dosemu/.
|
||||
If you want to keep up on private developer pre-releases, join the
|
||||
.B DOSEMU
|
||||
developer team - even just good detailed debug reports are all you need!
|
||||
|
||||
.SH FILES
|
||||
.PD 0
|
||||
.TP
|
||||
.I @bindir@/dosemu.bin
|
||||
The binary
|
||||
.TP
|
||||
.I @bindir@/dosemu
|
||||
The wrapper script, it is recommended not to invoke dosemu.bin directly.
|
||||
.TP
|
||||
.I @bindir@/xdosemu
|
||||
Same, but invoking DOS in an X window.
|
||||
.TP
|
||||
.I $HOME/.dosemu
|
||||
Per user
|
||||
.B DOSEMU
|
||||
local directory. This will be created silently, if not
|
||||
existing.
|
||||
.TP
|
||||
.I $HOME/.dosemu/tmp
|
||||
All temporary file creation happens here, we do not use /tmp anymore.
|
||||
.TP
|
||||
.I /var/run/dosemu.*
|
||||
or
|
||||
.TP
|
||||
.I $HOME/.dosemu/run
|
||||
Various files used by
|
||||
.B DOSEMU
|
||||
including debugger pipes.
|
||||
.TP
|
||||
.TP
|
||||
.I $HOME/dosemu/freedos
|
||||
Bootdirectory containing the FreeDos part.
|
||||
.TP
|
||||
.I @sysconfdir@/dosemu.conf
|
||||
or (only if /etc/dosemu.users exists)
|
||||
.I /etc/dosemu.conf
|
||||
Main configuration file for
|
||||
.BR DOSEMU .
|
||||
which is included by
|
||||
.I global.conf
|
||||
(global.conf is included in dosemu.bin by default).
|
||||
.TP
|
||||
.I $HOME/.dosemurc
|
||||
Per-user configuration file.
|
||||
.TP
|
||||
.I /etc/dosemu.users
|
||||
or
|
||||
.TP
|
||||
.I @sysconfdir@/dosemu.users
|
||||
For suid-root or sudo running binaries: Defines the access rights to
|
||||
.BR DOSEMU
|
||||
on a per user basis and sets some vital configuration. This is the only
|
||||
fix-location configuration file,
|
||||
.BR DOSEMU
|
||||
first looks for
|
||||
.I /etc/dosemu.users
|
||||
and, if this is not found, for
|
||||
.I @sysconfdir@/dosemu.users .
|
||||
Via the keyword
|
||||
.I default_lib_dir=
|
||||
in
|
||||
.I dosemu.users
|
||||
the systemwide
|
||||
.I DOSEMU_LIB_DIR
|
||||
directory may be moved elsewhere.
|
||||
For more information see
|
||||
.I @docdir@/README.txt
|
||||
.TP
|
||||
.I @sysconfdir@/dos.ini
|
||||
IPX configuration file.
|
||||
|
||||
.TP
|
||||
.I doc/DANG.txt
|
||||
To help you hack
|
||||
.B DOSEMU
|
||||
code.
|
||||
.TP
|
||||
.I @docdir@/README.*
|
||||
Various documentation.
|
||||
.TP
|
||||
.I README and INSTALL
|
||||
To set up
|
||||
.B DOSEMU
|
||||
quickly.
|
||||
.TP
|
||||
.I ChangeLog
|
||||
Changes in
|
||||
.B DOSEMU
|
||||
since the last release.
|
||||
.TP
|
||||
.I @docdir@/README.bindist
|
||||
Information on how to use the DOSEMU/FreeDos ready-to-use binary
|
||||
distribution.
|
||||
.TP
|
||||
.I MSDOS mailing list
|
||||
For more information, mail to
|
||||
.IP linux-msdos@vger.kernel.org
|
||||
|
||||
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR dosemu "(1), " mkfatimage16 "(1)"
|
||||
137
man/mkfatimage16.1
Normal file
137
man/mkfatimage16.1
Normal file
@@ -0,0 +1,137 @@
|
||||
.\" -*- nroff -*- (This is for Emacs)
|
||||
.TH MKFATIMAGE16 1 "September, 1998" "Version ALPHA 0.98" "Make HDIMAGE for DOSEMU"
|
||||
.SH NAME
|
||||
mkfatimage16 \- generate a virtual drive image suitable for DOSEMU
|
||||
.SH SYNOPSIS
|
||||
.B mkfatimage16
|
||||
[
|
||||
.B \-b bsectfile
|
||||
]
|
||||
[{
|
||||
.B [\-t tracks]
|
||||
.B [\-h heads]
|
||||
|
|
||||
.B \-k Kbytes
|
||||
}]
|
||||
[
|
||||
.B \-l volume-label
|
||||
]
|
||||
[
|
||||
.B \-f outfile
|
||||
]
|
||||
[
|
||||
.B \-p
|
||||
]
|
||||
[
|
||||
.B file...
|
||||
]
|
||||
.SH DESCRIPTION
|
||||
.B mkfatimage16
|
||||
creates a hdimage file for
|
||||
.BR DOSEMU
|
||||
that is pre-loaded with the files specified on the command line.
|
||||
The output is either written to
|
||||
.I stdout
|
||||
(hence do not forget to append\ "\ >\ hdimagefile", else you will see
|
||||
garbage on the screen) or to the file specified by the
|
||||
.B \-f
|
||||
option. For the latter you may also use option
|
||||
.B \-p
|
||||
in order to force padding up to the given size. This padding will result
|
||||
in so-called holes on an ext2-FS, hence the actual disk usage will not be
|
||||
greater.
|
||||
The file created by mkfatimage16 then can be used as a virtual drive, when defined in
|
||||
.I /etc/dosemu.conf.
|
||||
As long as
|
||||
.B \-k
|
||||
is not given, the number of heads defaults to 4 and you have 17 sectors per track
|
||||
else it is adjusted accordingly.
|
||||
To vary the size, you may either use the
|
||||
.B \-t
|
||||
/
|
||||
.B \-h
|
||||
options or specify the total amount of Kbytes via
|
||||
.B \-k
|
||||
option.
|
||||
|
||||
All files given behind the options will be copied onto the
|
||||
hdimage. In addition a
|
||||
.BR DOSEMU
|
||||
suitable master boot record (MBR) is established and via option
|
||||
.B \-b
|
||||
you may specify a boot sector that gets inserted as first sector
|
||||
of the partition. To later access the hdimage outside of
|
||||
.BR DOSEMU
|
||||
you should use
|
||||
.BR mtools
|
||||
(/etc/mtools.conf parameters
|
||||
.BR partition=1 " and " offset=128 ).
|
||||
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I \-b file
|
||||
Insert the first 512 bytes of
|
||||
.I file
|
||||
into the bootsector of the partition.
|
||||
.TP
|
||||
.I \-t num
|
||||
Make the virtual disk have
|
||||
.I num
|
||||
tracks.
|
||||
.TP
|
||||
.I \-h num
|
||||
Make the virtual disk have
|
||||
.I num
|
||||
heads. Using tracks and heads is one way to define the size of the disk.
|
||||
.TP
|
||||
.I \-k Kbytes
|
||||
Make the virtual disk be
|
||||
.I Kbytes
|
||||
in size. Using
|
||||
.I \-t|\-h
|
||||
and
|
||||
.I \-k
|
||||
are mutual exclusive.
|
||||
.TP
|
||||
.I \-l label
|
||||
insert
|
||||
.I label
|
||||
as volume label for the disk.
|
||||
.TP
|
||||
.I \-f outfile
|
||||
The hdimage is written to
|
||||
.I outfile
|
||||
instead of
|
||||
.I stdout
|
||||
.TP
|
||||
.I \-p
|
||||
Pad the hdimage with zero up to the total size given by
|
||||
.I \-t|\-h
|
||||
or
|
||||
.I \-k
|
||||
(only in conjunction with
|
||||
.IR \-f ).
|
||||
|
||||
|
||||
|
||||
.SH AUTHOR
|
||||
Pasi Eronen (pe@iki.fi) and Peter Wainwright.
|
||||
|
||||
.SH BUGS
|
||||
This program doesn't support name mangling and does very little checking
|
||||
for non-DOS filenames.
|
||||
Disk full condition isn't detected (and probably causes
|
||||
erratic behaviour).
|
||||
Duplicate files aren't detected.
|
||||
|
||||
.SH AVAILABILITY
|
||||
Comes with
|
||||
.B DOSEMU
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR dosemu "(1), " xdosemu "(1), " mtools "(1)"
|
||||
|
||||
|
||||
|
||||
1
man/ru/dosdebug.1
Normal file
1
man/ru/dosdebug.1
Normal file
@@ -0,0 +1 @@
|
||||
.so man1/dosemu.bin.1
|
||||
134
man/ru/dosemu.1.in
Normal file
134
man/ru/dosemu.1.in
Normal file
@@ -0,0 +1,134 @@
|
||||
.\" -*- nroff -*- (This is for Emacs)
|
||||
.TH DOSEMU 1 "@RELEASE_DATE@" "Версия @PACKAGE_VERSION@" "Эмуляция DOS"
|
||||
.SH ИМЯ
|
||||
dosemu \- запускает DOS и приложения DOS под Linux
|
||||
.SH СИНТАКСИС
|
||||
.B dosemu
|
||||
[
|
||||
.B \-dumb
|
||||
]
|
||||
[
|
||||
.B \-home
|
||||
]
|
||||
[
|
||||
.B \-input
|
||||
.I строка_клавиш
|
||||
]
|
||||
[
|
||||
.I env1=val1
|
||||
.I ...
|
||||
]
|
||||
[
|
||||
.I unix_путь_к_дос_программе
|
||||
[
|
||||
.I --
|
||||
]
|
||||
[
|
||||
.I аргументы_дос_команды
|
||||
]
|
||||
.PP
|
||||
.SH ОПИСАНИЕ
|
||||
.B dosemu
|
||||
является оберточным скриптом для
|
||||
.B dosemu.bin
|
||||
(1),
|
||||
который обращается к Linux эмулятору dos, также известному как
|
||||
.BR DOSEMU .
|
||||
Оберточный скрипт также заботится (событийно) об установке частного варианта
|
||||
.BR DOSEMU
|
||||
в домашнем каталоге пользователя, если он там отсутствует.
|
||||
.br
|
||||
|
||||
.SH ОПЦИИ
|
||||
.TP
|
||||
.I аргументы
|
||||
любое число опций, описанных в
|
||||
.BR dosemu.bin
|
||||
(1), пожалуйста, обратитесь к его man руководству для дальнейших подробностей.
|
||||
Однако, сохраняйте осторожность и корректно экранируйте специальные символы и
|
||||
берите в кавычки, чтобы bash не портил аргументы, содержащие пустые символы
|
||||
и обратные дроби.
|
||||
.TP
|
||||
.I -dumb
|
||||
использовать режим `dumb' терминала. Работает только для тех приложений DOS,
|
||||
которые выводят простой текст на стандартный вывод, но имеет преимущество, что
|
||||
(А) вывод приложения DOS накапливается в буфере прокрутки xterm и (Б) можно
|
||||
перенаправить его в файл, типа как
|
||||
.TP
|
||||
$ dosemu \-dumb \-exec dir > listing
|
||||
|
||||
Заметьте, что редактор/история командной строки DOSEMU command.com будет также
|
||||
работать и здесь, однако, редактирование ограничено по части BACKSPACE.
|
||||
.TP
|
||||
.I -home
|
||||
в дополнение к устройству C:, позволяет пользователям получить доступ к их
|
||||
домашнему каталогу как устройству D:.
|
||||
Заметьте, однако, что большинство файловых имен Unix будут искаженными.
|
||||
.TP
|
||||
.I -input
|
||||
Симулировать нажатия клавиш по данной
|
||||
.I строке_клавиш
|
||||
только после загрузки DOS. Эта опция может использоваться, чтобы автостартовать
|
||||
приложения, проходя любые необходимые меню загрузки или что-либо подобное. Для
|
||||
подробностей о формате строки смотрите файл README.txt. Заметьте, однако,
|
||||
что ядро FreeDos "съедает" одно нажатие клавиши при загрузке в счет ожидания
|
||||
нажатия на клавишу F8. Так в этом случае всегда необходимо добавлять символ
|
||||
"\\r" в начало строки_клавиш. Как побочный эффект это даст проход ожидания
|
||||
"F8", и FreeDos будет загружаться быстрее ;-)
|
||||
|
||||
.SH АВТОРЫ
|
||||
.B DOSEMU
|
||||
(содержащий в себе файлы
|
||||
.B dosemu.bin
|
||||
и
|
||||
.B dosemu
|
||||
) базируется на версии 0.4 оригинальной программы, написанной Matthias Lautner
|
||||
(текущий адрес которого на данный момент неизвестен).
|
||||
.PP
|
||||
Robert Sanders <gt8134b@prism.gatech.edu> поддерживал и расширял
|
||||
воплощение
|
||||
.B DOSEMU,
|
||||
с которым начало распространяться это man руководство. Втечение около 4-х
|
||||
лет James B. MacLean <macleajb@ednet.ns.ca> был неустанным лидером команды
|
||||
dosemu, реализация DPMI (которая позволила запускать Windows-3.1, dos4gw,
|
||||
djgpp и прочее) произошла втечение его 'правления' и перенесла проект ближе к
|
||||
состоянию Beta. Hans Lermen <lermen@fgan.de> работал над новой версией и
|
||||
выпустил первый релиз версии 1.0. Сейчас Bart Oldeman <bart@dosemu.org>
|
||||
является основным разработчиком этого прекрасного программного обеспечения.
|
||||
Перевод выполнен Andy Shevchenko <andy@smile.org.ua>.
|
||||
|
||||
.SH ФАЙЛЫ
|
||||
.PD 0
|
||||
.TP
|
||||
.I $HOME/.dosemu/.dosemurc
|
||||
настроечный файл на каждого пользователя
|
||||
.TP
|
||||
.I @sysconfdir@/dosemu.conf
|
||||
или
|
||||
.TP
|
||||
.I /etc/dosemu.conf
|
||||
общесистемный настроечный файл
|
||||
.TP
|
||||
.I $HOME/.dosemu/boot.log
|
||||
файл по умолчанию для сообщений отладки и отчета
|
||||
.TP
|
||||
.I $HOME/dosemu/bin/
|
||||
.TP
|
||||
.I $HOME/dosemu/freedos/
|
||||
.TP
|
||||
.I $HOME/dosemu/Xfonts/
|
||||
каталоги по умолчанию локального варианта установки DOSEMU на каждого
|
||||
пользователя
|
||||
.TP
|
||||
.I @bindir@
|
||||
.TP
|
||||
.I @datadir@/dosemu/
|
||||
.TP
|
||||
.I @datadir@/dosemu/dosemu-bin.tgz
|
||||
.TP
|
||||
.I @datadir@/dosemu/dosemu-freedos-bin.tgz
|
||||
общесистемная установка по умолчанию, включающая в себя бинарные файлы и
|
||||
шаблоны (Пути могут быть изменены втечение создания общесистемной установки).
|
||||
|
||||
.SH "СМОТРИ ТАКЖЕ"
|
||||
.BR dosemu.bin "(1)
|
||||
648
man/ru/dosemu.bin.1.in
Normal file
648
man/ru/dosemu.bin.1.in
Normal file
@@ -0,0 +1,648 @@
|
||||
.\" -*- nroff -*- (This is for Emacs)
|
||||
.TH DOSEMU.BIN 1 "@RELEASE_DATE@" "Версия @PACKAGE_VERSION@" "Эмуляция DOS"
|
||||
.SH ИМЯ
|
||||
dosemu.bin, dosdebug \- запускает DOS и приложения DOS под Linux
|
||||
.SH СИНТАКСИС
|
||||
.B dosemu.bin
|
||||
[
|
||||
.B \-ABCcdkVNXtsgKm234OU
|
||||
]
|
||||
[
|
||||
.B \-h
|
||||
]
|
||||
[
|
||||
.B \-F
|
||||
.I файл
|
||||
]
|
||||
[
|
||||
.B \--Fusers
|
||||
.I файл
|
||||
]
|
||||
[
|
||||
.B \--Flibdir
|
||||
.I каталог
|
||||
]
|
||||
[
|
||||
.B \--Fimagedir
|
||||
.I каталог
|
||||
]
|
||||
[
|
||||
.B \-f
|
||||
.I файл
|
||||
]
|
||||
[
|
||||
.B \-u
|
||||
.I переменная_настройки
|
||||
]
|
||||
[
|
||||
.B \-D
|
||||
.I флаги
|
||||
]
|
||||
[
|
||||
.B \-e
|
||||
.I объем
|
||||
]
|
||||
[
|
||||
.B \-x
|
||||
.I объем
|
||||
]
|
||||
[
|
||||
.B \-P
|
||||
.I файл
|
||||
]
|
||||
[
|
||||
.B \-o
|
||||
.I файл
|
||||
]
|
||||
[
|
||||
2\>
|
||||
.I файл_отладки
|
||||
]
|
||||
[
|
||||
.B \-I
|
||||
.I опции_настройки
|
||||
]
|
||||
[
|
||||
.B \-E
|
||||
.I dos-команда
|
||||
]
|
||||
[
|
||||
.B \-K
|
||||
.I unix_путь[:dos_путь]
|
||||
]
|
||||
[
|
||||
.I env1=val1
|
||||
.I ...
|
||||
]
|
||||
[
|
||||
.I unix_путь_к_дос_программе
|
||||
[
|
||||
.I --
|
||||
]
|
||||
[
|
||||
.I аргументы_дос_команды
|
||||
]
|
||||
.sp
|
||||
.B dosdebug
|
||||
.SH ОПИСАНИЕ
|
||||
.B dosemu.bin
|
||||
является бинарным файлом, который запускается скриптом
|
||||
.B dosemu
|
||||
(1),
|
||||
активизирующим эмулятор DOS под Linux, также известный как
|
||||
.BR DOSEMU .
|
||||
.br
|
||||
.I Файл_отладки
|
||||
представляет собой опциональный файл, куда будет перенаправляться вся отладочная информация.
|
||||
.PP
|
||||
.B dosdebug
|
||||
используется для управления или отладки уже запущенного
|
||||
.BR DOSEMU .
|
||||
.PP
|
||||
Хотя эта программа известна как
|
||||
.I эмулятор
|
||||
DOS, она в действительноти является виртуальной машиной для DOS, позволяющей
|
||||
оперировать DOS и программами, написанными для DOS, в окружении, подобном
|
||||
стандартному IBM PC/AT компьютеру или совместимому с процессором Intel 80x86
|
||||
в реальном режиме.
|
||||
.B DOSEMU
|
||||
предоставляет эмуляцию таких сервисов как видео подсистемы, дисковой,
|
||||
клавиатурной, последовательного порта и подсистемы принтера, доступных через
|
||||
BIOS; памяти CMOS для настроечной информации; часов реального времени;
|
||||
работу с памятью через спецификации XMS 3.0, EMS 4.0 и DPMI 0.9.
|
||||
.PP
|
||||
Поскольку
|
||||
.B DOSEMU
|
||||
не является действительным эмулятором DOS, требуется копия FreeDos, которая
|
||||
сейчас преднастроена и включена как часть официального бинарного дистрибутива
|
||||
DOSEMU.
|
||||
В дополнение, любой доступный сейчас проприетарный DOS (такой как MS-DOS,
|
||||
PC-DOS, DR-DOS) может быть запущен, при настройке должным образом.
|
||||
|
||||
.SH ТРЕБОВАНИЯ К ЯДРУ
|
||||
На текущий момент времени, необходимо иметь Linux 2.0.28 или выше с
|
||||
вкомпилированной опцией SYSV IPC (System V InterProcess Communication
|
||||
facilities, смотрите
|
||||
.BR ipc (2)).
|
||||
Опция SYSV IPC включается в окне настройки ядра Linux в процессе его
|
||||
компиляции.
|
||||
|
||||
.SH ОПИЦИИ
|
||||
.TP
|
||||
.I -A
|
||||
загрузка с дисковода A (не требует наличия реального дисковода, смотрите ниже)
|
||||
.TP
|
||||
.I -B
|
||||
загрузка с дисковода B (не требует наличия реального дисковода, смотрите ниже)
|
||||
.TP
|
||||
.I -C[num]
|
||||
загрузка с диска C. Если указан num, то соответствующий диск сначала
|
||||
становится диском C. Например, -C1 означает переименовать диск D в C,
|
||||
а потом с него загрузиться.
|
||||
.TP
|
||||
.I -c[d]
|
||||
использвать видео консоль напрямую (должно зыпускаться из консоли,
|
||||
требуется, чтобы
|
||||
.B dosemu
|
||||
был запущен с опцией -s)
|
||||
.br
|
||||
.I -cd
|
||||
отсоединиться от текущей виртуальной консоли или tty устройства и
|
||||
присоединиться к первой свободной виртуальной консоли
|
||||
.TP
|
||||
.I -d path
|
||||
монтировать путь path как дополнительный диск в DOS.
|
||||
Можно указывать более одного раза.
|
||||
.TP
|
||||
.I -E dos-команда
|
||||
Запуск команды DOS в DOSEMU.
|
||||
Путь к бинарнику можно указать с помощью опции \-K.
|
||||
Например,
|
||||
.nf
|
||||
dosemu -K /home/joeuser/dosemu/freedos/bin -E "xcopy my_file my_dir"
|
||||
.fi
|
||||
запустит /home/joeuser/dosemu/freedos/bin/xcopy.exe с 2 аргументами.
|
||||
.br
|
||||
Замечание: это только работает с дефолтным autoexec.bat, в котором
|
||||
есть вызов "system \-e".
|
||||
.TP
|
||||
.I -K unix_путь[:dos_путь]
|
||||
Указать путь unix к программе, запускаемой через \-E.
|
||||
Можно не использовать \-E, а указать полный путь через \-K, но это не
|
||||
рекомендуется, и может быть удалено в будущем. Указывать в \-K надо
|
||||
только путь к каталогу.
|
||||
.br
|
||||
Если указан dos_путь, тогда он используется в качестве директории запуска
|
||||
dos-программы. Если unix_путь не указан, то буква диска берётся из dos_пути:
|
||||
.nf
|
||||
dosemu -K :C:\\\\games\\\\carma -E carma.exe
|
||||
.fi
|
||||
Так запустится carma.exe из C:\\games\\carma
|
||||
.TP
|
||||
.I -V
|
||||
использовать VGA спефицичную оптимизацию видео
|
||||
.TP
|
||||
.I -k
|
||||
использовать прозрачную клавиатуру консоли (должно запускаться из консоли)
|
||||
.TP
|
||||
.I --Fusers
|
||||
Обойти файл dosemu.users и взять предоставленный файл вместо него
|
||||
(принимается только в случае, когда
|
||||
.B dosemu.bin
|
||||
.I не
|
||||
имеет флага suid-root).
|
||||
.TP
|
||||
.I --Flibdir
|
||||
Обойти каталог по умолчанию DOSEMU_LIB_DIR (как, возможно, определено в
|
||||
dosemu.users) и использовать предоставленный каталог вместо него
|
||||
(принимается только в случае, когда
|
||||
.B dosemu.bin
|
||||
.I не
|
||||
имеет флага suid-root).
|
||||
.TP
|
||||
.I --Fimagedir
|
||||
Обойти каталог по умолчанию для загрузочного и каталога образов диска
|
||||
(DOSEMU_IMAGE_DIR) и использовать предоставленный каталог вместо него
|
||||
(принимается только в случае, когда
|
||||
.B dosemu.bin
|
||||
.I не
|
||||
имеет флага suid-root).
|
||||
.TP
|
||||
.I -f
|
||||
Разобрать предоставленный конфигурационный файл вместо .dosemurc. Если
|
||||
задействована опция -n, то указанный здесь конфигурационный файл будет
|
||||
использован вместо основного dosemu.conf.
|
||||
.TP
|
||||
.I -n
|
||||
Пропустить (не разбирать) пользовательский файл конфигурации .dosemurc.
|
||||
Конфигурационный файл, указанный в -f, будет разобран, но, в этом случае,
|
||||
он заменит основной конфиг dosemu.conf.
|
||||
.TP
|
||||
.I -L <log_string>
|
||||
Записывает <log_string> в лог-файл.
|
||||
.TP
|
||||
.I -I
|
||||
Обработать строку, следующую за опцией.
|
||||
.I -I
|
||||
работает с таким же синтаксисом, как и global.conf или .dosemurc, например,
|
||||
.TP
|
||||
dos ... \-I 'video { mda }'
|
||||
|
||||
Эта опция полезна, если необходимо временно заменить предоставленный
|
||||
настроечный параметр. Также можно использовать общую настройку путем запуска
|
||||
скрипта как показано ниже
|
||||
.TP
|
||||
dos ... \-I "`myconf.sh`"
|
||||
|
||||
где
|
||||
.I myconf.sh
|
||||
является скриптом, выдающим настройку на стандартный вывод. Если имеется
|
||||
альтернативный файл настроек помимо .dosrc, то команда
|
||||
.TP
|
||||
dos ... \-I "`cat myother.conf`"
|
||||
|
||||
его будет использовать. Однако заметьте, что необходимо взять в кавычки
|
||||
параметр за
|
||||
.I -I,
|
||||
потому что ожидается
|
||||
.I один
|
||||
аргумент.
|
||||
.TP
|
||||
.I -i input_data
|
||||
Вводит
|
||||
.I input_data
|
||||
с эмулируемой клавиатуры. Можно использовать \\r в качестве Enter.
|
||||
Так же обрабатываются другие эскейп-последовательности, например
|
||||
можно вставлять задержки с помощью конструкций вида "\\p10;", где
|
||||
10 - величина задержки в десятках миллисекунд.
|
||||
.TP
|
||||
.I -D
|
||||
определяет какие отладочные сообщения позволить, а какие запретить
|
||||
.TP
|
||||
.I -h
|
||||
вывести справку.
|
||||
.TP
|
||||
.I -H
|
||||
определяет флаги, поддерживаемые dosdebug. В настоящий момент только `1'
|
||||
имеет смысл. С
|
||||
.I -H1
|
||||
происходит принуждение dosemu к ожиданию, пока подсоединен dosdebug терминал.
|
||||
Отсюда, чтобы отладить DOS сессию с самого начала, необходимо вначале запустить
|
||||
dosemu с параметром \-H1, а затем запустить dosdebug.
|
||||
DOSEMU будет затем заблокирован перед переходом в загруженный boot сектор в
|
||||
ожидании соединения dosdebug. Однажды присоединившись, программа находится
|
||||
в состоянии `остановлена' и можно установить точки останова или пройтись
|
||||
пошагово через загрузочный код.
|
||||
.TP
|
||||
.I -O
|
||||
использовать стандартный поток ошибок для вывода отладочных сообщений
|
||||
.TP
|
||||
.I -o
|
||||
использовать предоставленный файл для вывода отладочных сообщений в него
|
||||
.TP
|
||||
.I -m
|
||||
разрешить внутреннюю поддержку мыши
|
||||
.TP
|
||||
.I -P
|
||||
копировать отладочный вывод в предоставленный файл
|
||||
.TP
|
||||
.I -2,3,4
|
||||
выбрать 286, 386 или 486 процессор (Будьте осторожны!
|
||||
.B DOSEMU
|
||||
не является полностью 32-хбитным,
|
||||
так что при определении программой 386 или 486 процессора и использовании
|
||||
32-хбитных регистров, возможно сбивание ее с толку из-за функций BIOS.
|
||||
Если предполагается, что такое случается, используйте \-2 для принужденного
|
||||
перехода
|
||||
.B DOSEMU
|
||||
в режим 286.)
|
||||
.TP
|
||||
|
||||
.PD 1
|
||||
.SH ЖЕСТКИЕ ДИСКИ
|
||||
.B DOSEMU
|
||||
поддерживает четыре метода замещения DOS с жесткими дисками:
|
||||
.IP 1.
|
||||
виртуальный файл диска, находящийся на файловой системе Linux, который
|
||||
эмулирует жесткий диск.
|
||||
.IP 2.
|
||||
непосредственный доступ к разделу DOS через прозрачное дисковое устройство
|
||||
(например, /dev/hda, /dev/hdb, /dev/sdX).
|
||||
.IP 3.
|
||||
непосредственный доступ к разделу DOS через доступ к единичному разделу
|
||||
(к примеру, /dev/hda1, /dev/hdb2, /dev/sdxx). Необходимо запустить программу
|
||||
.B mkpartition
|
||||
для разрешения
|
||||
.B DOSEMU
|
||||
доступа к разделу DOS с SPA (Single Partition Access).
|
||||
.IP 4.
|
||||
доступ к файловой системе Linux как к "сетевому" устройству, используя
|
||||
драйвер emufs.sys, поставляемый с
|
||||
.B DOSEMU
|
||||
как commands/emufs.sys.
|
||||
.PP
|
||||
Настройка ресурсов жесткого диска
|
||||
.B DOSEMU
|
||||
выполняется путем редактирования файла
|
||||
.B dosemu.conf
|
||||
перед запуском
|
||||
.BR DOSEMU .
|
||||
Смотрите также @docdir@/README.txt.
|
||||
|
||||
.SH ФЛОППИ ДИСКИ
|
||||
.B DOSEMU
|
||||
поддерживает два метода замещения DOS с флоппи дисками:
|
||||
.IP 1.
|
||||
виртуальный файл диска, находящийся на файловой системе Linux, эмулирующий
|
||||
флоппи дисковод
|
||||
.IP 2.
|
||||
непосредственный доступ к физическому флоппи дисководу через прозрачное
|
||||
дисковое устройство (к примеру, /dev/fd0, /dev/fd1).
|
||||
.PP
|
||||
Настройка ресурсов флоппи диска
|
||||
.B DOSEMU
|
||||
выполняется путем редактирования файла
|
||||
.B dosemu.conf
|
||||
перед запуском
|
||||
.BR DOSEMU .
|
||||
|
||||
.SH ВИДЕО
|
||||
.B DOSEMU
|
||||
может запускаться на любом tty устройстве. Однако, увеличенная
|
||||
производительность и функциональность может быть получена с применением
|
||||
дополнительных особенностей консоли Linux.
|
||||
Так, для запускаемого в консоли
|
||||
.B DOSEMU
|
||||
желательно исследовать ключи
|
||||
.I \-c,
|
||||
.I \-k,
|
||||
и
|
||||
.I \-V.
|
||||
Также некоторая укороченная документация находится в файле dosemu.conf,
|
||||
который можно редактировать, если это необходимо.
|
||||
.PP
|
||||
Вкратце, правильное использование консольного устройства и соответствующих
|
||||
ключей позволяет пользователю работать с DOS программой в оригинальном
|
||||
цвете и с оригинальным шрифтом, без проблем переодического обновления экрана
|
||||
при кодах вывода на базовое устройство tty.
|
||||
|
||||
.SH КЛАВИАТУРА
|
||||
Те, кто желает применять
|
||||
.B DOSEMU
|
||||
в консоли Linux, могут также воспользоваться прямым доступом к клавиатуре.
|
||||
Такой режим действия, выбранный ключом
|
||||
.I \-k,
|
||||
предоставляет пользователю доступ ко всей клавиатуре прямо из-под DOS.
|
||||
Любые комбинации клавиш ALT, CTRL и SHIFT могут использоваться
|
||||
для генерации необычных кодов клавиш, ожидаемых многими программами.
|
||||
|
||||
.SH ПЕЧАТЬ
|
||||
Сервисы печати BIOS эмулирутся через стандартный I/O доступ к файлам UNIX
|
||||
через временные файлы, которые периодически опрашиваются LPR либо другим
|
||||
клиентом печати как указано в параметре $_printer в файле dosemu.conf.
|
||||
|
||||
.SH ОТЛАДОЧНЫЕ СООБЩЕНИЯ
|
||||
Отладочные сообщения могут контроллироваться как в командной строке, так и
|
||||
в настроечном файле. Просмотрите документацию, находящуюся внутри файла
|
||||
config.dist, включённого в подкаталог примеров
|
||||
.B DOSEMU,
|
||||
для информации об опциях отладки. В командной строке можно определить
|
||||
какие классы сообщений будут доступны
|
||||
.B dos.
|
||||
Синтаксис тут передаётся
|
||||
.B DOSEMU
|
||||
через опцию "\-D FLAGS", где FLAGS представляет собой строку букв, которые
|
||||
определяют какие опции будут печатать на экран, а какие подавляться.
|
||||
.B DOSEMU
|
||||
разбирает эту строку справа налево.
|
||||
|
||||
+ включает следующие опции (начальное состояние)
|
||||
\- выключает следующие опции
|
||||
a включает или выключает все опции в зависимости от флага
|
||||
0 выключает все опции
|
||||
1-9 устанавливает уровень отладки: чем выше, тем больше выводится
|
||||
# где # - это буква из списка верного класса,
|
||||
включает или выключает опцию в зависимости от состояния +/\-.
|
||||
|
||||
.I Классы Сообщений:
|
||||
|
||||
d диск R чтение с диска W запись на диск
|
||||
D int 21h C компакт дисковод v видео
|
||||
X поддержка X k клавиатура i порты I/O
|
||||
s послед. порты m мышь # прерывания
|
||||
p принтер g базовые c настройка
|
||||
w предупреждения h оборудование I IPC
|
||||
E EMS x XMS M DPMI
|
||||
n сеть IPX P пакетный драйвер S ЗВУК
|
||||
r PIC T трассировка IO Z PCI-BIOS
|
||||
A драйвер ASPI Q mapping driver
|
||||
|
||||
Любые классы отладки, следующие после символа
|
||||
.I \+
|
||||
до символа
|
||||
.I \-,
|
||||
будут включены (неподавляющиеся). Любые, следующие после символа
|
||||
.I \-
|
||||
до символа
|
||||
.I \+,
|
||||
будут подавлены. Символ
|
||||
.I a
|
||||
действует подобно строке со всеми возможными классами отладки, так
|
||||
.I \+a
|
||||
включит все отладочные сообщения и
|
||||
.I \-a
|
||||
выключит все отладочные сообщения. Символы
|
||||
.I 0
|
||||
и
|
||||
.I 1-9
|
||||
также специального назначения:
|
||||
.I 0
|
||||
выключает все отладочные сообщения, а
|
||||
.I 1-9
|
||||
включает все отладочные сообщения, но также устанавливает и уровень отладки.
|
||||
|
||||
Символ
|
||||
.I \+
|
||||
приписывается в начало строки FLAGS.
|
||||
Некоторые классы, типа класса ошибок, не могут быть выключаны.
|
||||
В случае, если перенаправление на стандартный поток ошибок нежелательно,
|
||||
ближайший путь для достижения результата - перенаправить весь
|
||||
вывод в устройство
|
||||
.B /dev/null.
|
||||
|
||||
Несколько примеров:
|
||||
"\-D+a\-v" или "\-D1\-v" : все сообщения кроме видео
|
||||
"\-D+kd" : по умолчанию вместе с клавиатурой и диском
|
||||
"\-D0+RW" : только чтение с диска и запись на диск
|
||||
|
||||
Любая опциональная буква может располагаться в любом месте. Даже
|
||||
бессмысленные комбинации, типа
|
||||
.I -D01-a-1+0,
|
||||
будут разобраны без ошибки, так что будьте осторожны.
|
||||
Некоторые опции установлены по умолчанию, некоторые наоборот.
|
||||
Это предмет авторского каприза и возможны изменения между версиями.
|
||||
Можно обеспечить четкую установку конкретных опций, всегда явно определяя их.
|
||||
|
||||
.SH СПЕЦИАЛЬНЫЕ КЛАВИШИ
|
||||
В режиме работы с клавиатурой напрямую (смотрите опцию
|
||||
.BR \-k),
|
||||
.B DOSEMU
|
||||
возвращает известные последовательности клавиш как управляющие функции.
|
||||
.PP
|
||||
.PD 0
|
||||
.IP
|
||||
ctrl-scrlock = показать 0x32 векторов прерываний
|
||||
.IP
|
||||
alt-scrlock = показать регистры vm86
|
||||
.IP
|
||||
rshift-scrlock = генерировать int8 (таймер)
|
||||
.IP
|
||||
lshift-scrlock = генерировать int9 (клавиатура)
|
||||
.IP
|
||||
ctrl-break = ctrl-break как под DOS.
|
||||
.IP
|
||||
ctrl-alt-pgup = перегрузить DOS. Не доверяйте этому!
|
||||
.IP
|
||||
ctrl-alt-pgdn = выйти из эмулятора
|
||||
.PD 1
|
||||
.PP
|
||||
Используйте <LEFT CTRL>-<LEFT ALT>-<Функциональная клавиша>, чтобы
|
||||
переключиться на другую виртуальную консоль.
|
||||
|
||||
.SH ПАМЯТЬ
|
||||
Поддержка памяти XMS в
|
||||
.B DOSEMU
|
||||
соответствует расширенной спецификации памяти Lotus/Intel/Microsoft/AST
|
||||
версии 3.0. Реализованы все функции XMS кроме функции 0x12
|
||||
(Перераспределить Верхний Блок Памяти).
|
||||
.PP
|
||||
В то время как идет реализация функций UMB, они крайне глупые и
|
||||
будут почти всегда действовать неоптимально. Очередная версия
|
||||
.B DOSEMU
|
||||
будет иметь разумную поддержку UMB.
|
||||
.PP
|
||||
.B DOSEMU
|
||||
также поддерживает EMS 4.0 и DPMI 0.9 (1.0 частично).
|
||||
|
||||
|
||||
.SH АВТОРЫ
|
||||
.B DOSEMU
|
||||
(содержащий в себе файлы
|
||||
.B dosemu.bin
|
||||
и
|
||||
.B dosemu
|
||||
) базируется на версии 0.4 оригинальной программы, написанной Matthias Lautner
|
||||
(текущий адрес которого на данный момент неизвестен).
|
||||
.PP
|
||||
Robert Sanders <gt8134b@prism.gatech.edu> поддерживал и расширял
|
||||
воплощение
|
||||
.B DOSEMU,
|
||||
с которым начало распространяться это man руководство. Втечение около 4-х
|
||||
лет James B. MacLean <macleajb@ednet.ns.ca> был неустанным лидером команды
|
||||
dosemu, реализация DPMI (которая позволила запускать Windows-3.1, dos4gw,
|
||||
djgpp и прочее) произошла втечение его 'правления' и перенесла проект ближе к
|
||||
состоянию Beta. Hans Lermen <lermen@fgan.de> работал над новой версией и
|
||||
выпустил первый релиз версии 1.0. Сейчас Bart Oldeman <bart@dosemu.org>
|
||||
является основным разработчиком этого прекрасного программного обеспечения.
|
||||
Перевод выполнен Andy Shevchenko <andy@smile.org.ua>.
|
||||
|
||||
.SH ОШИБКИ
|
||||
Их число довольно велико, лучше свести список до минимума.
|
||||
.PP
|
||||
Пожалуйста, отсылайте отчеты об ошибках автору.
|
||||
Также автору нравиться слышать о тех программах, которые работают.
|
||||
Присылайте только подробную заметку о том, какая программа (и какой версии)
|
||||
используется, что работает, а что нет и тому подобное.
|
||||
|
||||
.SH ДОСТУПНОСТЬ
|
||||
Большинство последних версий
|
||||
.B DOSEMU
|
||||
можно получить с сайта www.dosemu.org; скоростное зеркало расположено по
|
||||
адресу ibiblio.unc.edu:/pub/Linux/system/emulators/dosemu/.
|
||||
Если хотите получать частные версии для разработчиков, вступайте в команду
|
||||
разработчиков
|
||||
.B DOSEMU,
|
||||
всего лишь хорошие и подробные отладочные отчеты - всё, что необходимо!
|
||||
|
||||
.SH ФАЙЛЫ
|
||||
.PD 0
|
||||
.TP
|
||||
.I @bindir@/dosemu.bin
|
||||
Исполняемый модуль
|
||||
.TP
|
||||
.I @bindir@/dosemu
|
||||
Оберточный скрипт, рекомендуемый для запуска dosemu.bin, который не стоит
|
||||
запускать непосредственно.
|
||||
.TP
|
||||
.I @bindir@/xdosemu
|
||||
То же самое, но служит для запуска DOS в X window.
|
||||
.TP
|
||||
.I $HOME/.dosemu
|
||||
Локальный каталог на каждого пользователя
|
||||
.B DOSEMU.
|
||||
Создание каталога происходит молча, если он отсутствует.
|
||||
.TP
|
||||
.I $HOME/.dosemu/tmp
|
||||
Создание всех временных файлов происходит здесь, /tmp больше не используется.
|
||||
.TP
|
||||
.I /var/run/dosemu.*
|
||||
или
|
||||
.TP
|
||||
.I $HOME/.dosemu/run
|
||||
Различные файлы, используемые
|
||||
.B DOSEMU,
|
||||
включая отладочные каналы.
|
||||
.TP
|
||||
.TP
|
||||
.I $HOME/dosemu/freedos
|
||||
Загрузочный каталог, содержащий FreeDos.
|
||||
.TP
|
||||
.I dosemu.conf
|
||||
Основной настроечный файл для
|
||||
.BR DOSEMU,
|
||||
включающийся в
|
||||
.I global.conf
|
||||
(global.conf включен в dosemu.bin по умолчанию).
|
||||
.TP
|
||||
.I dosemu.users
|
||||
или
|
||||
.TP
|
||||
.I @sysconfdir@/dosemu.users
|
||||
Для запускаемых бинарников с suid-root: определение прав доступа к
|
||||
.BR DOSEMU
|
||||
на базисе каждого пользователя и установка некоторой необходимой
|
||||
конфигурации. Этот настроечный файл имеет только
|
||||
фиксированное расположение,
|
||||
.BR DOSEMU
|
||||
вначале ищет
|
||||
.I dosemu.users
|
||||
и, если он не найден, обращается к
|
||||
.I @sysconfdir@/dosemu.users.
|
||||
Через ключевой параметр
|
||||
.I default_lib_dir=
|
||||
в файле
|
||||
.I dosemu.users
|
||||
системно расширяющий каталог
|
||||
.I DOSEMU_LIB_DIR
|
||||
может быть перемещен куда-нибудь.
|
||||
За более детальной информацией обращайтесь к
|
||||
.I @docdir@/README.txt
|
||||
.TP
|
||||
.I @sysconfdir@/dos.ini
|
||||
Настроечный файл для IPX.
|
||||
|
||||
.TP
|
||||
.I @docdir@/DPR
|
||||
Команда разработчиков dosemu: кто и какую часть проекта
|
||||
.B DOSEMU
|
||||
ведет?
|
||||
.TP
|
||||
.I doc/DANG.txt
|
||||
Помощь для изучения кода
|
||||
.B DOSEMU.
|
||||
.TP
|
||||
.I @docdir@/README.*
|
||||
Различная документация.
|
||||
.TP
|
||||
.I ChangeLog
|
||||
Изменения в
|
||||
.B DOSEMU
|
||||
с момента последнего релиза.
|
||||
.TP
|
||||
.I README.bindist
|
||||
Информация о том, как использовать готовый к работе пакет бинарников
|
||||
DOSEMU/FreeDos.
|
||||
.TP
|
||||
.I README.distributors
|
||||
Информация для дистрибьютеров Linux о том, как паковать сборку
|
||||
.B DOSEMU,
|
||||
для расширения возможностей системы.
|
||||
.TP
|
||||
.I Список рассылки MSDOS
|
||||
Для подробной информации пишите на адрес
|
||||
.IP linux-msdos@vger.kernel.org
|
||||
|
||||
|
||||
|
||||
.SH "СМОТРИ ТАКЖЕ"
|
||||
.BR dosemu "(1), " mkfatimage16 "(1)"
|
||||
136
man/ru/mkfatimage16.1
Normal file
136
man/ru/mkfatimage16.1
Normal file
@@ -0,0 +1,136 @@
|
||||
.\" -*- nroff -*- (This is for Emacs)
|
||||
.TH MKFATIMAGE16 1 "Сентябрь 1998" "Версия ALPHA 0.98" "Создание HDIMAGE для DOSEMU"
|
||||
.SH ИМЯ
|
||||
mkfatimage16 \- создает виртуальный образ диска, в удобном для DOSEMU формате
|
||||
.SH СИНТАКСИС
|
||||
.B mkfatimage16
|
||||
[
|
||||
.B \-b файл_загрузочного_сектора
|
||||
]
|
||||
[{
|
||||
.B \-t дорожки
|
||||
|
|
||||
.B \-k КБайты
|
||||
}]
|
||||
[
|
||||
.B \-l метка_тома
|
||||
]
|
||||
[
|
||||
.B \-f выходной_файл
|
||||
]
|
||||
[
|
||||
.B \-p
|
||||
]
|
||||
[
|
||||
.B файл...
|
||||
]
|
||||
.SH ОПИСАНИЕ
|
||||
.B mkfatimage16
|
||||
создает файл образа жесткого диска для
|
||||
.BR DOSEMU,
|
||||
который служит для начальной загрузки вместе с файлами, определенными в
|
||||
командной строке.
|
||||
Вывод результата записывается либо на
|
||||
.I стандартный_вывод
|
||||
( здесь не забывайте добавлять " > hdimagefile", иначе будет загрязнен
|
||||
экран ошибочными данными), либо в файл, определенный опцией
|
||||
.B \-f.
|
||||
Далее можно также использовать опцию
|
||||
.B \-p
|
||||
в порядке принуждения дополнения файла до заданной длины. Это дополнение
|
||||
даст результат в виде так называемых "дыр" на файловой системе ext2, поэтому
|
||||
действительное использование диска не будет увеличиваться.
|
||||
Файл, созданный mkfatimage16, затем можно использовать как виртуальное
|
||||
устройство, если он будет определен в
|
||||
.I /etc/dosemu.conf.
|
||||
Если опция
|
||||
.B \-k
|
||||
не представлена, количество головок всегда равно 4 и на каждую головку
|
||||
приходится по 17 секторов, иначе необходимо соответственно подстраивать
|
||||
эти значения.
|
||||
Чтобы варьировать размером, можно либо использовать опцию
|
||||
.B \-t,
|
||||
либо определить общее количество КБайт памяти опцией
|
||||
.B \-k .
|
||||
|
||||
Все файлы, следующие за опциями, скопируются на образ диска. В
|
||||
дополнение, введена удобная для
|
||||
.BR DOSEMU
|
||||
основная загрузочная запись (MBR), а посредством опции
|
||||
.B \-b
|
||||
можно задать загрузочный сектор, который установится как первый сектор раздела.
|
||||
Для дальнейшего доступа к образу диска извне
|
||||
.BR DOSEMU
|
||||
необходимо использовать
|
||||
.BR mtools
|
||||
( параметры файла /etc/mtools.conf
|
||||
.B partition=1
|
||||
и
|
||||
.B offset=128
|
||||
).
|
||||
|
||||
|
||||
|
||||
.SH ОПЦИИ
|
||||
.TP
|
||||
.I \-b файл
|
||||
Копирует первые 512 байт
|
||||
.I файла
|
||||
как загрузочный сектор раздела будущего образа диска.
|
||||
.TP
|
||||
.I \-t количество
|
||||
Создает виртуальный диск, имеющий указанное
|
||||
.I количество
|
||||
дорожек. Эта опция является единственным путем для определения размера диска.
|
||||
.TP
|
||||
.I \-k КБайты
|
||||
Создать виртуальный диск, заданный объемом
|
||||
.I KБайт.
|
||||
Использование опций
|
||||
.I \-t
|
||||
и
|
||||
.I \-k
|
||||
взаимоисключающее.
|
||||
.TP
|
||||
.I \-l метка
|
||||
Устанавливает
|
||||
.I метку
|
||||
как метку тома для диска.
|
||||
.TP
|
||||
.I \-f выходной_файл
|
||||
Образ диск записывается в
|
||||
.I выходной_файл
|
||||
вместо
|
||||
.I стандартного_вывода
|
||||
.TP
|
||||
.I \-p
|
||||
Расширяет образ диска с нуля до полного объема, переданного
|
||||
опцией
|
||||
.I \-t
|
||||
или
|
||||
.I \-k
|
||||
(только в связке с опцией
|
||||
.I \-f
|
||||
).
|
||||
|
||||
|
||||
|
||||
.SH АВТОРЫ
|
||||
Pasi Eronen (pe@iki.fi) и Peter Wainwright.
|
||||
Перевод выполнен Andy Shevchenko <andy@smile.org.ua>
|
||||
|
||||
.SH ОШИБКИ
|
||||
Программа не поддерживает искажение имен и обладает очень малым количеством
|
||||
проверок для файловых имен не DOS типа.
|
||||
Условия полноты диска не определяется (и возможно вызывает ошибочное
|
||||
поведение). Дублирующие файлы не обнаруживаются.
|
||||
|
||||
.SH ДОСТУПНОСТЬ
|
||||
Содержится в пакете
|
||||
.B DOSEMU
|
||||
|
||||
.SH "СМОТРИ ТАКЖЕ"
|
||||
.BR dosemu "(1), " xdosemu "(1), " mtools "(1)"
|
||||
|
||||
|
||||
|
||||
1
man/ru/xdosemu.1
Normal file
1
man/ru/xdosemu.1
Normal file
@@ -0,0 +1 @@
|
||||
.so man1/dosemu.1
|
||||
Reference in New Issue
Block a user