Skip to content

rebase to master#3

Merged
akmed772 merged 15 commits into
akmed772:masterfrom
86Box:master
Feb 22, 2025
Merged

rebase to master#3
akmed772 merged 15 commits into
akmed772:masterfrom
86Box:master

Conversation

@akmed772

Copy link
Copy Markdown
Owner

No description provided.

OBattler and others added 15 commits February 19, 2025 10:54
…sion - those are now collected into said queue and processed immediately after, improves SLiRP operation.
Add IBM PS/55 machines and its peripherals
…tation fault due to the BIOS language being obtained from the wrong device.
1. Actually fix the LFB access by subtracting the linear base address from the current address when LFB/MMIO is on. This fixes blankness of certain Mach32 drivers on Win3.1x.
2. Apply a minor but important fix to the fonts used by said Win3.1x driver when the dpconfig activates bit 2 without bit 12 set (e.g.: 0x2255), ergo, issuing host data as monochrome without swapping it.
Note that the reproduction cases for command 6 currently appear to be a result of CMDFIFO corruption instead of actual usage.
Mach32 changes of the day (February 20th, 2025)
…t, 2025)

1. Made logs more consistent.
2. Actually add Write and Verify command, used by IBM OS/2 1.2 Extended, and fixes a hang by said OS after inserting disk 6.
Spock/Tribble (IBM PS/2 SCSI) changes of the late night (February 21st, 2025)
…orrect operation when heap protection is enabled.
@akmed772 akmed772 merged commit fea5b62 into akmed772:master Feb 22, 2025
akmed772 pushed a commit that referenced this pull request Mar 18, 2026
Implement codegen_texture_fetch() and TMU combine paths for ARM64:
- Perspective-correct W division using SDIV (replaces x86 IDIV)
- LOD calculation via CLZ (replaces BSR, inverted: 63-CLZ)
- Point-sampled texture lookup with clamp/wrap S/T
- Bilinear filtered 4-tap blend using NEON (UXTL+MUL+ADD+EXT+USHR+SQXTUN)
- Mirror S/T via TBZ+MVN (replaces TEST+JZ+NOT)
- TMU0-only, TMU1-passthrough, and dual-TMU combine paths
- Dual-TMU tc_mselect/tc_add/tc_invert for RGB + tca_* for alpha
- trexInit1 override path
- Upstream bug at x86 line 1303 (0x8E) NOT ported — correct ADD used

Bug fixes discovered during review:
- Bilinear LDR D addressing: added LSL w4, w4, #2 before 64-bit texel
  pair loads to convert texel index to byte offset (ARM64 LDR Dt has no
  LSL #2 option, unlike x86 MOVQ with *4 scaling)
- LOD mantissa shift: changed LSR_REG to LSR_REG_X (64-bit) since the
  W reciprocal after LSL #8 can exceed 32 bits
- AND_BITMASK for 0xF0 mask: corrected from (N=0,immr=24,imms=27) which
  was an invalid encoding to (N=0,immr=28,imms=3) per ARM64 logical
  immediate rules
- Added #include <stddef.h> for offsetof() in _Static_assert checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants