Linux 版 (精华区)

发信人: tcpip (干打雷,不下雨), 信区: Linux
标  题: dosemu(模拟器)配置示例
发信站: 紫 丁 香 (Sat May 29 18:20:21 1999), 转信

    dosemu配置其实很简单,下面附加一个可以运行的配置文件。
运行dosemu敲击dos即可,退出我没有找到好办法--kill it!很干净的
退出。

    将下面的东西存为dosemu.conf,放置在/etc下即可!

##############################################################################
# This file is /etc/dosemu.conf, included by /var/lib/dosemu/global.conf
#
# Linux DOSEMU configuration  for parser versions >= 3 (dosemu-0.97.0.1)
#
# ./doc/README.txt (chapter 2.) contains a description of the syntax
# and the usage of dosemu.conf.
#
#
# Access rights are defined in
#
#      /etc/dosemu.users
#
##############################################################################



# Notes for editing this section:
#
#   In    $_xxx = (n)    n is a numerical or boolean value
#                  =     =
#   In    $_zzz = "s"    s is a string
#
# Please edit only beteen the brakets and quotes and keep the rest intact.
#        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^

$_debug = "-a"          # same format as -D commandline option
                        # (but without the -D in front)
$_timint = (on)         # emulate INT08 type timer interrupts
$_mathco = (on)         # or off
$_cpu = (80586)         # CPU emulation, valid values:  80[345]86

$_rdtsc = (on)          # if possible use Pentium cycle counter
$_cpuspeed = (133)      # 0 = calibrated by dosemu, else given (e.g.166.666)
$_pci = (off)

$_xms = (65536)         # in Kbyte
$_ems = (65536)         # in Kbyte
$_ems_frame = (0xe000)
$_dpmi = (off)          # in Kbyte
$_dosmem = (640)        # in Kbyte, < 640
$_hardware_ram = ""     # list of segment values/ranges such as
                        # "0xc8000 range 0xcc000,0xcffff"

$_secure ="ngd"         # secure for: n (normal users), g (guest), d (dexe)
                        # empty string: depending on 'restricted'
                        # "0": always insecure (not recommended)
$_odd_hosts = ""        # black list such as "lucifer.hell.com billy.the.cat"
$_diskless_hosts=""     # black list such as "hacker1 newbee gateway1"

$_emusys = ""           # empty or 3 char., config.sys   -> config.XXX
$_emubat = ""           # empty or 3 char., autoexec.bat -> autoexec.XXX 
$_emuini = ""           # empty or 3 char., system.ini   -> system.XXX

$_hogthreshold = (1)    # 0 == all CPU power to DOSEMU
$_irqpassing = "3 4 5 6 7 8 9 10 11 12 13 14 15 "       
                        # list of IRQ number (2-15) to pass to DOS such as
                        # "3 8 10"
$_speaker = "native"    # or "native" or "emulated"


$_term_char_set = "ibm" # Global code page and character set selection.
                        # "" == automatic, else: ibm, latin, latin1, latin2

$_term_color = (on)     # terminal with color support
$_term_updfreq = (4)    # time between refreshs (units: 20 == 1 second)
$_escchar = (30)        # 30 == Ctrl-^, special-sequence prefix

$_rawkeyboard = (0)     # bypass normal keyboard input, maybe dangerous
$_layout = "us"         # one of: finnish(-latin1), de(-latin1), be, it, us
                        # uk, dk(-latin1), keyb-no, no-latin1, dvorak, po
                        # sg(-latin1), fr(-latin1), sf(-latin1), es(-latin1)
                        # sw, hu(-latin2), hu-cwi, keyb-user
$_keybint = (on)        # emulate PCish keyboard interrupt


$_X_updfreq = (5)       # time between refreshs (units: 20 == 1 second)
$_X_title = "DOS in a BOX"      # Title in the top bar of the window
$_X_icon_name = "xdos"  # Text for icon, when minimized
$_X_keycode = (off)     # on == translate keybord via dosemu keytables
$_X_blinkrate = (8)     # blink rate for the cursor
$_X_font = ""           # basename from /usr/X11R6/lib/X11/fonts/misc/*
                        # (without extension) e.g. "vga"
