Commit Graph

1643 Commits

Author SHA1 Message Date
Akamaki
58c5d9606e fixed some drawing issues in Win 3.1.
* Changed bitblt execution. This fixes a mouse cursor color issue in Windows 3.1.
* Fixed splash graphics broken in A-Train IV.
2025-02-16 23:47:10 +09:00
Akamaki
3f3d77310e cleanup format 2025-02-16 12:21:16 +09:00
Akamaki
bbc237866b changed palette initialization method 2025-02-15 23:14:07 +09:00
Akamaki
6c5e8897de update comments 2025-02-15 19:49:03 +09:00
Akamaki
1c7a8e5bbb updated comments, modified format 2025-02-15 18:32:12 +09:00
Akamaki
16fc5e7902 corrected compile errors, removed garbage 2025-02-15 12:08:50 +09:00
Akamaki
a850821ecb updated comment in monitor detection (vid_svga .c) 2025-02-15 11:29:44 +09:00
Akamaki
dc7e6c2d7f Disabled DA2 debug logging by default 2025-02-15 11:05:16 +09:00
Akamaki
8ceec325ef Merge branch 'master' of https://github.com/86Box/86Box into 86Box-master 2025-02-15 09:02:14 +09:00
Akamaki
bfac770b4e reupload without code modification 2025-02-15 08:27:17 +09:00
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
OBattler
a72b3884b5 Fixed (S)VGA memory access bitness stuff. 2025-02-14 07:26:22 +01:00
Akamaki
9ab1e35b16 added a Traditional Chinese font ROM info 2025-02-13 20:10:23 +09:00
Akamaki
eeb10651da the prev change must be restricted in CN fontset 2025-02-11 12:08:45 +09:00
Akamaki
cdc381b619 Added a new machine: IBM PS/55 model 5551-V0,V1 2025-02-11 11:27:41 +09:00
Jasmine Iwanek
d00f80d3ce General changes from the obattler_202406 branch
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05:00
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
Jasmine Iwanek
5b894c32e6 Macro Cleaning 2025-02-08 01:28:24 -05:00
Akamaki
3bfd2a6b16 Added a configuration to switch monitor types 2025-02-06 17:20:58 +09:00
Akamaki
f12b975eba Added support for PS/55 DA Simplified Chinese font
Changed a file path for the PS/55 DA Japanese font ROM.
2025-02-06 13:15:18 +09:00
Akamaki
6614a83b34 correct font read address in PS/55 video mode 03 2025-02-04 20:28:24 +09:00
OBattler
a540012f9a XGA: Move a variable initialization to IF blocks, fixes segementation fault when pat_src is 8 (eg. in Windows 95 on the MCA XGA). 2025-02-03 00:46:38 +01:00
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
TC1995
d881321268 Minor ATI 8514/A Ultra add-on change of the night (February 1st, 2025)
Actually make it work on NT by setting bit 0 of the read only config2 reg.
2025-02-01 22:19:55 +01:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
TC1995
b7100a6169 Video changes of the night (January 29th, 2025)
Matrox MGA:
A break from work can save the day all so to say. Fixes bitblt'ing on WinNT4.0/Win2000 using 32bpp modes and possibly other stuff using said Matrox chip.
2025-01-29 00:33:24 +01:00
TC1995
b141967a31 8514/A and S3 minor change (January 26th, 2025)
1. Cosmetic changes.
2. Revert the position of the starting coordinates of the Short Stroke command, fixes some glitches in NT and elsewhere.
2025-01-26 17:57:39 +01:00
TC1995
e61f3c8a5d Video changes of the day (January 26th, 2025)
XGA:
1. Added a proper poll so to have its timings independent of the SVGA core and changes its renderer accordingly, mainly a blank render one.
2. Workaround the Ctrl-Alt-Del reset of Windows 2.x so that it switches back to VGA text mode correctly when using the 0xA000 64K aperture (in vid_svga.c).

SVGA core:
Re-organized the way the different timers are organized so that the XGA and 8514/A pollers can coexist with the SVGA timer without conflicts.

ATI Mach32:
Reworked the true color renderer and made it a Mach32 exclusive due to its differences from the standard one. Fixes wrong rendered colors in NT using the 32bpp renderer in RGB mode.
2025-01-26 14:25:35 +01:00
Akamaki
23ba9889d2 Fixed an illegal memory access error
Fixed an illegal memory access error when reading font ROM data beyond 1 MB border
2025-01-20 15:16:36 +09:00
TC1995
f48c50f4ba The delayed video changes of the night (January 20th, 2025)
Generic SVGA layer:
Added function pointers of the banked mapping for use with add-on cards with their own mapping when the VGA card banked mapping is not active or viceversa (e.g.: XGA).

XGA-1/2:
1. Reimplemented Area Fill and Boundary Mode as best as possible.
2. Fixed conflicts with banked mapping with VGA clones.
3. Fixed inverted colors (again) on accelerated 16bpp mode under OS/2.

Video7 with ATI 8514/A add-on.
Added a workaround (BIOS issue? I don't know) that disables 8514/A mode and reenables VGA mode when needed. Fixes screen freezes and polling issues with various drivers for Windows and others.
2025-01-20 03:26:49 +01:00
TC1995
54a0bb8522 1st set of changes (video-related) of the day (January 16th, 2025)
ATI Mach8-based (add-on only):
Do not override the clone VGA banked mapping with the standard VGA when needed. Fixes issues with banked mapping with ATI 8514/A enabled on cards with clone mappings such as Cirrus, Video7, Paradise/WD, etc.
2025-01-16 22:37:52 +01:00
starfrost013
4f15889638 fix compile by fixing capitalisation 2025-01-12 23:09:03 +00:00
starfrost013
8c48478706 fix the screwed up callbacks 2025-01-12 19:11:20 +00:00
starfrost013
55f476617d Don't punch me in the face, and also fix the compilation, and also fix a stupid bug in log replay. 2025-01-12 19:07:27 +00:00
starfrost013
6eaec5b756 forgot to port over some parts 2025-01-12 15:31:54 +00:00
starfrost013
204b24022f Implement the rivatimer and cyclical logging from my main NV3 branch so that we can get it reviewed and merged. 2025-01-12 15:21:31 +00:00
Jasmine Iwanek
fabe71150c Various improvements & Cleanups
Some ported from ANightly's work
2025-01-11 21:25:29 -05:00
TC1995
3a22930c07 And Cirrus per the previous commit.
Improved the byte swap fix introduced time ago, this time by making it trigger on banked writes when needed.
2025-01-09 23:24:58 +01:00
TC1995
9bc5f0dd05 8514/A and S3 changes of the late day (January 9th, 2025)
S3:
1. Cleaned up the Short Stroke command processing.
2. Proceed calculating the error term only when it's equal or greater than the line length (Draw Line, Command 1 and also applies to Short Strokes, Command 0).

8514/A compatibles:
1. Reworked the polygon draw type A processing.
2. As with the S3, reworked the way error term is handled in the processing, and on Command 5 (Draw Polygon Boundary Line).
2025-01-09 22:58:40 +01:00
OBattler
80735cc70a Fixed a warning in src/video/vid_voodoo_render.c. 2025-01-08 11:38:46 +01:00
OBattler
f39c3491bf Voodoo: Fixes HUD transparency bugs in Extreme Assault Voodoo executable (interpreter and x86-64 recompiler only). 2025-01-08 11:26:15 +01:00
OBattler
e833e1da3f Force resizes on overscan parameter changes. 2025-01-06 20:12:49 +01:00
OBattler
50c97f0158 Voodoo 3/Banshee: Some CMDFIFO fixes. 2025-01-06 16:59:15 +01:00
TC1995
4c9fb63c74 S3 changes of the day (December 25th 2024, Christmas 2024 gift)
1. Initialize Multifunction indexes 0x0D and 0x0E properly, should fix inverted colors on S3 OS/2 Warp drivers.
2. Make the remaining Vision868/968 only ports handle the 32-bit toggling properly.
3. Cleanups
2024-12-25 19:47:23 +01:00
TC1995
8f51ca82b0 ViRGE changes of the day (December 22nd, 2024)
1. Proper pixel clock implemented on GX2 and up chips. Fixes speed on various stuff (including games for Windows).
2. Cleanup.
2024-12-22 19:21:32 +01:00
TC1995
a27c4bc7a4 8514/A change of the day (December 22nd, 2024)
Fix nibble pixtrans on bitblt command (CMD 6), this makes icons and stuff on MS OS/2 1.10 Nokia's 8514 driver no longer glitchy (IBM's was already fine as is and it still is).
2024-12-21 23:57:26 +01:00
OBattler
1c37108e12 Fixed the CL-GD 54xx linear aperture. 2024-12-21 01:08:24 +01:00
TC1995
e4739de5cc S3 and Cirrus updates of the first day of winter (December 21, 2024)
Cirrus 5436/46 and 5480.
Finally fixed the Solaris 2.6 font issue, was a dword swap one with color expansion.

S3.
1. Make 868/968 ignore horizontal skew, ergo horizontal override until a proper solution is found regarding hardware tests.
2. Fixed a minor mix issue with S3 911/924 Win3.1 drivers in 8bpp mode.
2024-12-21 00:11:34 +01:00
OBattler
80a0c48785 Memory mappings can now specify to ignore some address bits, fixes some Cirrus Logic drivers for Windows 3.1x freezing. 2024-12-18 01:19:50 +01:00
OBattler
463badd613 kB -> KB. 2024-11-19 04:08:21 +01:00