Commit Graph

1393 Commits

Author SHA1 Message Date
OBattler
e3cc8eaf5d Machine flags change and the PS/ValuePointer P60 now has the MACHINE_VIDEO_8514A flag as well. 2023-08-22 19:51:13 +02:00
OBattler
13e5ab3157 The MDA now also honors font base, fixes #3261. 2023-08-22 17:12:16 +02:00
TC1995
4325d6103c Compaq Deskpro 386 1988 BIOS ROM changed to the May 1988 due to malformed status of the January 1988 one. 2023-08-20 21:22:02 +02:00
OBattler
6c4a4be6be Timer clean-ups. 2023-08-19 05:26:49 +02:00
OBattler
274b44ab00 Reimplemented ALi M1543(C) NVR SMI# handling, fixes #3278. 2023-08-19 01:39:30 +02:00
OBattler
29c153d287 Reverted Cacodemon345's broken USB OHCI implementation, fixes #3597. 2023-08-18 23:16:54 +02:00
OBattler
597a6640f4 More config.c clean-ups and added some plumbing for the future ZIP and MO image history. 2023-08-18 18:28:38 +02:00
OBattler
565421a252 Serial receive/transmit rework (uses the new fifo.c API) and a small GDB stub fix. 2023-08-18 05:57:32 +02:00
Miran Grča
e5b42be230 Merge pull request #3590 from jriwanek-forks/clang
Fix LLVM GHA builds as best I can for now and some small fixes for MSVC
2023-08-16 19:25:56 +02:00
Jasmine Iwanek
ad3cca65f6 Fallthrough fixes for MSVC 2023-08-16 13:04:58 -04:00
OBattler
6fae975a72 PIT type selection, CD-ROM model filtering by bus, and translation updates - closes #3354. 2023-08-16 05:23:03 +02:00
Miran Grča
5c8b078204 Merge pull request #3580 from jriwanek-forks/warn-fix
Warning fixes and more tabs to spaces
2023-08-15 22:00:17 +02:00
Jasmine Iwanek
7c0e1f7f83 Joystick code improvements 2023-08-15 13:30:12 -04:00
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 2023-08-15 13:28:04 -04:00
OBattler
1811115b65 Some flags and configuration file fixes. 2023-08-15 16:42:13 +02:00
OBattler
f7b5a566cb Added the OPTi 82c602, on-board CL-GD 5430, and also gave the PC87306 Super I/O chip its full NVR capabilities, fixes #2877. 2023-08-15 06:45:02 +02:00
OBattler
3f04ec4661 Merge branch 'master' of https://github.com/86Box/86Box 2023-08-15 01:27:24 +02:00
OBattler
20b60fc46b Added more bus flags. 2023-08-15 01:27:16 +02:00
Miran Grča
489492b9de Merge pull request #3570 from 86Box/tc1995
New batch of ATI Mach8/32 changes:
2023-08-15 01:06:56 +02:00
TC1995
59811075db New batch of ATI Mach8/32 changes:
1. Hopefully fixed the passthrough stuff for good and fixed typo's in the IBM 8514/A poll function about the cursor.
2. Eliminated the ibm8514_on global variable in favor of a struct variable to be consistent with XGA.
2023-08-15 00:11:56 +02:00
OBattler
b446317b76 The POST codes are now accessible by the entire emulator, allows easy output filtering by POST cost code (and disabling altogether if the POST code is disabled), useful for debugging. 2023-08-14 23:12:46 +02:00
OBattler
9810269d39 And fixed it properly. 2023-08-14 22:50:18 +02:00
OBattler
a4e39387a9 Fixed a compile-breaking mistake. 2023-08-14 22:32:14 +02:00
OBattler
c23829834e Timer processing fix. 2023-08-14 22:31:03 +02:00
OBattler
3a9c7b152c Fixes for the advanced timer API. 2023-08-14 22:26:41 +02:00
OBattler
b203b28350 Assorted copyright header fixes. 2023-08-14 21:51:47 +02:00
OBattler
27c56f608d Compaq 386 machine fixes and Compaq EGA palette mux timer, fixes #3494. 2023-08-14 05:00:56 +02:00
OBattler
976fe24ba1 VNC and Win32 mouse clean-ups. 2023-08-13 18:25:56 +02:00
OBattler
1958b7398d Use absolutes instead. 2023-08-13 18:03:12 +02:00
Jasmine Iwanek
02e41927e3 Dribs and drabs which have escaped 2023-08-12 13:07:00 -04:00
OBattler
d9784e524e Attempt to make the MacOS mouse more precise. 2023-08-12 18:48:25 +02:00
OBattler
33471594f4 First batch of video fixes, also fixes the MDA timings. 2023-08-12 01:16:49 +02:00
Miran Grča
c166db004e Merge pull request #3543 from 86Box/tc1995
Video changes: (see below)
2023-08-12 00:30:57 +02:00
TC1995
1907026518 Update video.h
Fixes a possible conflict.
2023-08-12 00:22:54 +02:00
OBattler
8f9f10f4d3 The atomic mouse coordinates now use atomic functions and mouse movement is no longer scaled by DPI if mouse coordinates are not raw. 2023-08-12 00:17:01 +02:00
TC1995
f240e8cb0c Video changes:
1. The passthrough from VGA to 8514/A and/or 8514/A to VGA no longer relies on hackish places where to switch from/to, instead, relying on port 0x3c3 of VGA doing so (though the Mach8/32 still needs some places where to manually switch from/to, mainly the MCA one when configuring the EEPROM).
2. Implemented the MCA behalf of the Mach32 and its corresponding reset function.
3. Properly implemented (more or less) true color, including 24-bit BGR rendering
4. Other fixes such as color patterns and mono patterns being more correct than before in various operating systems and in 24-bit true color.
5. Implemented the onboard Mach32 video of the IBM PS/ValuePoint P60 machine.
6. Made the onboard internal video detect when it's 8514/A compatible or not (CGA/EGA/MDA/VGA/etc.). If the former is selected, then the video monitor flag is used instead (for QT).
7. The TGUI9400 and 9440, if on VLB, now detect the right amount of memory if on 2MB.
8. Initial implementation of the ATI 68875 ramdac used by the Mach32 and made the ATI 68860 8514/A aware when selected with the Mach32AX PCI.
9. Separated the 8514/A ramdac ports from the VGA ramdac ports, allowing seamless transition from/to 8514/A/VGA.
10. Fixed a hdisp problem in the ET4000/W32 cards, where it was doubling the horizontal display in 15bpp+ graphics mode.
11. Removed the 0x3da/0x3ba port hack that was on the Mach8/32 code, relying on the (S)VGA core instead.
12. Reworked and simplified the TGUI9440 pitch register based on logging due to no documentation at all.
2023-08-12 00:00:46 +02:00
OBattler
2391c11260 More clean-ups and mouse fixes. 2023-08-11 22:29:53 +02:00
OBattler
782015a923 More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice. 2023-08-11 04:45:32 +02:00
Miran Grča
e55b06da4c Merge pull request #3534 from jriwanek-forks/sonarlint
Yet more Sonarlint and a few warning fixes.
2023-08-10 05:13:47 +02:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
OBattler
a0a26a5504 Merge branch 'master' of https://github.com/86Box/86Box 2023-08-10 01:37:46 +02:00
OBattler
dbf9ef66fc Moved Voodoo initialization to the very end to minimize the likelihood of SCSI adapters ending up on the bridge. 2023-08-10 01:37:33 +02:00
cold-brewed
15013e1ede Added new platform function to get cpu string (#3533)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-09 18:12:27 -03:00
OBattler
b1c5cbaf47 Split the 286/386 interpreter away from the 486+ one (the 286/386 interpreter does not use the pccache's, readlookup's, and writelookup's as the emulated CPU's are too slow for them to be required, and also has more accurate FPU timings), also added a LPT status read function for future-proofing. 2023-08-08 19:39:52 +02:00
OBattler
c695cb8ded Completely reworked mouse handling - should now be smoother due to there no longer being a multi-layered game of telephone going on with all the various interim coordinate counters, also rewritten the serial mouse emulation ground ground up. 2023-08-07 18:49:58 +02:00
OBattler
cdb415ef0f Turned serial_attach() into a #define for serial_attach_ex(). 2023-08-07 17:41:13 +02:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
Jasmine Iwanek
cb774d3ce2 sonarlint vid_mda.c 2023-07-31 15:20:30 -04:00
Jasmine Iwanek
02ca9f5766 sonarlint vid_vga.c 2023-07-31 15:20:29 -04:00
Jasmine Iwanek
a65c2164e0 sonarlint vid_ega.c 2023-07-31 15:20:29 -04:00