Hi,

I'm trying to get some development tools running under dosemu, which includes
the Borland C/C++ compiler and debugger, and a program called loc31.exe, which
is a code locater.  The compiler and the debugger seem to work fine (they come
up on the screen without squawking), but the loc31.exe program crashes.
Normally, just running 'loc31' under DOS generates a usage message, but under
dosemu, it generates the following:

32loader runtime error: Unhandled exception

 Exception 0D at 00D7:0008E221 error code 00000000

      CS=00D7 DS=00DF ES=00DF SS=00DF FS=00FF GS=0000
    EAX=00000000 EBX=00000000 ECX=0002A000 EDX=000F5FF8
    EBP=000F5FEC ESP=000F5FD8 EDI=00027000 ESI=00000000

 The invalid instruction was executed at 0008E221

Module 'C:\TERN\BIN\LOC31.EXE' section 'CODE' offset 00054221

[0008E219]:  43 0C 99 41 46 00 EB 54 - 80 3D 58 00 47 00 00 74


loc31.exe requires a number of DPMI programs: 31rtm.exe, dpmi32vm.ovl, and
dpmiload.exe, which are in the path.

I'm running RH 6.0 with the out-of-the-box kernel, 2.2.5-15.  I've installed the
latest stable version of dosemu from the rpm on the www.dosemu.org site
(0.98.8).

I have tried both bootdir and hdimage configurations, running the loc31 program
from a floppy or the harddrive  without luck.  I've tried the FreeDOS included
with the dosemu, DOS 6.0, and the DOS from Windoze98.  I've included the
dosemu.conf file below.  I thought I would check with this list before spinning
my wheels any farther (I looked through the list archive, but didn't see
anything appropriate - I may have missed it, though).

Any help/suggestions would be appreciated.  Thanks.

Joel



$_debug = "-a"          # same format as -D commandline option
 $_features= ""          # list of temporary hacks, see release notes in
 $_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 = (0)        # 0 = calibrated by dosemu, else given (e.g.166.666)
$_pci = (off)
$_xms = (2048)          # in Kbyte
$_ems = (2048)          # in Kbyte
$_ems_frame = (0xe000)
$_dpmi = (4096)         # in Kbyte
$_dosmem = (640)        # in Kbyte, < 640
$_hardware_ram = ""     # list of segment values/ranges such as
$_secure ="ngd"         # secure for: n (normal users), g (guest), d (dexe)
$_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 = ""       # list of IRQ number (2-15) to pass to DOS such as
$_speaker = ""          # or "native" or "emulated"
$_term_char_set = ""    # Global code page and character set selection.
$_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 = "auto"       # one of: finnish(-latin1), de(-latin1), be, it, us
$_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 = (auto)    # on == translate keybord via dosemu keytables
$_X_blinkrate = (8)     # blink rate for the cursor
$_X_font = ""           # basename from /usr/X11R6/lib/X11/fonts/misc/*
$_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 = (1024) # 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"
$_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
$_dualmon = (0)         # if you have one vga _plus_ one hgc (2 monitors)
$_vbootfloppy = ""      # if you want to boot from a virtual floppy:
$_floppy_a ="threeinch" # or "fiveinch" or "atapi" or empty, if not existing
$_floppy_b = ""         # dito for B:
$_hdimage = "bootdir" # list of hdimages under /var/lib/dosemu
$_hdimage_r = $_hdimage # hdimages for 'restricted access (if different)
$_aspi = ""             # list of generic SCSI devices to make available
$_com1 = "/dev/ttyS0"   # 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")
$_mouse = "ps2"         # one of: microsoft, mousesystems, logitech, mmseries
$_mouse_dev = "/dev/psaux" # one of: com1, com2, com3, com4 or /dev/mouse
$_mouse_flags = ""      # list of none or one or more of:
$_mouse_baud = (0)      # baudrate, 0 == don't set
$_printer = "lp"        # list of (/etc/printcap) printer names to appear as
$_printer_timeout = (20)# idle time in seconds before spooling out
$_ports = ""            # list of portnumbers such as "0x1ce 0x1cf 0x238"
$_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"

Reply via email to