github dividebysandwich/rust-dos v1.9.5
1.9.5

2 hours ago

What's Changed

Kudos to our bug reporters

Big thanks for their reports and requests to:

  • @xttx: Prince of Persia 3D
  • @Ric-82: Star Trek: Deep Space Nine: The Fallen in RetroArch
  • JeffGreenTraveled: Memphis Math, Men in Black, Where in the U.S.A. Is Carmen Sandiego?, GeoSafari and Age of Empires Gold
  • skedarwarrior: Westwood's Monopoly and Sorry!
  • Calypso64Tar: Diablo

Highlights

A printer for Windows games

The built-in Windows has a printer. Windows programs print to it as they would to a printer on Windows 98, through the Print and Print Setup dialogs or straight to the printer, and each page goes to the [printer] output: a PNG picture, a page of a PDF document, or the host's printer. The printer is there unless [printer] output=none. GeoSafari Animals' Print button in the glossary now prints, where the game crashed.

Added by @kibertoad in #2586 and #2613

Arial, Times New Roman and Courier New following more accurate outlines

The built-in Windows drew these fonts from the VGA ROM's glyphs squeezed into Windows' widths, which dropped strokes: Memphis Math showed "Mulliply lo make an equivalenl fraclion.". They are now drawn from Windows' own font files where the machine has them, on the emulated C: or in the host's fonts folder, and from the bundled Liberation fonts where it doesn't. The new win32_fonts setting in [emulator] picks where to look: auto (the default), liberation, or a folder. Text keeps Windows 98's widths with any of them. The System font is drawn from Wine's System glyphs, so Memphis Math's score shows its digits, where they were blobs.

Added by @kibertoad in #2287 and #2358 and #2282

Movies in Windows 3.1 games

The built-in Windows has Windows 98 SE's 16-bit Video for Windows (AVIFILE and MSVIDEO), and 16-bit COM starts the in-process servers a program registers, so Civilization II plays its intro and gets to its menu, where it quit with "possible problem with your video setup". Installable MCI drivers load from SYSTEM.INI, so Outpost plays its FLC films through Autodesk's driver, where it skipped them all.

Added by @kibertoad in #2328 and #2302 and #2226

The ToadForce on the GPU in RetroArch

The libretro core draws the ToadForce with RetroArch's OpenGL, as the rust-dos program does, where it drew every triangle on the processor. Star Trek: Deep Space Nine: The Fallen at 1280x1024 in 32 bits runs at about 58 frames a second, where it ran at 42 to 48, and RetroArch uses 70 to 74% less processor time; GLQuake's timedemo on the ToadForce goes from 45.7 to 60.0 fps.

Added by @kibertoad in #2659

24- and 32-bit Windows desktops

win32_depth takes 24 and 32 beside auto, 8 and 16, for a True Color desktop on the built-in Windows. A card without the depth asked for takes its own True Color depth and says so in the log: the Voodoo3 and Banshee give 32 bits for 24, as 3dfx's driver has no 24-bit desktop.

Added by @kibertoad in #2318

Hardware emulation

