PCem patches (post rev-347)
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
PCem patches (post rev-347)
As Retro Software is still down, I'll post newer patches here for now. I'm assuming everyone has rev 347, which was the last version before the repo went down. Please do NOT post to this thread, any new bugs should be raised as new threads as normal.
348 - Removed a bunch of old #defines. Cleaned up some dead code.
349 - Fixed display size on ViRGE.
350 - Clear PIC interrupt service registers on writing ICW1. Fixes CTRL-ALT-DEL on some BIOSes.
351 - Implemented VGA attribute enable bit in attribute index - VGA grabber in Windows 3.x now works properly.
348 - Removed a bunch of old #defines. Cleaned up some dead code.
349 - Fixed display size on ViRGE.
350 - Clear PIC interrupt service registers on writing ICW1. Fixes CTRL-ALT-DEL on some BIOSes.
351 - Implemented VGA attribute enable bit in attribute index - VGA grabber in Windows 3.x now works properly.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
352 - First FDC Sense Interrupt Status command after post-reset ready state change results is now zero. Fixes Grey Cat Linux.
- Attachments
-
- 352.patch
- (1.25 KiB) Downloaded 271 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
353 - Added FPREM1 instruction for Interstate '76.
- Attachments
-
- 353.patch
- (2.31 KiB) Downloaded 267 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
354 - FPU rounding modes now have effect in FADD double precision. Fixes rendering in Interstate '76.
- Attachments
-
- 354.patch
- (4.85 KiB) Downloaded 269 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
355 - Nearest FPU rounding mode now handles negative numbers correctly. Fixes Retro City Rampage 486.
- Attachments
-
- 355.patch
- (1.66 KiB) Downloaded 272 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
356 - Implemented ViRGE 2D Polygon Fill command.
Improvements to ViRGE line draw.
357 - More changes to FPU nearest rounding, Unreal works again.
Improvements to ViRGE line draw.
357 - More changes to FPU nearest rounding, Unreal works again.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
358 - Implement ATAPI Stop Play/Scan command.
Stop CD audio playback on IDE reset, ATAPI reset, and hard reset.
Stop CD audio playback on IDE reset, ATAPI reset, and hard reset.
- Attachments
-
- 358.patch
- (2.31 KiB) Downloaded 268 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
359 - Corrected MSF->LBA conversion for CD audio.
360 - Starting Sound Blaster DMA now clears pause status.
Implemented dummy ASP/CSP upload command (DSP command 0x01).
Fixes issues with SB16/AWE32 drivers in Windows 3.x.
360 - Starting Sound Blaster DMA now clears pause status.
Implemented dummy ASP/CSP upload command (DSP command 0x01).
Fixes issues with SB16/AWE32 drivers in Windows 3.x.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
361 - Cancel FDC ready state change reports from reset on submission of recalibrate command. Phoenix XT clone now boots from floppy.
- Attachments
-
- 361.patch
- (1.93 KiB) Downloaded 272 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
362 - Voodoo texture processing now dependent on texturing being enabled in fbzColorPath. Fixes transparency issues in Tomb Raider, might cause speedup in games that use non-textured triangles.
363 - Removed bad Num Lock handling code.
363 - Removed bad Num Lock handling code.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
364 - Re-implemented FDC Read a Track command. King's Quest 1 booter works again.
- Attachments
-
- 364.patch
- (8.85 KiB) Downloaded 278 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
365 - Voodoo floating point parameters are converted to fixed point on register write instead of on triangle command. Fixes health bar in Tomb Raider.
366 - Voodoo now always allocates 4MB for framebuffer memory, though only 2MB may be accessible. Fixes crash in Need For Speed III when using 800x600 (no Z-buffer) with 2MB of framebuffer memory configured.
366 - Voodoo now always allocates 4MB for framebuffer memory, though only 2MB may be accessible. Fixes crash in Need For Speed III when using 800x600 (no Z-buffer) with 2MB of framebuffer memory configured.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
367 - Don't reset IDE block size on IDE soft reset.
- Attachments
-
- 367.patch
- (701 Bytes) Downloaded 247 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
368 - Force PCem to leave fullscreen mode when losing focus.
DirectInput mouse initialisation no longer fails if mouse can not be immediately acquired.
DirectInput mouse initialisation no longer fails if mouse can not be immediately acquired.
- Attachments
-
- 368.patch
- (1.55 KiB) Downloaded 243 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
369 - Reverted rev 339. Fixes Adlib Gold jukebox.
Disable PIT timer operation between write of control word and initial count. Lemmings High Performance PC mode now works without incorrect rev 339 commit.
370 - Ignore odd/even mode when loading VGA latches on memory read. Fixes Jazz Jackrabbit.
Disable PIT timer operation between write of control word and initial count. Lemmings High Performance PC mode now works without incorrect rev 339 commit.
370 - Ignore odd/even mode when loading VGA latches on memory read. Fixes Jazz Jackrabbit.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
371 - Correct S3 class code.
Limit S3 attribute registers to those actually present - no longer falsely detects as ET4000.
Don't update current position registers at the end of BitBlt command.
Fixes S3 on SUSE 6.3.
Limit S3 attribute registers to those actually present - no longer falsely detects as ET4000.
Don't update current position registers at the end of BitBlt command.
Fixes S3 on SUSE 6.3.
- Attachments
-
- 371.patch
- (2.04 KiB) Downloaded 226 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
372 - Initialise A20 gate correctly at startup.
Keyboard controller self-test command enables A20.
HIMEM.SYS included with Windows/286 now works.
Keyboard controller self-test command enables A20.
HIMEM.SYS included with Windows/286 now works.
- Attachments
-
- 372.patch
- (2.57 KiB) Downloaded 231 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
373 - Fix ATAPI interrupt status following Mode Select command - fixes OS/2 Warp 3 CD installer.
- Attachments
-
- 373.patch
- (789 Bytes) Downloaded 222 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
374 - Disabled opcode 0x86 (XCHG byte) on x86-64 recompiler.
- Attachments
-
- 374.patch
- (919 Bytes) Downloaded 243 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
375 - Tweaked PIT GATE handling, fixes Lemmings 2.
376 - Amplified EMU8000 output a bit.
376 - Amplified EMU8000 output a bit.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
377 - Implemented PS/2 mouse Status Request command.
- Attachments
-
- 377.patch
- (2.07 KiB) Downloaded 214 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
378 - CD-ROM drive is now secondary master if no hard drive is present in that position.
- Attachments
-
- 378.patch
- (864 Bytes) Downloaded 210 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
379 - Fixed stupid typos in FPU rounding - Unreal software mode works again.
- Attachments
-
- 379.patch
- (2.83 KiB) Downloaded 227 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
380 - Implemented keyboard Enable Mouse Port command. Fixes PS/2 mouse in Windows NT.
- Attachments
-
- 380.patch
- (848 Bytes) Downloaded 227 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
381 - Implement PPI switch read correctly for IBM PC.
- Attachments
-
- 381.patch
- (2.33 KiB) Downloaded 235 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
382 - Bumped version number up to v10.
Updated readme file.
383 - Clear _mem_exec array on init/reset.
Do not add (junk) entries to _mem_exec if mapping is not executable.
Do not fatal() on attempting to execute from non-executable memory; return page of 0xff instead.
Fixes emulator crash in Premiere/PCI when leaving BIOS setup without a valid CMOS setup.
Updated readme file.
383 - Clear _mem_exec array on init/reset.
Do not add (junk) entries to _mem_exec if mapping is not executable.
Do not fatal() on attempting to execute from non-executable memory; return page of 0xff instead.
Fixes emulator crash in Premiere/PCI when leaving BIOS setup without a valid CMOS setup.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
384 - Add range checks to ET4000/W32p VRAM read/write functions.
385 - Add range checks to PIIX read/write functions.
385 - Add range checks to PIIX read/write functions.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
386 - Removed redundant memcpy from rev 385.
387 - Added command line option to start in fullscreen mode.
388 - Don't create Voodoo memory dump in release build.
387 - Added command line option to start in fullscreen mode.
388 - Don't create Voodoo memory dump in release build.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
389 - Added command line option to specify config file to use on startup.
- Attachments
-
- 389.patch
- (2.14 KiB) Downloaded 221 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: PCem patches (post rev-347)
I am retiring this topic as the repository is online again, at https://bitbucket.org/pcem_emulator/pcem