Skip to content

DOSBox-X release 0.82.5 2018-04-18 23:51

Compare
Choose a tag to compare

0.82.5 (04/18/2018)

  • Expanded memory manager memory copy fixed to
    enable A20 gate temporarily so that the copy
    works correctly.
  • PC-98 FM board emulation now defaults to IRQ 12
    instead of IRQ 3. A lot of PC-98 games seem to
    have a strong preference for that IRQ with regard
    to FM music.
  • PC-98 reset I/O port (F0h) fixed to emulate CPU
    reset according to the SHUT0 and SHUT1 state set
    by the guest. Normally writing port F0h is a
    signal to reset but SHUT0 and SHUT1 can be set to
    indicate alternate behavior. This fixes VEMM486.EXE
    (an expanded memory manager) and allows it to run,
    since this manager appears to reset by port F0h
    then resume execution normally. Prior to this fix,
    booting a MS-DOS disk image that loads VEMM486.EXE
    at startup yielded nothing but an infinite reboot
    loop.
  • XMS and EMS emulation fixed not to leave A20 gate
    enabled unless EMS emulation is set to EMM386 and
    dosbox.conf is set to run the system in virtual
    8086 mode. There are plenty of DOS games that
    malfunction if loaded too low in memory with the
    A20 gate enabled.
  • PC-98 mouse emulation, at the 8255 level, now uses
    new C++ abstraction that seems to work fairly well
    even with the common PC-98 MOUSE.COM driver.
  • "BOOT" command in PC-98 mode updated to no longer
    require the --force switch. Booting MS-DOS from a
    hard disk or floppy disk image in PC-98 mode is
    generally functional now.
  • Added PC-98 SCSI/SASI hard disk emulation, and fixed
    BOOT to enable booting PC-98 MS-DOS from a hard drive
    (HDI image)
  • FAT driver fixed to read/write logical sectors vs
    actual drive sectors and removed geometry remapping
    hack.
  • FAT driver fixed to avoid memory corruption that
    may occur if reading a partition table from a drive
    that has more than 512 bytes/sector.
  • .BAT file parsing fixed to handle BAT files not
    in the current directory (yksoft1)
  • Fixed floppy controller emulation bug that failed
    to advance sectors during multi-sector read/write.
  • Fixed floppy emulation bug that prevented seeking.
    The "head" would get stuck at track 0 and never move.
  • Dynamic core allows running with paging enabled again,
    IF dosbox.conf says to allow it (yksoft1)
  • DOS file I/O functions AH=3Fh and AH=40h updated to
    reflect undocumented MS-DOS behavior that silently
    truncates read/written byte count if the offset
    and byte count reach beyond the end of a 64KB segment.
    This fixes some demoscene productions that read 64KB-1
    bytes but apparently rely on this behavior to avoid
    display errors.
  • FluidSynth fixes and API updates. DOSBox-X no longer
    uses a private API within FluidSynth. (heftig)
  • Added dosbox.conf option to control the size of the
    DOS "Swappable Data Area" which is said to help with
    shelling and task swapping in WordPerfect 5.x and 6.x
  • Added "minimum mcb free", and set minimum mcb segment to
    value same or similar to DOSBox SVN. The "free" option
    directs DOSBox-X to allocate memory before that segment
    value to fill memory.
  • Fixed COMMAND.COM PSP segment to correctly identify it's
    resident size in memory.
  • COMMAND.COM in the DOSBox shell now allocates itself
    normally instead of from a special segment so that it
    appears normally in the MCB allocation chain.
  • BIOS now clears it's stack before booting the DOS shell.
  • Fix Pause (CTRL+Pause or ALT+Pause) to release all keys
    in the mapper so that CTRL, ALT, or Shift are not left
    "stuck" when emulation resumes.
  • Initial host keyboard recognition, and base framework
    for general keyboard language/layout handling. Keyboard
    layout recognition added for Windows and Linux/X11.
  • Fixed 350-line INT 10h VESA modes not to apply EGA mode
    adjustments, which fixes display distortion.
  • INT 10h VESA modes 720x480 and 848x480 fixed.
  • Fixed INT 10h VESA emulation to round up bytes/scanline
    so that 4bpp planar modes display properly.
  • Fixed INT 10h VESA mode 1400x1050 16-color (4bpp planar)
    mode to resolve overlapping mode number.
  • Pulled in VGA vtotal + 2 fix from DOSBox SVN
  • Pulled in EGA display mode fixes from DOSBox SVN to fix
    EGA graphics emulation.
  • Fixed INT 10h AH=1Ch (save/restore VGA state) to handle
    VGA attribute controller properly so that the display is
    not left blank.
  • PC-98 GDC emulation fixed to handle START DISPLAY properly
    by un-blanking the display (fixes "Ellena")
  • Fixed possible format string vulnerabilities (gnustomp)
  • Added menu options to enable/disable EGC and GRCG
    emulation (yksoft1)
  • Added options to enable/disable EGC and GRCG emulation
    (to emulate older hardware).
  • Added PC-98 BIOS function to read 8x16 character bitmaps,
    which fixes "Power Dolls 2"
  • BIOS now reports 16-color and EGC graphics. Some games
    that check the BIOS for capabilities may now begin to
    use 16-color graphics and EGC functions.
  • Added PC-98 INT 18h function to read character font.
    This also resolves garbled text in TH01.
  • PC-98 GDC emulation now uses cursor specification
    (line per character row) to determine whether graphics
    are doubled vertically or not. Several PC-98 games
    switch between 200-line (doubled) and 400-line graphics
    by programming the GDC directly, rather than through
    the BIOS.
  • Added various video-related BIOS variables to the data
    in PC-98 mode.
  • GDC RESET/SYNC debug text updated to indicate which GDC
    is undergoing the RESET/SYNC.
  • Debugger "LOG" command (CPU execution logging) fixed to
    automatically stop logging when the BIOS begins the
    POST routine after system reset. The user who invoked
    "LOG" probably cares more about what happened up to the
    game crash, fault and reset rather than normal BIOS startup.
  • BIOS now properly unmasks the PC-98 cascade IRQ, which
    allows IRQ 8-15 to function, including the mouse (IRQ13)
  • Debugger interface now indicates whether 80386 paging is
    enabled or not at any time.
  • Help text updates to reflect DOSBox-X changes (Shane32)
  • BIOS INT 13h emulation updated to support up to 4 hard
    drives (Shane32)
  • IMGMOUNT and BOOT code cleanup (Shane32)
  • IMGMOUNT RAM drive support: Additional fixes and geometry
    work done, and some hangs resolved (Shane32)
  • CPU emulation fixed to allow setting a breakpoint on
    ANY interrupt of a specific number, not just software
    interrupts. It is now possible to use BPINT to break
    upon hardware (IRQ) interrupts.
  • DOS kernel fixed to drop to the debugger if the MCB
    (memory control block) chain is corrupted, so that
    the corrupted state can be examined. When the debugger
    continues execution, a full restart of the DOS kernel
    is run. If DOSBox-X was compiled without the debugger,
    then the normal E_Exit() path is still taken.
  • Added debugger command to show, and modify, the state
    of the PIC (interrupt controller).
  • Added debugger command to view or change the A20 gate.
  • Added debugger command to view the state of EMS, memory
    handles, allocation, and EMS page frame mapping.
  • Added debugger command to view the state of XMS, memory
    handles, and allocation.
  • Added debugger command to view the layout of the ROM
    BIOS region (0xF0000-0xFFFFF) chosen by emulation.
  • DOS kernel now logs kernel allocations, which can be
    seen in the debugger using the "DOS KERN" command.
  • Added "RUN" command as an alternative to hitting F5.
  • Added "RUNWATCH" to the debugger, so that watching the
    system run in the debugger is possible.
  • Debugger data window can now be used to view memory in
    segmented, virtual (through paging), and physical (bus
    address) modes.
  • Debugger window data and code view windows now indicate
    regions of memory that are beyond the end of the segment.
  • Debugger window data and code view windows now indicate
    regions of memory that are paged out (will cause a page
    fault if accessed)
  • PC-98 A20 gate I/O port F6h fixed to work properly as an
    enable or disable, rather than just an enable. The PC-98
    version of HIMEM.SYS no longer complains about not being
    able to control the A20 gate.
  • IMGMOUNT RAM drive support: Ramdrive bug fixes and changed
    drive limits from ATA limits to BIOS/MBR (Shane32)
  • INT 21h fixed to use BIOS INT 1Ch to read date and time in
    PC-98 mode. Arrowgun now runs properly.
  • Fixed EMS emulation not to claim XMS memory (and zero BIOS
    extended memory size) if EMS emulation is in EMS board mode
    (and therefore not allocating extended memory through HIMEM.SYS).
  • PC-98 INT 1Fh extended memory copy implemented. DOS games in
    PC-98 mode can now use this API to access extended memory.
  • Fixed HIMEM.SYS emulation in PC-98 mode to zero BIOS extended
    memory values when claiming extended memory.
  • PC-98 mode now sets BIOS data area values correctly regarding
    conventional and extended memory.
  • Added rudimentary emulation of non-volatile RAM at the
    trailing edge of text RAM (A3FE0-A3FFF).
  • PC-98 mode now adds additional BIOS data values at boot time
    so that guest OSes like PC-98 MS-DOS can see the floppy drive,
    see keyboard input, and determine the boot drive properly.
    It is now possible to boot MS-DOS in PC-98 mode.
  • Added rudimentary PC-98 INT 1Bh BIOS interrupt, at least for
    floppy disk emulation.
  • Cleanup and formatting enhancements to IMGMOUNT ramdisk (Shane32)
  • DOS CON emulation in PC-98 mode now emulates two additional
    ANSI escapes to clear the screen that are specific to NEC's
    MS-DOS implementation, which fixes text layer problems with
    Rusty.
  • PC-98 GDC dip switch 2-8 emulation fixed. It was backwards.
    This may break existing dosbox.conf configurations, apologies
    in advance.
  • Added -xms option to LOADFIX command. When given, the command
    consumes extended memory instead of conventional memory.
  • HIMEM.SYS emulation fixed to behave more like Microsoft's
    HIMEM.SYS implementation regarding global & local A20 gate
    control.
  • Mac OS X builds fixed to work from the user's home directory
    if run from the Finder, instead of trying to operate at the
    root of the filesystem as directed by the Finder.
  • Mac OS X builds now put the FREECG98.BMP file inside of the
    .app bundle, and fall back to it if not found in the current
    directory.
  • RPM builds now install FREECG98.BMP in /usr/share/dosbox-x
    and refer to it if not in your local directory, in order to
    better provide PC-98 emulation.
  • PC-98 BOOT command: Loading addresses and CPU register layout
    updated to match actual hardware behavior, in which the boot
    sector is loaded at just under 128KB.
  • Build updates to support compiling for Windows with MinGW.
  • BOOT now accepts a --debug switch that causes DOSBox-X to break into
    the debugger when the boot sector begins to execute.
  • BOOT now accepts a --force switch to override the PC-98 lockout,
    if the user wants to better understand why I locked it out in PC-98 mode.
  • PC-98 support now supports reading font from FONT.ROM, if available.
  • Code, data, and output now respond to arrow, page up/down and
    home/end keys as a user would normally expect.
  • Arrow and page up/down keyboard input now goes to active window
    instead of mapping directly to any specific window.
  • Debugger interface now has the concept of an "active" window, and
    the title bar of each window hilights if it is active.
  • Debugger interface now hides the "variables" window by default.
  • Fixed window "titles" in debugger interface to fill the terminal
    line they're on and use ncurses horizontal line character which
    on modern systems looks better than hyphens.
  • Removed one line padding around data window in debugger interface.
  • Debugger interface redesigned to permit more flexible layout
  • Debugger interface no longer crashes when terminal window is sized
    down too small (when there is no room for the output window)
  • EMM386 (ems) emulation fixed to always turn on the A20 gate when
    the DOS application requests to map pages into the EMS page frame.
    This fixes crashes with Creative's Sound Blaster 16 installer when
    run with the A20 gate turned off.