Timing and speed

  • Recompiler: dwords stored into a Voodoo Graphics' or Voodoo2's registers go straight to the card (Redguard's ship fight at cycles=max 9% faster on the mean of three pairs; Screamer 2's races take the same path) by @kibertoad in #2279
  • cycles=auto: a step up that the host ran on time outlasts a short burst of late frames (Redguard's ship fight no longer falls back to the speed where it draws 39 frames a second) by @kibertoad in #2320
  • Voodoo software renderer: triangles whose first texture unit ignores the second draw with one unit, with fast paths for Rage Rally's and Redguard's states (Rage Rally 4.8% more frames a second where the host is the limit, and 11% less processor time at its 60 fps cap) by @kibertoad in #2347 and #2356
  • Recompiler: writes into seven ToadForce surfaces kept ahead are noted in place, where four were (Nocturne's lighting pass from 35.95 to 41.24 fps) by @kibertoad in #2346
  • Recompiler: a Voodoo3's shown desktop is written directly (Rage of Mages with the OpenGL renderer at 450,000 cycles keeps real time at 52 fps, where it fell behind at 25) by @kibertoad in #2274
  • Banshee and Voodoo3 with the OpenGL renderer: translated code reads and writes a locked surface's pages directly once the card says they need nothing else (Enemy Infestation's credits) by @kibertoad in #2255
  • ToadForce OpenGL: each run's draws go to the GPU when the run ends (Evil Islands' cursor read-back takes about 0.29 ms less a frame) by @kibertoad in #2259
  • Recompiler: a shift whose count the program writes into the code reads it in place (Witchaven's walls no longer leave the translated code about 1.8 million times a second) by @kibertoad in #2248
  • Built-in Windows: TlsGetValue, TlsSetValue, GetLastError and SetLastError run as Windows 98's own code in the translated program (Adrenix's menu called TlsGetValue 5 million times in 30 s, each a trip out of the program) by @kibertoad in #2250
  • Windows: the rust-dos program allocates with mimalloc (Soldier of Fortune II's helicopter fight from 45.28 to 48.63 fps, +7.4%) by @kibertoad in #2365
  • OPENGL32: drawn arrays' vertices go to the card straight from their bytes (Soldier of Fortune II's helicopter ride +4.85%) by @kibertoad in #2374
  • ToadForce OpenGL: a draw's program and textures are looked up once (Soldier of Fortune II's helicopter ride 2.46% faster, 55.17 against 53.85 fps) by @kibertoad in #2389
  • Direct3D HAL: a ToadForce bind skips the texture stages and target it has already (Soldier of Fortune II, about 1.8% in one run per build) by @kibertoad in #2375
  • Voodoo3 and Banshee Direct3D HAL: the texture heap grows into free video memory (Project IGI's first mission no longer downloads about 340 textures a frame again: their share of the busy time from 25% to 1.5%) by @kibertoad in #2370
  • Direct3D: unused transformed vertices of an indexed draw give the clip status from their position alone (Project IGI's vertex work from 28% of the busy time to 10%) by @kibertoad in #2378
  • Recompiler: the fields translated code reaches keep a fixed, cache-line-aligned place, so another change's added fields no longer move them onto a slow layout (Oni's translated code ran 12% slower on one) by @kibertoad in #2718
  • Built-in Windows: file mappings are swept only when one may have gone, and a call reads its return address with its arguments (Oni runs 1.85% fewer instructions for the same frames; Alien Earth's film loop sweeps 759 times where it swept after each of about 298 million calls) by @kibertoad in #2666
  • Built-in Windows: GetAsyncKeyState polls the input devices only when new input may have come (Alien Earth's films run 6.4% fewer instructions for the same frames, polling 0 times where they polled at each of about 490 million reads) by @kibertoad in #2750

Improved hardware support

  • Voodoo software renderer: the drawing threads wait for each other where two jobs share memory, so a triangle no longer reads a texture another thread is still drawing by @kibertoad in #2491

DOS and Windows

  • Built-in Windows: DDE messages carry their data between Win32 programs, as Windows 98 SE does by @kibertoad in #2510
  • Built-in Windows: a reply to a thread that has ended makes no message queue by @kibertoad in #2541
  • Built-in Windows: a printer, whose pages go to the [printer] output as PNG pictures, a PDF document or the host's printer, with printer DCs, StartDoc and the other printing calls in GDI32 and Win16's GDI, and the Print and Print Setup dialogs of PrintDlgA and COMMDLG's PrintDlg by @kibertoad in #2586 and #2613
  • Built-in Windows: Arial, Times New Roman and Courier New are drawn from Windows' font files where the machine has them and from the Liberation fonts where it doesn't (win32_fonts), and the System font from Wine's System glyphs, all with Windows 98's widths by @kibertoad in #2287 and #2358 and #2282
  • GDI: a TrueType glyph keeps the part of its outline at the left edge of its first row, so letters such as Y at small sizes are whole by @kibertoad in #2303
  • GDI: the stock 1x1 bitmap goes into any number of memory DCs, and Win16's GetOutlineTextMetrics by @kibertoad in #2336 and #2343
  • WinG: WinGRecommendDIBFormat recommends a bottom-up DIB, as WinG does on Windows 98 by @kibertoad in #2584
  • Built-in Windows 3.1: Windows 98 SE's 16-bit AVIFILE and MSVIDEO, so 16-bit programs play AVI movies, and COMPOBJ's CoGetClassObject and CoCreateInstance start the in-process servers registered in the registry by @kibertoad in #2328 and #2302
  • MMSYSTEM: installable MCI drivers named in SYSTEM.INI's [mci] and found by WIN.INI's [mci extensions], as Windows 3.1 loads them by @kibertoad in #2226
  • MMSYSTEM: mmioInstallIOProc and 16-bit mmio I/O procedures, buffer pointers past 64 KB as huge pointers, and waveOutGetPitch, waveOutSetPitch and the playback rate functions by @kibertoad in #2319 and #2324 and #2339
  • MCI: digital video devices take setvideo with a palette handle and setaudio on and off by @kibertoad in #2332
  • MSVFW32: MCIWnd windows (MCIWndCreate and its class), VideoForWindowsVersion with win32_version=98se, and ICDecompressEx's messages, with a zoom by two by @kibertoad in #2561 and #2528 and #2220
  • Indeo 4: the codec's 8-bit palette, dithering to it or to a palette the program gives, and transparent pixels, as Intel's codec gives them by @kibertoad in #2357 and #2606 and #2555
  • AVIFIL32: audio streams are read by blocks of their format, whatever their header says of their samples by @kibertoad in #2454
  • DirectMusic: the performance and the segment by DirectX 7's interface IDs, and objects loaded from a program's own IStream by @kibertoad in #2670 and #2673
  • OLE: KERNEL32's local atoms and OLESVR32.DLL, OLE 1's server library by @kibertoad in #2591
  • OLEAUT32: OLE's standard font object and the other functions the Visual Basic 5 runtime needs to show its windows by @kibertoad in #2208
  • Built-in Windows 3.1: 16-bit STORAGE opens and makes compound files, with IStorage and IStream by @kibertoad in #2308
  • QUARTZ: DirectShow's first filter mapper, IFilterMapper, which writes to the registry what Windows 98 SE's writes by @kibertoad in #2548
  • Built-in Windows: REGSVR32.EXE in the system folder, which registers a DLL as setups ask by @kibertoad in #2209
  • Built-in Windows: RICHED32.DLL's rich edit control, which shows a document a program streams in by @kibertoad in #2595 and #2637
  • Built-in Windows: WINHELP.EXE, and Program Manager items whose command line is quoted whole run the program with its arguments by @kibertoad in #2338
  • SHELL32: SHGetDesktopFolder, with IShellFolder over the desktop, My Computer, the drives and their folders by @kibertoad in #2577
  • Built-in Windows: CRTDLL.DLL, which forwards to MSVCRT.DLL as on Windows 95 and 98 by @kibertoad in #2583
  • Built-in Windows: flat thunk calls from 16-bit code to 32-bit code by @kibertoad in #2558
  • USER32: a hook on another process's thread loads the hook's DLL into that process and runs there, as on Windows by @kibertoad in #2442
  • USER32: BeginPaint keeps an erase the window didn't do for its next BeginPaint, as Windows does by @kibertoad in #2594 and #2639
  • USER32: a WS_EX_TRANSPARENT window paints after the windows beneath it and isn't cut out of them by @kibertoad in #2217 and #2295 and #2611
  • USER32: LoadImage stretches a bitmap to the size asked for, and takes LR_LOADTRANSPARENT and LR_LOADMAP3DCOLORS by @kibertoad in #2565 and #2234
  • USER32: Page Down and Page Up in a multi-line edit scroll a page and keep the caret's row, as on Windows 98 by @kibertoad in #2241
  • COMCTL32: a wizard of no pages keeps its dialog template's size by @kibertoad in #2210
  • Built-in Windows 3.1: InSendMessage, SwitchStackTo and SwitchStackBack, GetProcAddress of a name such as #6 as an ordinal, and GetWinFlags reports paging by @kibertoad in #2507 and #2527 and #2544 and #2650
  • Built-in Windows 3.1: SetHandleCount gives a task more file handles, up to 255, as INT 21h AH=67h does for a DOS program by @kibertoad in #2556
  • Built-in Windows 3.1: a freed selector is given out again last-freed first, as on Windows 98 by @kibertoad in #2283
  • Built-in Windows 3.1: a task that ends answers the messages other tasks sent it, ExitWindows doesn't ask the calling task's own windows, and TOOLHELP's NotifyRegister callbacks hear of a task's end by @kibertoad in #2444 and #2239 and #2233
  • KERNEL32: SetVolumeLabelA, GetVolumeInformationA with no Unicode flag for a CD without Joliet names, as Windows 98's CDFS gives, and DeviceIoControl with VWIN32's Get Drive Map Info by @kibertoad in #2573 and #2589 and #2270
  • DirectInput: DirectInputCreateW and the Unicode interfaces of DirectInput and its devices by @kibertoad in #2273
  • DOS: DEL and ERASE take a path in double quotes and find a file by its long name, as COMMAND.COM in Windows 95 and 98 does by @kibertoad in #2569
  • GDI32: DeleteDC and DeleteObject on a device context from USER's cache return TRUE and leave it in the cache, as Windows 98 SE does by @kibertoad in #2725
  • Built-in Windows: RUNDLL32.EXE runs a DLL's entry point (The Tone Rebellion's View History shortcut opens ActiveMovie's player, where it said Bad command or file name) by @kibertoad in #2738
  • A .reg file beside a --config file goes into the registry, and the libretro core reads a content .conf's own .reg (Rage of Mages II finds its CD, where it said Incorrect CD) by @kibertoad in #2744
  • Built-in Windows: the temporary folder is there when the session starts, also on an empty C: (Enemy Nations' setup installs Indeo, where its extractor failed) by @kibertoad in #2763

Games fixed and optimized

Civilization II and Civilization II: Multiplayer Gold Edition

  • Indeo 4's 8-bit palette and dither, as Intel's IR41.DLL gives them (the intro's globe has its colours, where it had a blue ring, cyan blobs and black holes) by @kibertoad in #2357
  • Indeo 4 dithers to a palette the program gives (the High Council's and the heralds' movies, which came out flat and blotchy) by @kibertoad in #2606
  • Indeo 4's transparent pixels (the heralds no longer stand in a black box over the throne room) by @kibertoad in #2555
  • AVIFIL32 reads audio by blocks of its format (the Multiplayer Gold intro has its sound past the first chunk, where it went silent) by @kibertoad in #2454
  • 16-bit mmio buffer pointers past 64 KB as huge pointers (the intro's sound no longer ends the game with a page fault) by @kibertoad in #2324
  • The stock 1x1 bitmap goes into any number of memory DCs, waveOutGetPitch and the other playback rate functions, GetOutlineTextMetrics, and the desktop window's instance is USER's data segment (the Civilopedia opens, where it stopped with "Internal Error main2_w, 150" or took the game down) by @kibertoad in #2336 and #2339 and #2343 and #2349
  • Idle skip no longer skips a loop that uses its count as an address (the Midgard scenario loads its introduction, where it showed an error about its events.txt, and a hot-seat game's wrong text is gone) by @kibertoad in #2447
  • A Win16 task that ends answers the messages sent to it (the Multiplayer Gold setup goes on, where its SendMessage never returned) by @kibertoad in #2444

Diablo

  • SetVolumeLabelA and SHGetDesktopFolder (the installer installs, where it ended at once or after the licence page) by @kibertoad in #2573 and #2577
  • CRTDLL.DLL, which forwards to MSVCRT.DLL as on Windows 98 (the game starts, where STORM.DLL couldn't load) by @kibertoad in #2583
  • No Unicode flag for a CD without Joliet names, as Windows 98's CDFS gives (the CD check passes and the logo video, intro and main menu play, where the game asked for its CD again and again) by @kibertoad in #2589
  • BeginPaint keeps an erase the window didn't do (the menu's logo and pentagrams animate) by @kibertoad in #2594 and #2639
  • A transparent window isn't cut out of the windows beneath it (Select Hero and Choose Class show their background, portraits and stats) by @kibertoad in #2611
  • Mixing a resting PC speaker and the Gravis Ultrasound's synthesizer without repeating their work (the same sound with 0.3% of the speaker steps in Tristram, and 0.4% in Sorry!) by @kibertoad in #2660

Where in the U.S.A. Is Carmen Sandiego? (1996)

  • Windows 95 version: a hook's DLL is loaded into the process it hooks (the game starts, where it crashed at once) by @kibertoad in #2442
  • Windows 3.1 version: the 16-bit InSendMessage, SwitchStackTo and SwitchStackBack, and GetProcAddress of names such as #6 (the game plays its opening movie, where it ended or asked for QuickTime 2.1) by @kibertoad in #2507 and #2527 and #2544
  • Windows 3.1 version: SetHandleCount gives a task more file handles (a new game starts, where it ended with "Hard disk error: Cannot create user.dat file") by @kibertoad in #2556
  • Windows 3.1 version: WinG recommends a bottom-up DIB, as WinG does on Windows 98 (the game no longer ends with a general protection fault when it travels to the next state of a case on a 16-bit desktop) by @kibertoad in #2584
  • Windows 3.1 version: InstallShield's launcher is told by its module name (the disc's own 16-bit setup starts, where InstallShield's engine ran in its place) by @kibertoad in #2445
  • Windows 95 version: KERNEL32's local atoms and OLESVR32.DLL (the 32-bit QuickTime 2.1's movie player and picture viewer load, where QuickTime's "Play Sample" said it couldn't call the movie player) by @kibertoad in #2591

Sorry!

  • Regions combined with a sweep over their bands (the player setup screens run at full speed, where they ran at 0.03x to 0.2x: a combine that took 20,507 ms takes 47) by @kibertoad in #2284
  • A transparent window isn't cut out of the one beneath (after a game the title shows its own buttons, where the Options book stayed on screen) by @kibertoad in #2295
  • Glyph outlines keep their left edge (the Ys of "ARE YOU SURE YOU WANT TO END THIS GAME?" are whole) by @kibertoad in #2303
  • DirectPlay's provider GUIDs outlive the enumeration (hosting a LAN game works, where it crashed with a page fault) by @kibertoad in #2267

Age of Empires Gold Edition

  • RICHED32.DLL's rich edit control (the setup shows its licence, where the box was empty) by @kibertoad in #2595 and #2637
  • DirectShow's first filter mapper (the setup registers the game, where it crashed after copying its files) by @kibertoad in #2548
  • DEL takes a quoted path and finds long names (the setup's last batch file deletes its temporary copy, where it printed "Path not found") by @kibertoad in #2569

Men in Black - The Game

  • MCIWnd windows (the game starts and plays its movies, where it ended at start) by @kibertoad in #2561
  • LoadImageA stretches a bitmap to the size asked for (the inventory opens, where the game ended with its own fatal error box) by @kibertoad in #2565

GeoSafari Animals

  • MSVFW32's VideoForWindowsVersion with win32_version=98se (the game starts, where it went back to the DOS prompt) by @kibertoad in #2528
  • Flat thunk calls from 16-bit to 32-bit code (the game's 16-bit Xtras run, where their task faulted and ended) by @kibertoad in #2558

Monopoly CD-ROM (1995)

  • GetWinFlags reports paging (the setup installs, where it said "Win32s requires Virtual Memory" and ended) by @kibertoad in #2650
  • KERNEL32's GetLargestConsoleWindowSize (the game starts, where it stopped asking for that function; Discworld Noir's video driver calls it too) by @kibertoad in #2654

Sanity: Aiken's Artifact

  • DirectMusic gives its performance and segment by DirectX 7's IDs, and loads objects from a program's own stream (the music plays, where the music manager didn't start) by @kibertoad in #2670 and #2673
  • DirectMusic plays styles, with their chord and command tracks and motifs (the music plays in the menus and the levels, where it was silent) by @kibertoad in #2689
  • A new process's memory can come from pages other programs used, which go out to the page file as on Windows 98 (Host Game opens its dialog after time in a level, where it said there wasn't enough extended memory) by @kibertoad in #2703

Galapagos

  • A frame change that leaves a window in place repaints only its frame (the menus and dialogs of the paused game draw, where they stayed blank) by @kibertoad in #2685
  • DefWindowProc asks a window for its size limits only when it is being sized, as Windows does by @kibertoad in #2727
  • An etched frame doesn't fill its inside (the launcher's device list shows) by @kibertoad in #2686
  • DirectInput's GetDeviceState lets the idle skip see a loop that only waits (the intro runs 68% fewer instructions for the same frames) by @kibertoad in #2711
  • DirectInput's Poll lets the idle skip see a loop that polls a device and changes nothing, as GetDeviceState does by @kibertoad in #2723

Interstate '76

  • A device context released to USER's cache stays a device context and is handed out again (the Esc menu, the notepad and the mission-end screens appear, and the colours come back after the menu closes) by @kibertoad in #2717
  • WinHelp shows its viewer after WinHelpA returns (the setup's Help opens the help window over its dialog, where nothing appeared) by @kibertoad in #2724
  • The registry lists the sound card and the display adapter under Enum, as Windows 98 does (the setup's System Requirements page names both cards, where it said Not Detected) by @kibertoad in #2726

Devastation

  • OLE32, RPCRT4 and ADVAPI32 functions the setup calls, and a DLL loaded by its path is a module of its own (the setup shows its licence and installs the game, where it showed rows of question marks and quit) by @kibertoad in #2679, #2691 and #2756
  • The CD drive answers READ TOC's full table of contents (on a booted Windows 98 SE, the game gets past its copy protection to the CD key dialog) by @kibertoad in #2705
  • ADVAPI32's security checks, KERNEL32's GetHandleInformation and SetHandleInformation, and with win32_version=98se GetFileAttributesExW, as Windows 9x's stubs by @kibertoad in #2701 and #2722

The Magic School Bus Explores the Solar System

  • 16-bit STORAGE opens compound files and MMSYSTEM calls 16-bit mmio I/O procedures (the game starts, where it stopped with "Problem loading or finding files" or ended at its first sound) by @kibertoad in #2308 and #2319
  • MCI's setvideo palette and setaudio (the scenes after a movie keep their colours, where the Moon came up with a grey sky and false colours) by @kibertoad in #2332
  • WINHELP.EXE, and Program Manager items quoted whole (the "Bus Help" item and winhelp README.HLP open the help file) by @kibertoad in #2338
  • Idle skip follows GetCurrentTask in Win16 message loops (the Moon notebook's narration takes 97.8% less host processor time) by @kibertoad in #2443

Memphis Math: Treasure of the Tombs

  • A freed selector is given out again last-freed first, as on Windows 98 (the second path of a session plays, where the game stopped with a general protection fault and "MCMAIN Line 933") by @kibertoad in #2283

Prince of Persia 3D

  • DeviceIoControl and VWIN32's Get Drive Map Info, and DirectInput's Unicode interfaces (the retail CD and patch 1.01 get past their checks and load, where they page-faulted after the splash screens or asked for a missing function) by @kibertoad in #2270 and #2273
  • Banshee and Voodoo3 2D: plain screen-to-screen copies a run at a time (on a booted Windows 98 with the Voodoo3, the main menu takes 1.9 to 2.4 s of wall time per emulated second, where it took 14 to 20 s) by @kibertoad in #2268

Leadfoot

  • REGSVR32.EXE (the setup installs the Indeo codec, where it said "Unable to install the Indeo codec.") by @kibertoad in #2209
  • MSVFW32 answers ICDecompressEx, with a zoom by two (the Indeo 5 intro films play, where they were black) by @kibertoad in #2220
  • Voodoo: multibase texture offsets and trilinear's odd-level blend (the Glide menus are drawn, where every textured element was streaks) by @kibertoad in #2294
  • Direct3D: a texture's Load stretches a level of another size, as Windows 98 SE does (the Direct3D menus' check boxes, difficulty icons and sliders draw, where they were dotted garbage or missing) by @kibertoad in #2736

Outlaw Racers

  • What Visual Basic 5 needs from OLEAUT32 (the CD's front end opens, where it ended at once) by @kibertoad in #2208
  • A wizard of no pages keeps its template's size (the installer's progress page shows, where it was a sliver 6 pixels wide) by @kibertoad in #2210
  • The Voodoo3's Direct3D HAL blends SRCBLEND=SRCCOLOR as 3dfx's driver does (rain races show the scene darkened by the rain, where they were white) by @kibertoad in #2212

InstallShield 6 setups (The Art of Magic, Leadfoot, Max Payne, Anachronox)

  • A transparent window paints after its siblings beneath (the welcome page shows its paragraph under the heading) by @kibertoad in #2217
  • LoadImage's LR_LOADTRANSPARENT and LR_LOADMAP3DCOLORS (Anachronox's Select Components buttons have the dialog's grey, where they were magenta) by @kibertoad in #2234

Demolition Racer

  • SetSurfaceDesc gives a mipmap level the program's memory (the track's road and walls are textured, where the road was black) by @kibertoad in #2206

Giants: Citizen Kabuto

  • The Voodoo cards' Direct3D HAL uses ZBIAS with the levels 3dfx's driver writes (the hillside dots, the ground's stripes and the gaps in the player's shadow are gone) by @kibertoad in #2421

Max Payne

  • Banshee and Voodoo3: 24- and 32-bit desktops go through the lookup table (the gamma the video settings give shows in 32-bit modes, where only 16-bit modes showed it) by @kibertoad in #2231

Magic and Mayhem

  • Plain system-memory DirectDraw surfaces are process-heap blocks, as on Windows (scrolling the map no longer crashes the game) by @kibertoad in #2486

Warhammer: Shadow of the Horned Rat

  • Idle skip follows GetWindowRect, PtInRect and SwapMouseButton (the screen after a battle's debriefing runs at full speed with 3% of a host core, where it ran at 0.69 of real time with a whole core) by @kibertoad in #2327

Zanzarah

  • Idle skip follows a free mutex taken and released, and QueryPerformanceCounter (the Bink intro's frame wait skips 8.5 times as many instructions at 300,000 cycles) by @kibertoad in #2253

MechCommander

  • Overlay drives keep folder entries and host files keep their length (campaign and mission loads keep the sound, where host frames of 64 to 153 ms ran it dry) by @kibertoad in #2258

Amok and Beasts and Bumpkins

  • The log file is written on a thread of its own (Amok's Windows version no longer stalls for frames of 100 to 555 ms when the log is on a busy disk) by @kibertoad in #2634
  • DirectX 3 and 5 setups leave DirectX's Direct3D and DirectDraw files alone (Amok's "Install Direct X" shows Direct3D as installed, and neither setup puts its older files in place of the built-in ones) by @kibertoad in #2245

Outpost

  • TOOLHELP tells NotifyRegister's callbacks of a task's end (Sierra's setup for Outpost 1.5 closes and deletes its copy, where it waited behind an empty desktop) by @kibertoad in #2233

Cyberswine

  • A game fix for the film player's lost texture descriptors (the film no longer stops in scene 95, which a real PC with a Voodoo 3 also does) by @kibertoad in #2587
  • Setting a registry value to its own data isn't a change (scene changes no longer write the whole registry file hundreds of times) by @kibertoad in #2535

Druid: Daemons of the Mind

  • A key that a program's own keyboard handler took types nothing (the installer shows the music card screen, where an Enter typed earlier picked "No music driver") by @kibertoad in #2626

Aliens: A Comic Book Adventure

  • The mouse driver gives INT 74h back to the BIOS when the shell loads (the menu has a mouse on the game's second run, where no program after the first got mouse events) by @kibertoad in #2632

Metal Marines

  • ExitWindows doesn't ask the calling task's own windows, as on Windows 98 (Restart Now after "Install Video for Windows" restarts, where Microsoft Test's window refused it) by @kibertoad in #2239

WarGames

  • Page Down and Page Up in a multi-line edit scroll a page, as on Windows 98 (the readme the setup offers scrolls a page, where it scrolled one line) by @kibertoad in #2241

CyberStorm 2

  • A menu left open in a state saved by a version without owner-drawn menus no longer writes over the game's stack after the load (a click that closes the base menu no longer crashes the game) by @kibertoad in #2229

Other changes:

  • Command line: rust-dos report PROGRAM sends a report of the settings to the compatibility almanac, as the settings window does, without starting the emulator by @kibertoad in #2227
  • Documentation: 16-bit games play their movies through the built-in MSVIDEO and AVIFILE, and which runtimes a setup offers to install on the built-in Windows by @kibertoad in #2551 and #2314
  • Debug server: processes, modules and per-process breakpoints under a booted Windows 9x, an address-space dump and capture of function entries, and running a client's code in place of a guest function by @kibertoad in #2601 and #2600 and #2607
  • Debug server: save states carry their drives' overlays, saves, loads and drive changes are waited for, and input scripts wait on what the guest does and can be recorded from the window by @kibertoad in #2598 and #2384 and #2602
  • Test scenes: a runner for plans and a comparison of two runs, waits in plans, CUE sheets as CDs, and scenes of Alien Legacy, Alien Logic, Amok, Deadlock II, Enemy Infestation, Magic and Mayhem, MageSlayer, Myth: The Fallen Lords, Men in Black, Shipwreckers!, The Magic School Bus, Timon & Pumbaa's Jungle Games and Ultimate Domain by @kibertoad in #2424 and #2646 and #2581 and #2479 and #2629 and #2624 and #2636 and #2622 and #2620 and #2542 and #2621 and #2680 and #2667 and #2669 and #2692 and #2749 and #2752
  • Regression programs: listed by area and picked by fit, with the committed Giants, Alice and GLQuake scenes by @kibertoad in #2360 and #2381 and #2419
  • Probes of real Windows: a Win16 task's file handles on Windows 98, and Cinepak's 8-bit streams against iccvid.dll by @kibertoad in #2571 and #2617
  • Timing tool: tools/timing.py times main against a branch on one machine, with its documentation and tests; a speed change is timed on its own program first, from a single pair, and tools/icount.py counts instructions of benchmarks or a whole run under Valgrind by @kibertoad in #2647 and #2648 and #2676 and #2655 and #2699
  • Contributor guide and agent instructions: approvals for outside code, links and attachments, which checks a change needs, how builds share the machine, and the game-polish skill by @kibertoad in #2687 and #2539 and #2534 and #2529 and #2526 and #2478 and #2404 and #2403 and #2415 and #2416 and #2417 and #2418 and #2414 and #2391 and #2353 and #2608 and #2382
  • Build tools: tools/cargo-slot.sh hands out shared target directories, tools/build_origin.py checks which worktree a build came from, and the Gravis Ultrasound's built-in files are listed in the source instead of by a build script by @kibertoad in #2641 and #2502 and #2408
  • CI: the Windows 7 build's imports are checked against what Windows 7 has by @kibertoad in #2371 and #2379
  • Tests: the capture test fixes the host clock while its machines are built by @kibertoad in #2644
  • Debug builds: the OPL3 no longer panics on an operator register with no operator (Civilization) by @kibertoad in #2228

Full Changelog: v1.9.4...v1.9.5

Don't miss a new rust-dos release

NewReleases is sending notifications on new releases.