Commit Graph

13566 Commits

Author SHA1 Message Date
Jos van Mourik
bc5b6b71c4 Cleanup 2024-10-11 22:44:32 +02:00
Jos van Mourik
a25892664a Add NVR saving for calibration data, cleanup 2024-10-11 22:33:46 +02:00
Jos van Mourik
2fafe676cb Merge branch '86Box:master' into master 2024-10-11 21:42:06 +02:00
Jos van Mourik
09bbbacede Refer to microtouch struct as dev in all functions 2024-10-08 20:42:47 +02:00
Jos van Mourik
b493b41ab2 Implement touchscreen calibrate extended 2024-10-06 01:12:21 +02:00
Miran Grča
09587834d6 Merge pull request #4885 from 86Box/tc1995
XGA changes of the day (October 5th, 2024)
2024-10-05 23:24:23 +02:00
TC1995
5135721359 XGA changes of the day (October 5th, 2024)
1. SVGA decode mask shouldn't be used in XGA native mode, fixes wrong locks in LFB access.
2. INMOS XGA only: more accurate emulation per INMOS G201 MCA/ISA manual, including the MMIO access and port 0x96, allowing full BIOS and MMIO access at the same time on 0xc0000.
2024-10-05 21:24:54 +02:00
Miran Grča
1b1b283197 Merge pull request #4877 from 86Box/tc1995
Major video changes of the day (October 3rd, 2024)
2024-10-03 15:13:27 +02:00
TC1995
f102fee497 Major video changes of the day (October 3rd, 2024)
8514/A changes:
1. Correct interlaced display resolution.
2. Added a limit to cursor coordinates.
3. Test/WIP features of the add-on Mach8 side (ATI 8514/A Ultra) such as configurable BIOS.
4. Made the CMD 5 of the acceleration (Polygon Boundary) more accurate per manual (as much as I could regarding the clipping).

Cirrus related:
1. Added SUBSYS PCI vendor/device ID of the 5480 (per manual).

IBM VGA:
1. Built-in/option rom-less VGA don't need the "available" flag.

ATI Mach8/32:
1. As with 8514/A, corrected interlaced display.

XGA-1/-2:
1. Moved the XGA R/W memory size tests out of the SVGA R/W routines to reflect the per card basis, although anything that uses its own SVGA mapping would call the tests there (such as Cirrus, Headland and ATI) when not accessing the LFB. This finally puts an end to the XGA MCA mapping enabling bugs.
2. Re-organized the ISA standalone and non-standalone (INMOS) sides of the chips so that they work properly and remove the FILE rom loading hack from init.
3. The Memory Mapped R/W sides now account for instance in their address range.
4. INMOS only: prevent any ROM address access to anything lower than 0xc8000 to not conflict with the main BIOS rom loading.
5. Fixed native pitch by using the correct register, this fixes non 1024x768 resolutions under NT.
6. More logs when enabled to see any future bugs.
2024-10-03 14:56:23 +02:00
OBattler
8899b1411b AMD K6-2 onwards: EFER write GPF is now correctly on bits 5 onwards, not on bits 1 onwards. 2024-10-01 09:56:40 +02:00
OBattler
1e84b46a5d 86F: Correct the obtaining of the preceding bits in direct writes, fixes bit stream compliance. 2024-10-01 08:53:57 +02:00
OBattler
7e0c6e9b69 Enable the SYSENTER/SYSEXIT MSR's on Pentium Pro, fixes OpenBSD booting, fixes #4873. 2024-09-30 18:08:05 +02:00
Miran Grča
b559b884ef Merge pull request #4871 from jgilje/openbsd_fixes
Compile and linker fixes for OpenBSD
2024-09-30 00:08:18 +02:00
Joakim L. Gilje
2844acee11 Compile and linker fixes for OpenBSD
* link with wxneeded
  required for DYNAREC, in addition to being installed
  onto a filesystem with the wxallowed flag (like /usr/local
  on a default installation)