$_X_mitshm = (on)       # Use shared memory extensions
$_X_sharecmap = (off)   # share the colormap with other applications
$_X_fixed_aspect = (on) # Set fixed aspect for resize the graphics window
$_X_aspect_43 = (on)    # Always use an aspect ratio of 4:3 for graphics
$_X_lin_filt = (off)    # Use linear filtering for >15 bpp interpolation
$_X_bilin_filt = (off)  # Use bi-linear filtering for >15 bpp interpolation
$_X_mode13fact = (2)    # initial size factor for video mode 0x13 (320x200)
$_X_winsize = ""        # "x,y" of initial windows size (defaults to float)
$_X_gamma = (1.0)       # gamma correction
$_X_vgaemu_memsize = (2048) # size (in Kbytes) of the frame buffer for emulated vga
$_X_lfb = (on)  # use linear frame buffer in VESA modes
$_X_pm_interface = (on) # use protected mode interface for VESA modes
$_X_mgrab_key = ""      # KeySym name to activate mouse grab, empty == off
$_X_vesamode = ""       # "xres,yres ... xres,yres"
                        # List of vesamodes to add. The list has to contain
                        # SPACE separated "xres,yres" pairs



$_video = "vga"         # one of: plainvga, vga, ega, mda, mga, cga
$_console = (0)         # use 'console' video
$_graphics = (0)        # use the cards BIOS to set graphics
$_videoportaccess = (1) # allow videoportaccess when 'graphics' enabled
$_vbios_seg = (0xc000)  # set the address of your VBIOS (e.g. 0xe000)
$_vbios_size = (0x10000)# set the size of your BIOS (e.g. 0x8000)
$_vmemsize = (1024)     # size of regen buffer
$_chipset = ""          # one of: plainvga, trident, et4000, diamond, avance
                        # cirrus, matrox, wdvga, paradise
$_dualmon = (0)         # if you have one vga _plus_ one hgc (2 monitors)


$_vbootfloppy = ""      # if you want to boot from a virtual floppy:
                        # file name of the floppy image under /var/lib/dosemu
                        # e.g. "floppyimage" disables $_hdimage
                        #      "floppyimage +hd" does _not_ disable $_hdimage
$_floppy_a ="threeinch" # or "fiveinch" or empty, if not existing
$_floppy_b = ""         # dito for B:

$_hdimage = "/dev/hda1" #
                        # list of hdimages under /var/lib/dosemu
                        # assigned in this order such as
                        # "hdimage_c hdimage_d hdimage_e"
                        # If the name begins with '/dev/', then partion
                        # access is done instead of virtual hdimage such as
                        # "/dev/hda1" or "/dev/hda1:ro" for readonly
                        # Currently mounted devices and swap are refused.
                        # Hdimages and devices may be mixed such as
                        # "hdimage_c /dev/hda1 /dev/hda3:ro"
                        # Note: 'wholedisk' is _not_ supported.
$_hdimage_r = $_hdimage # hdimages for 'restricted access (if different)


$_com1 = ""             # e.g. "/dev/mouse" or "/dev/cua0"
$_com2 = ""             # e.g. "/dev/modem" or "/dev/cua1"
$_com3 = ""             # dito                 "/dev/cua2"
$_com4 = ""             # dito                 "/dev/cua3"
$_ttylocks = ""         # Lock directory (e.g. "/var/lock")
                        # default ("") is /usr/spool/uucp

$_mouse = "microsoft"   # one of: microsoft, mousesystems, logitech, mmseries
                        # mouseman, hitachi, busmouse, ps2
$_mouse_dev = "com1"    # one of: com1, com2, com3, com4 or /dev/mouse

$_mouse_flags = ""      # list of none or one or more of:
                        # "emulate3buttons cleardtr"
$_mouse_baud = (0)      # baudrate, 0 == don't set

$_printer = "lp"        # list of (/etc/printcap) printer names to appear as
                        # LPT1, LPT2, LPT3 (not all are needed, empty for none)
$_printer_timeout = (20)# idle time in seconds before spooling out

$_ports = ""            # list of portnumbers such as "0x1ce 0x1cf 0x238"
                        # or "0x1ce range 0x280,0x29f 310"
                        # or "range 0x1a0,(0x1a0+15)"

$_ipxsupport = (off)    # or on
$_novell_hack = (off)
$_vnet = (off)          # 'on' for packet-multi (used by dosnet)

$_sound = (off)         # sound support on/off
$_sb_base = (0x220)
$_sb_irq = (5)
$_sb_dma = (1)
$_sb_dsp = "/dev/dsp"
$_sb_mixer = "/dev/mixer"
$_mpu_base = "0x330"



--
!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!警告美国姥:别把我逼急了!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!

※ 修改:.tcpip 于 May 29 18:22:01 修改本文.[FROM: mtwww.hit.edu.cn]
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: mtwww.hit.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:214.852毫秒