2026.12.01:
- [AI] PCjr: INT 10h AH=05h AL=80h-83h (CRT/CPU page registers) waits for
vertical retrace before it reads or writes port 3DFh, as the IBM PCjr
BIOS does, so a page flip takes effect between frames. Programs that
flip pages this way, such as The Train: Escape to Normandy, no longer
tear on machine=pcjr. machine=tandy still writes 3DFh at once, as the
Tandy 1000 BIOS versions 01.02.00 and 02.00 do. (joncampbell123) - [AI] EGA/VGA: bit 0 of the input status register (port 3DAh) follows
the display enable signal: it is set from the end of the active display
in each line to the end of the line (border, blanking, retrace) and
below the active display, not only during horizontal blanking. In VGA
mode 0Dh blanking ends before the line does, so bit 0 read 0 at the end
of the last displayed line. Commander Keen 4-6 find the start of
vertical blanking by reading bit 0 several times in a row, missed it
every frame, waited for their timeout and changed the start address and
panning in mid-picture, so scrolling stuttered and flickered with
machine=vgaonly. (joncampbell123) - [AI] CPU: a memory access through a null selector in DS, ES, FS or GS
in protected mode raises a General Protection fault, as on the CPU
(with "segment limits", the default). Before, the access went to
linear address 0 and up. Fixes Adobe Photoshop 4.0 and 4.01 under
Windows 3.1 with Win32s: its PSUT16.DLL calls InitTask with ES=0, and
without the fault InitTask returned 0, Photoshop exited while loading,
and Windows exited to DOS. (joncampbell123) - [AI] Investigated: the April 1995 beta of WinDOOM (DOOM II for
Windows, WINDOOM.EXE, a Win32s program) crashing Windows 3.1 when it
is exited, through the Game menu's Exit or through DOOM's own Quit
Game. This is not a DOSBox-X bug: it happens the same way on a real PC
with a Sound Blaster 16 and Win32s 1.30. The beta never stops or closes
its sound output when it exits (its routine that calls waveOutReset
and waveOutClose is never called). Windows 95 closes a program's open
wave devices when it ends, but Win32s on Windows 3.1 does not: it frees
the program's memory, including the 16-bit selectors of its wave buffer
headers, while the Sound Blaster driver keeps playing those buffers. At
the next block interrupt the driver calls Win32s's WINMM16.DLL callback
with a freed header, which causes either "General Protection Fault in
module WINMM16.DLL at 0001:00A0" or, when Windows has already reused the
selector, memory corruption that ends in a black text-mode screen.
Without a sound card (sbtype=none) no wave device is left playing and
the game exits normally. (joncampbell123) - [AI] Paging: a word or dword write that crosses a page boundary checks
both pages before it writes anything, so a page fault on either page
leaves memory unchanged as on the CPU. Before, the bytes on the first
page were already written when the second page faulted, and the
restarted instruction worked on half updated data. Windows XP's loader
relocated a DLL with ADD [mem],reg across a copy-on-write page this way,
which broke Windows Product Activation's integrity check: the first
boot stayed at "Please wait..." instead of showing the Welcome screen.
(joncampbell123) - [AI] CPU: CMPXCHG sets all arithmetic flags (CF, PF, AF, SF, ZF, OF)
as CMP of the accumulator with the destination does, not only ZF, in
the normal, simple, full and dynamic_rec cores (dynamic_x86 already
did for its word and dword forms). (joncampbell123) - [AI] CPU: RDMSR/WRMSR of an MSR the CPU does not have raises a
General Protection fault instead of Invalid Opcode (Invalid Opcode is
left for "enable msr=false"), and so do RDMSR/WRMSR outside ring 0.
MSRs of later CPUs than the CPU type emulated are handled like
undefined MSRs ("ignore undefined msr"). On a Pentium, writes to MSR
8Bh (microcode revision) are ignored and reads return 0: the Windows
XP/Server 2003 microcode update driver UPDATE.SYS writes it on any
Intel CPU without an exception handler, and Windows Server 2003 with
cputype=pentium stopped with STOP 0x7E. RDMSR 10h returns the time
stamp counter. (joncampbell123) - [AI] DOS: the disk I/O delay ("hard drive data rate limit", "floppy
drive data rate limit") follows the MS-DOS disk buffers (BUFFERS=), as
MS-DOS caches disk data without SMARTDRV. Part of a sector is read or
written through a buffer and takes no disk time if the sector is
buffered, whole sectors are transferred directly, and dirty buffers are
written when reused, on close or commit and on disk reset. The new
[dos] setting "disk buffers" sets the number of buffers (-1, the
default, is 15, or 30 for DOS version 7 and later; 0 disables them).
Files created on a FAT drive image now also keep their name, as opened
files do. (joncampbell123) - [AI] Sound Blaster: a DSP reset also resets the time constant used by the
SB/SB Pro playback commands (about 22KHz). It stayed 0, so a program
that played with command 14h before setting a rate got 3906Hz. Blood on
the Floor (1997) times such a block to find the IRQ and DMA channel and
said a Sound Blaster was required (issue #6839). (joncampbell123) - [AI] Added machine=svga_s3virgedx and machine=svga_s3virgegx, the S3
ViRGE/DX (86C375) and ViRGE/GX (86C385). They are emulated like the
ViRGE apart from their IDs: PCI ID 8A01h (CR2D/CR2E 8Ah/01h), CR6F
bit 0 set on the GX, and the BIOS flag CR6C bit 0 set, without which the
Windows 98 S3 ViRGE driver does not start the card (Device Manager code
24). (joncampbell123) - [AI] S3 Trio64V+/ViRGE: in 15/16-bit, 24-bit and 32-bit color modes the
hardware cursor is drawn on top of the Streams Processor overlay, as in
256-color modes and the ViRGE/VX datasheet. Windows 98 XingMPEG uses an
opaque overlay (no color key) when the driver does not report color
keying as free, and the mouse cursor disappeared behind the video.
(joncampbell123) - [AI] S3 ViRGE: the MCLK PLL reads back 40MHz (SR10/SR11 = 43h/36h)
instead of 50MHz. The S3 Windows 3.1 and Windows 98 drivers' overlay
tables allow a 1.0x YUV overlay at 800x600 in 64K colors at 40MHz but
ask for 1.5x at 50MHz, which made XingMPEG play at half width in
Windows 3.1 and without the overlay in Windows 98. (joncampbell123) - [AI] S3 Trio64V+/ViRGE: the VGA registers 3B0h-3DFh can also be
accessed at MMIO offsets 83B0h-83DFh, as in the ViRGE/VX datasheet;
only 83D4h, 83D5h and 83DAh were decoded before. The Windows 98 ViRGE
driver (S3V.DRV) reads SR18 and the MCLK PLL through 83C4h/83C5h when
it decides whether to offer the DirectDraw overlay, and got FFh, so
it never offered one and XingMPEG played without the YUV overlay.
(joncampbell123) - [AI] S3 Trio64V+/ViRGE: in 256-color modes with the Streams Processor
on (CR67 bits 3-2 = 11), the hardware cursor colors are 24-bit RGB
from the color stacks instead of palette indexes, as the cursor is
overlaid on the Streams Processor output. The Windows 3.1 driver writes
FC FC FC for white then, and the cursor turned blue while XingMPEG used
the overlay. The X11 cursor mode in 256-color modes now looks up the
palette instead of drawing the raw stack bytes. (joncampbell123) - [AI] S3 Trio64V+/ViRGE: the Streams Processor draws a YUV secondary
stream (video overlay) over a 15/16-bit desktop too, not only over a
256-color one. XingMPEG on the Windows 3.1 ViRGE/VX driver in 64K
colors showed only the magenta color key. (joncampbell123) - [AI] S3 Trio64V+/ViRGE: the secondary stream's horizontal scaling
follows the datasheet DDA (K1 = W0 - 1, K2 = W0 - W1, accumulator
2(W0 - 1) - (W1 - 1)) and no longer reads past the end of the source
line, which showed as a green column at the right edge of XingMPEG's
video. A YUV overlay is also drawn over 24bpp and 32bpp desktops.
(joncampbell123) - [AI] S3 ViRGE/ViRGE VX: CR67 color mode 1101b is 24-bit color as in the
ViRGE/VX datasheet, and on the VX 0010b and 0100b are 15 and 16-bit
color. The VESA BIOS writes 1101b for its 24bpp modes on these cards.
(joncampbell123) - [AI] S3 ViRGE/ViRGE VX: the Memory Port Controller (MM8200-MM820C), DMA
(MM8220-MM8224, MM8580-MM8588) and LPB (MMFF00-MMFF5C) registers read
back what was written, or their datasheet power-on defaults, instead
of 0xFFFFFFFF. The LPB FIFO status reports empty FIFOs and the serial
port reports the DDC lines. The Windows 3.1 ViRGE/VX driver
read-modify-writes some of them when XingMPEG starts the overlay.
(joncampbell123) - [AI] S3 ViRGE/ViRGE VX: the MCLK PLL (SR10/SR11) reads back its 45MHz
power-on value instead of 0. The Windows 3.1 S3 DCI library sizes the
overlay source from MCLK, and on the ViRGE/VX XingMPEG drew its video
at a fraction of the window width for the overlay to stretch back.
(joncampbell123) - [AI] S3 ViRGE/ViRGE VX: the VESA BIOS mode set takes the refresh rate
from the S3 BIOS refresh flags in CR52/CR41, coded as the Windows 3.1
S3VIRGE.DRV REFRESH= setting writes them, instead of always 70Hz, and
no longer overwrites those flags. The defaults give 60Hz at 640x480
and 800x600, 70Hz at 1024x768 and 85Hz at 1280x1024. The plain ViRGE
reports 1-cycle EDO memory and a 50MHz MCLK (SR10/SR11 = 40h/1Ah).
S3's Windows 3.1 DCI library picks the video overlay's horizontal
decimation from refresh, memory type and MCLK; XingMPEG in 800x600
64K colors drew its video at half width at 70Hz. (joncampbell123) - [AI] S3 ViRGE/VX: CR36 and CR37 report the video memory as the VX
encodes it (CR36 bits 6-5 the size, 2 to 8MB, CR37 nothing reserved
off-screen), instead of the older S3 values that the VX reads as 2MB
with 4MB reserved. The Windows 3.1 S3VIRGE.DRV driver computed a
negative memory size from them and Windows exited to DOS when it
started, and the Windows 98 S3V.DRV driver wrapped it around to 62MB
and ended in a Windows protection error in 640x480 256 colors.
(joncampbell123) - [AI] DOS: an FCB random block write of no records (INT 21h AH=28h with
CX=0), which sets the file size, stamps the file with the time of day
from INT 1Ah as an FCB write does, instead of keeping its old time.
(joncampbell123) - [AI] DOS: COPY, DEL, TYPE, ATTRIB, TRUENAME, CD, MD, RD, DIR and
REN answer MS-DOS's message on a drive that is not mounted, "Invalid
drive specification", and ATTRIB its "Path not found - ",
instead of the path they cannot reach; CD keeps the mount hint it
prints at the Z: prompt. (Optimiza) - [AI] DOS: a divide error ends the program as MS-DOS ends it, with
"Divide overflow" on the console, instead of running the instruction
that divided again for ever. XCOPY to a drive that is not mounted
filled the emulator's log until the run was killed. (Optimiza) - [AI] DOS: a find call leaves the state of another search as MS-DOS
6.22 and 7.10 do: a FindFirst that finds nothing leaves the DTA as it
was, a long name search and an AH=0Fh open by wildcards write nothing
into the program's DTA, an FCB search keeps its state in the program's
FCB, the DTA template is padded with spaces and read byte for byte, and
the search number a CD image's search takes from the DTA is checked.
(Optimiza) - [AI] DOS: a search for the volume label that finds none gives back its
slot of the search table, so repeating it no longer ends the other
searches in progress. (Optimiza) - [AI] DOS: a search for one exact name no longer copies the whole
folder, and a search whose DTA a program saved, restored and edited
goes on as MS-DOS's does. (Optimiza) - [AI] LABEL, VOL, TREE, CD, IMGMAKE and START no longer end the emulator
on a drive that is not mounted. (Optimiza) - [AI] DOS: a CD image answers a search as MSCDEX does: its files and
directories carry the attributes MSCDEX gives them, the label comes only
to a search for the label alone, a missing directory answers error 2, and
a path that ends in a backslash is read as a directory. (Optimiza) - [AI] DOS: INT 21h function 4Eh and the label and root searches of a host
folder, an overlay drive and a zip drive answer as MS-DOS 6.22 and 7.10
do: error 3 or 18 where DOS gives them, no "." and ".." in a root, and
a find next after a search for the label alone lists no file. (Optimiza) - [AI] DOS: creating, deleting or renaming a file or directory on a
local drive edits the folder's cached listing instead of emptying it,
and the short names of the other files stay as they were. (Optimiza) - [AI] CPU: the x86 dynamic core keeps its code page handlers when it
resets its code cache. Each reset leaked the handlers on the free list,
about 6 MB for every protected-mode program started on Windows. (Optimiza) - [AI] DOS: on Windows, changing a file's attributes no longer empties
the folder's directory cache, so the next search does not read the whole
folder from the host again. (Optimiza) - [AI] DOS: a host or archive path longer than the 512 bytes a drive
builds it in, and a mount path of 240 bytes or more, no longer overrun the
stack. The drive answers path not found, MOUNT refuses a path it cannot
hold, and a 255-character long name leaves room for its terminator.
(Optimiza) - [AI] DOS: the first read of a large host folder no longer compares every
name with every other: 169,000 files are read in under a second instead
of minutes. (Optimiza) - [AI] DOS: each entry of a mounted folder gets a short name of its own,
and each short name opens its own file, as NTFS guarantees. Where two
entries shared a short name, some aliases change once. (Optimiza) - [AI] DOS: a 4Eh search whose DTA another FindFirst reuses, or whose
child process ends, is kept (up to eight per DTA), so programs that save
and restore the DTA, or let a child search for them, continue as on
MS-DOS. (Optimiza) - [AI] INT 10h: MDA and Hercules start in video mode 7. The screen stayed
black with -fastlaunch on machine=mda and the hercules machine types.
(joncampbell123) - [AI] DOS: the System File Table in memory has the entry layout of the
reported DOS version (DOS 2.x, 3.0, 3.1-3.3 and 4.0+ differ in entry
size and where the name is) and follows "ver set". Fixes DOS programs
run in a window under Windows 1.x with DOS 3.x reported: the window
stayed empty, and a DOS program in WIN.INI run= hung Windows at
startup. (joncampbell123) - [AI] DOS: INT 21h AH=53h (translate BPB to DPB) fills in the DPB from
the BPB in the layout of the reported DOS version, instead of exiting.
On IBM PC compatibles the DOS kernel copies the diskette parameter table
to 0000:0522 and points INT 1Eh there, as MS-DOS does, so that programs
can change it; BOOT points INT 1Eh back at the BIOS table. Fixes the
floppy install of Windows 1.01, which needs "ver set 3 30" as its SETUP
reads the DOS 3.x DPB layout. (joncampbell123) - [AI] BIOS: INT 13h AH=15h reports a 360K-class floppy drive as having no
change line, as on the PC/AT (720K, 1.2M, 1.44M and 2.88M drives have
one). Windows 1.01 SETUP formatted 360K disks as 1.2M. (joncampbell123) - [AI] CPU: a far CALL or JMP through a 386 call gate keeps the gate's
32-bit target offset when the instruction itself is 16-bit (only a 286
gate truncates it to 16 bits). A page fault on the new stack while a
call gate switches privilege now aborts the CALL with the old CS:EIP and
SS:ESP, so the guest restarts it, as on real hardware. Fixes OS/2 2.0
setup crashing with TRAP 000E, and then with a stack fault in a ring 2
routine. (joncampbell123) - [AI] CPU: the CMOS shutdown 09h return (INT 15h block move, the 286
reset trick) pops DS before ES, as the IBM PC/AT BIOS frame has them.
Fixes OS/2 1.0 leaving the keyboard interrupt masked during boot, so
that Enter could not be pressed at the installation prompt.
(joncampbell123) - [AI] BIOS: the number of hard disks at 40:75h follows the attached hard
disk images instead of always being 2 (the DOS shell keeps 2 when no
hard disk image is attached). Fixes OS/2 2.0 FDISK crashing with a
divide error on a phantom second disk. (joncampbell123) - [AI] BIOS: a jump to the INT 1Ah handler at F000:FE6E, the fixed IBM
PC/AT entry point. The IRQ 0 handler reaches the BIOS data area through
segment/selector 40h, as BIOS code does, so a protected mode OS can call
it. Fixes OS/2 Warp 3 hanging at startup in an STI/JMP loop after
calling the PCI BIOS through that entry point. (joncampbell123) - [AI] Floppy: the "empty" swap list entry is a drive with no disk for
the floppy controller too (the disk change line stays active, reads
fail). BOOT clears the disk change line of floppy drives with a disk in
them, as the BIOS POST seek does, also when booting from the hard disk.
Fixes OS/2 2.0 not reading the floppy drive after booting from the hard
disk. (joncampbell123) - [AI] CD-ROM images: multisession CUE sheets (REM SESSION) and CloneCD
images (data discs with added sessions, Enhanced CDs). The ISO drive and
MSCDEX use the last session's file system, and ATAPI READ TOC returns
the real last session (format 1) and the full TOC (format 2). Fixed the
CloneCD lead-out position and Mode 2 tracks. (joncampbell123) - [AI] DOS: the Swappable Data Area is where programs written for the
reported DOS version expect it. While DOS reports 3.10 to 3.39 it is at
offset 02CEh of the List of Lists segment (current PSP at 02DEh) as in
MS-DOS 3.1-3.3, otherwise at the DOS 4+ location (current PSP at 0330h).
Fixes Windows/286 2.11 crashing at startup with memory corruption
("Corrupt MCB chain") when DOS reports version 3.x, e.g. "ver set 3 30".
(joncampbell123) - [AI] IDE: the ATA and ATAPI commands up to ATA8-ACS. The hard disk has
SMART (attributes, self-tests, error and self-test logs), General Purpose
Logging, SCT Command Transport, Host Protected Area, Device Configuration
Overlay, Security (SECURITY ERASE UNIT erases the disk image), Streaming,
NV Cache, Trusted Computing, DOWNLOAD MICROCODE, WRITE UNCORRECTABLE,
READ/WRITE LONG, APM, AAM and the SET FEATURES subcommands of every ATA
standard. Long fills such as a security erase run in the background at
the drive's speed. The CD-ROM has more MMC commands (PLAY AUDIO(12), PLAY
AUDIO TRACK/INDEX, SCAN, READ HEADER, GET PERFORMANCE, SET STREAMING,
VERIFY, LOAD/UNLOAD MEDIUM and others) and GET MEDIA STATUS.
(joncampbell123) - [AI] IDE: added [ide, primary] "pci bus master" (none, piix3, piix4): a
PCI bus master IDE function (Intel PIIX3 or PIIX4) for DMA transfers,
with the ATA DMA commands and ATAPI PACKET with DMA. The BIOS sets up
the drives for DMA as Windows 9x expects, and the channels are not also
listed as ISA PnP devices. Default none (needs the PCI bus).
(joncampbell123) - [AI] IDE: added [ide, *] "ata standard" (auto, ata1 ... ata8): the IDE
devices follow that ATA standard's commands, features, IDENTIFY data and
transfer modes. auto is ata8 with the PCI bus, ata3 without.
(joncampbell123) - [AI] IDE: the hard disk takes the time a real drive takes to seek, wait
for the sectors to come around and read or write them, with read-ahead,
a write cache and spin up/down for the power management commands. The
CD-ROM has tray, spin up/down, seek and read times (CLV/CAV), Media
Change Notification and tray locking, and READ CD returns every sector
format and field. INT 13h and PC-98 INT 1Bh hard disk access go through
the same drive model. Added [ide, *] options "hard disk instant mode",
"hard disk rpm", "hard disk spinup time", "cd-rom instant mode",
"cd-rom max speed" and "cd-rom tray time". Fixed IMGMOUNT to an IDE
device spec (":ide:2m"), which never got the image file.
(joncampbell123) - [AI] Floppy: the drive takes the time a real one takes (motor start,
seek, head settle, sectors turning past the head) for the FDC and INT 13h
alike, with [fdc, primary] "instant mode" to turn the delays off. PC-98:
uPD765 floppy interface with ID field level tracks (copy protection), and
INT 1Bh floppy access on the same drive model. (joncampbell123) - [AI] KVM CPU core: 256-colour VGA (mode 13h) games run at full speed:
the guest writes video memory directly instead of every write going
through DOSBox-X (Quake's timedemo went from 45 to over 200 fps).
Programs start about a quarter of a second sooner, palette loads and
the I/O delay port no longer stop the guest on every write, and calls
into DOSBox-X are a little cheaper. The log at exit lists the I/O ports
the guest used most. Tested with DOS/32A, PMODE/W, CauseWay, CWSDPMI and
HDPMI32 programs, Quake, Spycraft and a Linux install CD.
(joncampbell123) - [AI] KVM CPU core: Windows 3.0 and 3.1 run in standard and 386 enhanced
mode, and Windows 95 boots and runs. Fixed DOS/4GW crashing now and then
(a triple fault) without EMM386, and a VESA bank switch now and then
sending the guest into the BIOS boot failure stub. (joncampbell123) - [AI] KVM CPU core: faster. Video memory writes no longer stop the guest
one by one, banked VESA modes and the linear framebuffer are mapped into
the guest directly, and calls into DOSBox-X (DOS, BIOS) take about half
the time. Time that KVM itself spends going into and out of the guest is
no longer counted as guest time, so programs that use video memory or
I/O ports a lot no longer crawl at low fixed cycle counts. On PC-98 the
fourth graphics plane is handled like the others. (joncampbell123) - [AI] Video memory is allocated page-aligned. (joncampbell123)
- [AI] Experimental KVM CPU core for Linux on x86-64 (configure with
--enable-kvm, set [cpu] core=kvm): the guest runs with hardware
virtualization instead of an emulated CPU. Real mode, virtual 8086 mode
(EMM386) and DOS/4GW protected mode programs run. Emulated time follows
the host time the guest runs, so cycles=max leaves time for the emulated
hardware and a fixed cycles count throttles the guest. It falls back to
the emulated core, saying why in the log, when the INT3 callback prefix
is off, the CPU type is below 386, or KVM is not available. The debugger
runs the guest on the normal core while it steps or has breakpoints that
need every instruction. See KVM-TODO.md for the status. (joncampbell123) - [AI] Fixed the display never starting when the VGA was first set up
before the VGA BIOS set a video mode. (joncampbell123) - [AI] Fixed the RTC reporting an update in progress for the whole first
second after a reset, which made anything that waits for the update to
end wait up to a second. (joncampbell123) - [AI] The console monitor now follows "monitor socket": empty or off (the
default) starts no monitor, on is port 4444, a number is a TCP port, and
on Linux a path is a Unix socket. It used to listen on TCP port 4444 on
all interfaces whatever the setting. Over TCP it now accepts only
connections from the same computer. Fixed crashes when the port was in
use (several instances at once), and the Unix socket monitor, which never
worked. (joncampbell123) - [AI] Debugger: RUN, RUNWATCH and STEPIN, and the RPC agent's step, now run
the callback of the instruction they step past. They skipped it before,
so for example RUN at a breakpoint on a DOS call lost the call.
(joncampbell123) - [AI] Debugger: the "Start DOSBox-X Debugger" menu item and the debugger
hotkey are a toggle again: stopped in the debugger, they leave it and
resume. (joncampbell123) - [AI] Debugger: callback instructions with the INT3 prefix are shown as one
callback instruction, and breakpoints on them work. (joncampbell123) - [AI] Debugger: MEMMAP shows the physical memory map (RAM, ROM, devices)
and its recent changes, and CPUSTATE shows the complete CPU state.
(joncampbell123) - [AI] Fixed save states: the Vga part of every save state was written with
a bad CRC, so loading any save state failed. An empty write with a NULL
pointer reset the CRC of the file being written in the zip. (joncampbell123) - [AI] Added [cpu] "callback int3 prefix" (auto, true, false) to write the
DOSBox-X callback instructions with an INT3 in front of them, as a CPU
core using hardware virtualization (KVM) will need. auto writes it if the
CPU core is set to kvm. It takes effect when DOSBox-X starts. All the
emulated CPU cores run either form, and other INT3 instructions still go
to the guest. (joncampbell123) - [AI] Save states record the callback instruction encoding, and a save
state with the other encoding is refused with an explanation, because its
memory holds callback instructions the session cannot run. Save states
from before this are the plain encoding. (joncampbell123) - [AI] 3Dfx Metal hardware rendering support on macOS, with output=metal
and voodoo_card=metal or auto. (joncampbell123) - [AI] Metal output (and its 3Dfx hardware rendering) now works in SDL1
builds, with Metal support added to the in-tree SDL 1.x. SDL1 macOS
builds now use the usual RGBA order instead of the backwards PowerPC
order where macOS supports it. (joncampbell123) - [AI] Fix crash with output=metal when the 3Dfx is emulated in software:
the Metal output did not resize its frame buffer for the 3Dfx video mode.
(joncampbell123) - [AI] 3Dfx direct3d11 hardware rendering support. (joncampbell123)
- [AI] 3Dfx direct3d hardware rendering support. Log will now say "cannot
find DLL" if Direct3D9 is not available. (joncampbell123) - [AI] 3Dfx software emulation now supports multithreading so that if that
is all you have, performance isn't so terrible anymore. (joncampbell123) - [AI] 3Dfx hardware rendering now supports OpenGL and Vulkan APIs. (joncampbell123)
- [AI] 3Dfx emulation will now render to texture, and then render the texture
to the DOSBox-X window, so that it can minimize conflicts with the DOSBox-X
UI, fit within the display region properly, and by default, can render at
the video resolution the 3Dfx card is set at, though those used to how
DOSBox renders at the window resolution can ask for that too. (joncampbell123) - [AI] Fix OpenGL rendering issues. Fix 3Dfx emulation to either share
OpenGL context (SDL1) or use a different OpenGL context (SDL2). (joncampbell123) - [AI] Add Vulkan support. Add Vulkan output driver. Add Vulkan support
to SDL1. Add Wayland support to SDL1. (joncampbell123) - [AI] RPC agent end CPU trace on stop, terminate the DOS process, and
sub processes. Handle RPC agents that exit themselves. (joncampbell123) - [AI] Add headless mode for DOSBox-X so AI agents can use DOSBox-X as a tool
to verify DOS/Windows code or to run tools without interfering with the
screen. (joncampbell123) - [AI] Fixed RPC debugger agent to compile on Linux, added Linux support code.
Add option to prompt or not prompt for a folder.
(joncampbell123) - Fixed code bug that only enabled EXEPACK handling for OSFREE builds.
EXEPACK handling works again. (joncampbell123) - Voodoo (OpenGL): Triangles and fast fills are now clipped to the clip
rectangle. A screen smaller than the Voodoo mode (320x240 centred in a
Voodoo Graphics 512x384 mode) was drawn across the whole mode.
(ali-mosavian) - macOS: Switching to full screen or zooming the window with output=opengl
no longer garbles the picture (the image sheared into several copies with
video memory junk below). The window surface DOSBox-X also uses on the
OpenGL window is drawn by a GL renderer of SDL's own, which left its
context current and GL_UNPACK_ROW_LENGTH at the window width. The OpenGL
output now restores its context and the unpack state before setting up
and uploading. (risenowrise) - PC-98: INT 18h AH=1Bh (set KCG access mode, AL=0 code, AL=1 dot) is now
handled instead of being logged as an unknown call. It sets the same
dot access mode as port 68h commands 0Ah/0Bh and bit 3 of AH=0Ah, and
updates bit 3 of 0000:053Ch so AH=0Bh reads it back. Policenauts calls it
at startup. (mattkanwisher) - DOS: DOS_CheckExtDevice() no longer loops forever when the chain of device
headers in guest memory is damaged or never closed (the CON header was found
zeroed while DOS Navigator was running, and every FindFirst then hung the
emulator). (unxed) - DOS: Added the INT 2Dh (AMIS, Alternate Multiplex Interrupt Specification
3.6) interface and the first provider, "DOS-UTF8" "CLIPBRD": a DOS program
can ask (AL=10h BX=65001) that the text of the DOS clipboard API (INT 2Fh
AX=17xxh, formats CF_TEXT and CF_OEMTEXT; needs "dos clipboard api=true")
be UTF-8 instead of the OEM code page, so that characters outside the code
page are not lost on the way. The mode belongs to the calling process and
ends with it. Specification: docs/UTF8CLIPBOARD.md in github.com/unxed/go2dos,
which implements the same interface. (unxed) - DOS: Added the option "utf8 file names" to [dos]. A host file whose name has a
character that the DOS code page lacks is no longer hidden: the character
is shown as "{U+XXXX}" (its code point in hexadecimal), and such a name can
be opened, created, renamed and deleted (the escape is turned back into the
character on the host). A DOS program that knows UTF-8 can also ask for
UTF-8 long file names (INT 21h AH=71h) for itself with the AMIS provider
"DOS-UTF8" "NAMES" (AL=10h BX=65001); short names stay ASCII/OEM, the case
tables 6502h/6504h are the identity on 80h-FFh, invalid UTF-8 in a name is
error 2. Specification: docs/UTF8NAMES.md in github.com/unxed/go2dos. (unxed) - BOOT: Added option to mount 'Empty' floppy/CD-ROM drives in advance if no
floppy/CD-ROM drives are mounted. (maron2000) - Added support for cycling disk images in reverse order.(maron2000)
- FPU: Consolidated remaining x87 instruction handling across the normal,
long-double, and native-x86 FPU backends. Improved denormal, exceptional
value, rounding, remainder, integer-store, and stack behavior, and removed
the legacy backend-specific FPU instruction headers. (cimarronm) - Debugger: Fixed MEMDUMP and MEMDUMPBIN wrapping around at segment
boundaries. (cimarronm) - FPU: Consolidated remaining x87 instruction handling across the normal,
long-double, and native-x86 FPU backends. Improved denormal, exceptional
value, rounding, remainder, integer-store, and stack behavior, and removed
the legacy backend-specific FPU instruction headers. (cimarronm) - DOS: Fixed FAT volume label searches (INT 21h AH=4Eh) returning a stray
'.' and padding for labels of 8 characters or fewer. (cimarronm) - Fixed typing Shift + A by removing mapping Shift+A to MuteAWE function.
(maron2000) - FPU: Wired FISTTP into the dynamic x86 and dynrec CPU cores. (cimarronm)
- Fixed MEMDUMP and MEMDUMPBIN parsing to reject invalid or missing required
arguments and correctly use the default filename when omitted. (cimarronm) - macOS: Added resource path candidates considering Homebrew and Macports.
(maron2000) - Improved SoundFont discovery and path handling. (maron2000)
- D3D11: Fixed window resizing (maron2000)
- FPU: Added unmasked x87 numeric exception delivery (#MF when CR0.NE is
set, IRQ 13 otherwise), enabled IRQ 13 on FPU-configured PC resets,
and suppressed writes/pops after unmasked pre-commit exceptions. Dynamic
FPU cores deliver them too with the dynamic_x86 core switching between
its host-FPU fast path and generic handler depending on guest exception
masks. (cimarronm) - FPU: Dynamic CPU cores now always handle x87 and MMX instructions;
removed the "use dynamic core with fpu" configuration setting. (cimarronm) - Added support for commands to be sent over a TCP network connection and
system information to be read. Utility is called Monitor and can be enabled
in the [dosbox] section of the .conf. (DieSkaarj) - Debugger: Fixed the command-prompt cursor not being visible when moving
within a command line. (cimarronm) - INT 13h: Moved the INT 13h handler into its own source file and refactored
CHS (AH=02h) and EDD (AH=42h) reads. Floppy CHS transfers now honor disk
base-table sector sizes through 8 KiB, padding or truncating image data as
needed and reads transfer data on sectors designated with a CRC error. This
improves compatibility with a range of copy-protected disk images. (cimarronm) - Direct serial: Refactored platform backends and fixed POSIX device-path,
error-marker, break-state, and setup failure handling, and Windows write
failure handling. (cimarronm) - Direct serial: Fixed the multiplier setting to configure the host serial
port at the multiplied baud rate. (cimarronm) - D3D11: Fixed hardware scaling in CGA (maron2000)
- Fixed startup crash on macOS 10.9 when building menu (maron2000)
- Microphone input: Prefer the default capture device (maron2000)
- debugger: Added synchronous STEPIN single-step command (MnHebi)
- debugger: Added bounded read-only MEMREAD command (MnHebi)
- Feature: Send Commands Through Host Socket, Console Monitor (DieSkaarj)
- cmos: Fixed RTC date skipping the last day of every month and all of
December (maron2000) - Fixed directory size reported by FindFirst/FindNext (maron2000)
- Extended Functionality of Monitor (DieSkaarj)
- Fixed build error on gcc due to a missing header (gojun077)
- Parallel port: The LPT DOS device now reports end of input for all
backends, fixing programs such as dBase IV that hang when printing to
LPT1 because they poll input status and read zero bytes forever.
(cimarronm) - FindNext: Fix filtering of hidden and system files. (maron2000)
- Fixed DOS_OpenFileExtended() handle leak on existing files. (maron2000)
- Fixed FCB renaming using wildcards. (maron2000)
- INT 21h AH=41h; Fixed deleting read-only files. (maron2000)
- bios.cpp: Fixed DOS/V detection (AH=49h, 50h) (maron2000)
- Fixed FCB find first/next (AH=11h/12h) aborted when FCB delete
(INT 21h AH=13h) executed in between. (maron2000) - CPU: dynamic_x86: MMX opcodes with a 66/F2/F3 prefix go to the normal core.
(unxed) - CPU: SSE2 (opt-in "enable sse2"), and optionally cputype=pentium_4 (unxed)
- Fixed bug with detection of GUS of official 4.11 driver. (firevaran)
- Added MIDI port emulation for GUS. (firevaran)
- DOS_OpenFile: Fixed FCB open incorrectly updating PSP JFT (maron2000)
- MSCDEX: Fixed BUSY status for paused audio playback (maron2000)
- Fixed 8087 FPU control word reset value (cimarronm)
- Change workaround for the dynamic core (henk717)
- drive_local: Fixed handles on the same file not seeing each other's writes
(wleeaf) - FPU: Save x87 instruction/data pointers and opcode in FSTENV/FSAVE and
FXSAVE state after unmasked exceptions, including 8087, 80287, and 80387
environment layouts. (cimarronm) - Handle empty pipe temporary filenames safely (maron2000)
- Fixed behavior of redirection and pipe handling to match PC-DOS (maron2000)
- dynamic_x86: Fixed MMX shift by immediate after self-modifying code
(maitchison) - Respect the NMI mask during PIC interrupt delivery (tbullock)
- Fixed double fault detection during exception delivery (tbullock)
- Fixed the 286 EXT bit during exception delivery (tbullock)
- Fixed build error due to HAS_LONG_DOUBLE macro definition (pkubaj)
- PC-98: Fixed 12-bit analog palette conversion to 24-bit due to converting
from 4 -> 6 -> 8-bit to 4 -> 8-bit directly to avoid conversion errors.
(SergioMartin86, maron2000) - Fixed misplaced text underline in 20-line mode (SergioMartin86, maron2000)
- Fixed turbo option remained true even after it is stopped (maron2000)
- FPU: Clear the C2 status flag before FPREM/FPREM1 input checks so an
early return does not leave a stale incomplete-remainder status. (cimarronm) - FPU: Fixed x87 underflow reporting for inexact tiny results that round to
the minimum normal IEEE floating-point value. (cimarronm) - DOS: Place the CON device header before the list of lists to prevent
Quarterdeck Manifest from hanging at startup. (cimarronm) - DOS: INT 21h AH=67h (set handle count) now follows MS-DOS 4.0. It no longer
uses up the private memory area on every call and it returns an error if
memory is short or open handles would be dropped. (cimarronm) - Fixed Fullscreen Switching of Internal Voodoo Emulation (DieSkaarj)
- NE2000: do not complete an in-flight transmit early when TXP is rewritten
(johnhomelan) - Enabled CR0.TS during task switch (tbullock)
- Fixed redirection in batch file broke redirection of command.com
(maron2000) - CPU: FXSAVE/FXRSTOR now raise #NM for CR0.EM/CR0.TS, and LDMXCSR/STMXCSR
raise #UD for CR0.EM and #NM for CR0.TS. (cimarronm) - DOS: Ensure Ctrl+C/INT 23h handling clears temporary state when interrupted
by an emulator control signal, preventing later termination errors.
(cimarronm) - Bump mt32emu to ver.2.8.6 (maron2000)
- DOS: Resolve actual SFN aliases when storing a child executable path in its
environment from an LFN path. (cimarronm) - DOS: INT 21h AH=56h now returns path not found when the destination
directory does not exist. (cimarronm) - Windows: Fix Ctrl+Break wasn't recognized (maron2000, zhro)
- Fixed Ctrl+C and Ctrl+Break handling for CON input (maron2000)
- Fixed Ctrl+C handling for redirected STDIN in AH=08h (maron2000)
- DOS: Fixed memory corruption in INT 2Fh AX=1611h by returning shell parameter
pointers rather than writing to caller-provided addresses. (cimarronm) - DOS: Fixed Windows 3.1 MS-DOS Prompt locking when traversing the device
chain. The synthetic CON header remains after DOS kernel structures while
a lower-segment alias preserves compatibility with Quarterdeck Manifest.
(cimarronm) - macOS: Fixed first character dropped in newline of dialog (vasco9244,
maron2000) - Fixed CHOICE /T timeout handling and syntax validation (maron2000)
- Fixed image file lock inheritance during reboot (maron2000)
- Remove UTF-8 characters from .conf file (maron2000)
- DOS: Fixed buffered console input (INT 21h AH=0Ah) so Backspace erases the
complete visual expansion of a preceding tab (cimarronm) - FCB: Align timestamp calculation and add INT 1Ah handling (maron2000)
- Voodoo OpenGL: clip triangles and fast fills to the clip rectangle
(ali-mosavian) - Fixed read-only file creation on Windows and POSIX hosts (zhro)
- Fixed legacy DTA memory corruption during LFN FindFirst (zhro)
- Added missing delete[] to avoid memory leak (maron2000)
- CHOICE: Fixed error message to match genuine MS-DOS (maron2000)
- Fixed Ctrl+C handling in INT 21h/AH=08h and termination status in AH=4Dh
(zhro) - Release directory search cache after it is not required (maron2000)
- Make background CPU cycle throttling configurable (zhro)