rebase to master#6
Merged
Merged
Conversation
PADDSIW, PSUBSIW, PMULHRW (named PMULHRWC in the code as recognized by some assemblers), PMULHRIW, PDISTIB, PMACHRIW, PAVEB, PMAGW, PMVZB, PMVNZB, PMVLZB, PMVGEZB, FTSTP, FRINT2, FRINEAR, FRICHOP are implemented for Cyrix 6x86MX. Cyrix 6x86(L) only has the last 4 instructions.
Add EMMI and the 4 missing FPU instructons to the Cyrix 6x86MX
IBM PS/55 DA2: Fix various drawing issues in graphics mode
Fix ES1370 detection
Change the name of the define used to indicate SVGA multi-monitor-capable cards
Don't include `cpu.h` in `timer.h`
1. Follow the Mach32 manual more closely regarding vblank support. 2. The subsystem status now takes account of the other bits more accurately. 3. The Mach32 PCI, when used with the ATI 68860 ramdac, has its own bpp's when in accelerator mode, separate from the VGA compatible side, so fix this accordingly. 4. Reset the vram when a mapping change occurs, should clear the messups in the ATI Mach8/32 accel video mode tests.
8514/A compatible changes of the day (March 6th, 2025)
Add a global sound mute option
…ckboxes are toggled
Fixes a crash when clicking the icon
Initialize the sound icon menu pointer
Fixes for the ports page of the settings dialog
Disable Windows 11 rounded window corners when they cover the emulated screen
Port OpenGL 3.x renderer from PCem
General Improvements, Cleanups and additions
…other stncpy()'s.
OpenGL 3.x screenshots are now processed
Qt: Fix more compile errors
Call `glViewport` with correct function pointer
Attempt fixing crash on NetBSD
…t was correct, fixes the P6BAT.
akmed772
pushed a commit
that referenced
this pull request
Mar 18, 2026
* Phase 5+6: Complete Voodoo ARM64 pixel pipeline
Implements the full remaining pixel rendering pipeline:
**Phase 5 (Fog + Alpha Test + Blend):**
- Fog: FOG_CONSTANT, FOG_ADD, FOG_MULT modes
- Fog sources: w_depth table lookup, Z, alpha, W
- Alpha test: all 8 AFUNC comparison modes (NEVER, LESSTHAN, EQUAL,
LESSTHANEQUAL, GREATERTHAN, NOTEQUAL, GREATERTHANEQUAL, ALWAYS)
- Alpha blend: dest_afunc (9 modes: AZERO, ASRC_ALPHA, A_COLOR,
ADST_ALPHA, AONE, AOMSRC_ALPHA, AOM_COLOR, AOMDST_ALPHA,
ACOLORBEFOREFOG)
- Alpha blend: src_afunc (9 modes: AZERO, ASRC_ALPHA, A_COLOR,
ADST_ALPHA, AONE, AOMSRC_ALPHA, AOM_COLOR, AOMDST_ALPHA, ASATURATE)
**Phase 6 (Framebuffer Write + Dithering):**
- Dithering: 4x4 and 2x2 dither pattern support
- RGB565 pack with dither or direct shift-and-mask
- Framebuffer write: linear and tiled addressing modes
- Depth write: alpha-buffer and non-alpha-buffer paths
- Per-pixel state increments: dRdX, dGdX, dBdX, dAdX, dZdX, dSdX,
dTdX, dWdX (for both TMUs + global W)
- Pixel and texel counter updates
Total addition: 677 lines of ARM64 codegen completing the full
scanline rasterizer from prologue through per-pixel write-back.
* Add JIT debug logging runtime toggle to Voodoo card settings
Replace compile-time #define VOODOO_JIT_DEBUG with a CONFIG_BINARY UI
checkbox ("JIT Debug Logging", default OFF). When enabled, opens
<vm_dir>/voodoo_jit.log and writes all JIT GENERATE/EXECUTE/HIT
diagnostics there via fprintf. When disabled, no file is created and
no logging overhead. The toggle is purely observational and never
affects the JIT-vs-interpreter control flow.
* Add debugging docs, test script, and gitignore updates
* Fix Voodoo 2 detection failure when Dynamic Recompiler is enabled
Move jit_debug config entry outside the #ifndef NO_CODEGEN guard so the
voodoo_config[] array structure is stable regardless of codegen state.
Previously, both recompiler and jit_debug entries were conditionally
compiled, causing config field index misalignment when loading VMs saved
with a different codegen setting.
* Move jit_debug config outside NO_CODEGEN guard in Banshee configs
Apply the same fix from the voodoo_config[] array (a1163d6) to
banshee_sgram_config[], banshee_sgram_16mbonly_config[], and
banshee_sdram_config[]. The jit_debug entry is now unconditionally
present in all four device config arrays for consistency.
* Fix Voodoo 2 non-perspective texture alignment bug + add JIT verify mode
ARM64 STR_X to STATE_tex_s (offset 188) silently encoded as offset 184
due to unsigned-offset 8-byte alignment truncation. The non-perspective
texture path wrote tex_s to the wrong location, causing every pixel to
sample from texture column S=0. Fixed by using STR_W (4-byte aligned).
Also adds JIT verification mode (jit_debug=2) that runs both JIT and
interpreter per scanline and compares pixel output for debugging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.