* pthread_setname_np is pthread_set_name_np on OpenBSD
2024-09-29 22:00:38 +02:00
OBattler
6c2a667d0c x86seg.c: Use the correct memory read/write functions on 486+. 2024-09-29 18:16:32 +02:00
OBattler
250f477200 MMU: No longer page fault on CPU-initiated writes to write-protected pages (eg. when setting segment accessed bit), fixes OpenBSD 7.0, fixes #1853. 2024-09-29 13:23:43 +02:00
OBattler
d5f01259bc Preferences dialog: make the slider a bit bigger, fixes #4860. 2024-09-29 10:31:45 +02:00
OBattler
c172cc8dbe RTL8139C+: Fix duplex negotiation so it correctly negotiates full duples, fixes #4867. 2024-09-29 10:27:21 +02:00
OBattler
bdc4304300 Added more conditions under which control register writes cause MMU cache flushes. 2024-09-28 19:17:57 +02:00
OBattler
36bccdf7a9 Changed the version number to 4.2.2. 2024-09-28 18:32:43 +02:00
OBattler
74b398be29 S3 non-ViRGE: Do not remove I/O handlers on ISA/VLB card reset, fixes soft reset, fixes #4866. 2024-09-28 14:34:45 +02:00
OBattler
b73823dc92 Merge branch 'master' of https://github.com/86Box/86Box 2024-09-28 13:33:53 +02:00
OBattler
9ff72338d1 Voodoo: Attempt to implement the 16bpp + depth combined writes. 2024-09-28 13:33:43 +02:00
Miran Grča
ea10ce5e92 Merge pull request #4862 from 86Box/tc1995
S3 Pre-ViRGE changes of the day (September 26th, 2024)
2024-09-27 01:16:53 +02:00
TC1995
962c9cdf2f S3 Pre-ViRGE changes of the day (September 26th, 2024)
1. Actually fix the remaining pinkish/reddish stuff in 32bpp modes properly (for real, especially OS/2 and possibly other stuff).
2. The Compare accel stuff is more sanitized.
3. When the BitBLT DY coordinates are negative, don't draw the pixels. This fixes some software cursor issues with OS/2's S3 3.03.xx drivers.
4. Reset the FIFO when the card is reset.
5. Indentation fixes (to be improved further however).
6. Implement bit 5 functionality of 0xBEE8 index 0xE (MULT_MISC) (and currently only in the Rectangle Fill command). This fixes missing text on I-O Data Vision968 specific drivers for Windows 3.10 Japanese (PC/AT compatible)
7. Moved the Streams engine out of the FIFO (like the ViRGE) as well as making all CRTC's of the Trio64V2 writable and SEQREGs from 0x10 onwards to make sure the Streams engine works properly.
8. Added a missing break from the RAMDAC read stuff.
9. Remove a leftover of PCem.
2024-09-26 23:18:38 +02:00
OBattler
625da7cab6 PIIX3: Fix MIRQ0 / legacy IRQ switch, fixes #4861. 2024-09-26 22:14:28 +02:00
OBattler
4c086d543c Tandy 1000 SX/HX: Fix the condition for the latch pen strobe reads and writes, fixes Jungle Hunt freezing on Tandy again. 2024-09-26 07:16:05 +02:00
OBattler
d6a01a102b CGA and Tandy 1000 HX/SX: Properly implement the light pen strobe. Jungle Hunt's palette changed area still moves, that's a PIT bug, I'm going to look into that again in 5.0 when I go back to porting 808x etc. from MartyPC. 2024-09-25 14:13:00 +02:00
OBattler
32ed6a30d4 Fixed the AdLib Gold regression that were causing noise. 2024-09-25 11:11:52 +02:00
OBattler
26b7053318 CGA and Tandy 1000 SX/HX: Implement light pen latch readout with a sane value, fixes #4856. 2024-09-25 08:58:40 +02:00
OBattler
6d84c4d33c FIC VA-503+: The Winbond W83877TF Super I/O chip needs to have bit 0 of HEFRAS set at power on, fixes #4855. 2024-09-25 07:57:02 +02:00
Miran Grča
bf97a42318 Merge pull request #4851 from 86Box/tc1995
XGA aperture fixes of the day (September 24th, 2024)
2024-09-24 20:42:14 +02:00
TC1995
5fd1d0be9f XGA aperture fixes of the day (September 24th, 2024)
Fixed 1MB aperture vram access.
2024-09-24 20:39:20 +02:00
OBattler
13e18a067a SN76489: Remove some wrong code, fixes #4821. 2024-09-24 08:39:13 +02:00
OBattler
83d4997e5c UMC 8881: Remove an excess commented out line. 2024-09-24 04:53:10 +02:00
OBattler
24c6ebc6dd Samsung SPC7700P-LW: reset SMBASE on soft reset via the keyboard controller, fixes segmentation fault on soft reset after FDISK. 2024-09-24 04:50:41 +02:00
OBattler
17f6ddecb3 More UM888x fixes. 2024-09-24 04:41:45 +02:00
OBattler
9c1d9e2d82 MO and ZIP. 2024-09-24 04:37:26 +02:00
OBattler
7639d8b031 Flush on write to floppy images as well. 2024-09-24 04:36:01 +02:00
OBattler
8c705b4ad1 Flush on writes to hard disk images, fixes partition creation on the Samsung SPC7700LP-W. 2024-09-24 04:32:46 +02:00
OBattler
f2eb6a0161 UM8886: More IRQ-related bug fixes, including incorrect shifts to the right by 8 instead of 4 bits which was causing all PCI devices to use IRQ 0 instead of their assigned IRQ. 2024-09-23 05:54:46 +02:00
Miran Grča
3410320a70 Merge pull request #4849 from 86Box/tc1995
Workaround the volume that is too low on the PAS Plus.
2024-09-22 21:30:02 +02:00
TC1995
9cc8f0ffd4 Workaround the volume that is too low on the PAS Plus.
And added a note about it.
2024-09-22 21:29:00 +02:00
Miran Grča
42eea8ec3a Merge pull request #4848 from 86Box/tc1995
Mach32 and clock changes of the day (September 22nd, 2024)
2024-09-22 21:20:51 +02:00
TC1995
705d293420 Mach32 and clock changes of the day (September 22nd, 2024)
1. Going from screenshots of the Mach32 chips, they all have the ati18811-1 clock regardless of the bus type, whilst the Mach8 has an ati18812, which is actually a ati18811-0
2. Unbreak the NS3.1 Mach32 driver, ergo, don't block the LFB processing.
2024-09-22 21:05:10 +02:00
Miran Grča
b1c415a3eb Merge pull request #4847 from 86Box/tc1995
PVGA changes of the day (September 22nd, 2024)
2024-09-22 21:00:54 +02:00
TC1995
8e84dc04c3 PVGA changes of the day (September 22nd, 2024)
Correct the memory size (and its bits) of said chips and reorganize them.
2024-09-22 20:31:22 +02:00
OBattler
2afa424261 Sound Blaster / ESS: DSP reset now properly disables DMA, fixes the OS/2 ESS ES688 driver. 2024-09-22 14:39:50 +02:00
OBattler
8593b175fd More slight fixes to the RTL8139C+. 2024-09-22 10:22:03 +02:00
OBattler
cc67f712b0 RTL8139C+: Return correct PCI revision 0x10, fixes #4839. 2024-09-22 07:11:09 +02:00