Commit Graph

506 Commits

Author SHA1 Message Date
Miran Grča
42fd585043 Merge pull request #1280 from luisjoseromero/chrome_tracing
Integrated Chrome tracing
2021-02-15 03:03:50 +01:00
luisjoseromero
c0e7ac3762 Integrated Chrome tracing
Added support for chrome tracing by integrating the
minitrace library (github.com/hrydgard/minitrace),
and modified it with a background flushing thread that allows
tracing to continue automatically after the predefined
1 million event limit.

Menu items and an accelerator (Ctr+T) have also been
added. Starting and stopping the trace simply replaces
trace.json with the new trace data.

The feature is disabled by default. Pass MINITRACE=y
to the build command to enable it. Some traces are
already added as an example, however they won't have
any effect if the feature is disabled.
2021-02-14 17:27:46 +00:00
EngiNerd89
f026ac6eea Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2021-02-07 00:24:21 +01:00
qeeg
b9dfd082e1 Fixes to legitimate issues Sonarcloud caught in our code 2021-02-04 16:10:53 -06:00
OBattler
fb015c3f76 Fixed the hardware cursor on divided-by-two clock modes. 2021-01-29 23:36:16 +01:00
TC1995
257890ed83 Fixed the solid foreground/background mode of the v7vga, makes the Windows 2.x/286 v7 1024i 4bpp drivers look correct.
Partial fix for the too wide Win3.0 built-in v7 8bpp drivers as well as cursor movement (v7 1024i only)
2021-01-29 23:09:10 +01:00
TC1995
b9664c83d6 Implemented masked writes to the v7vga code, fixes NT December 1991/July 1992 v7vga drivers in 1024x768 4bpp mode. 2021-01-27 16:41:41 +01:00
Miran Grča
8200ef5db6 Revert "Added new NCR and Olivetti machines" 2021-01-25 19:30:45 +01:00
Miran Grča
306a2e40de Merge pull request #1244 from EngiNerd89/EngiNerd
Added new NCR and Olivetti machines
2021-01-24 04:31:11 +01:00
TC1995
e39709696e Experimental rework of the video 7 code (HT216). 2021-01-24 03:36:46 +01:00
EngiNerd89
2bac676e70 Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2021-01-23 19:03:36 +01:00
EngiNerd89
ec929b455e Improved memory management of Olivetti machines.
Added On-board video card for NCR 3302
2021-01-23 17:59:02 +01:00
luisjoseromero
9ddd0a841f Turn all mutexes into critical sections
Removing all win32 mutexes and turning them into critical
sections, since mutexes in win32 are meant generally for
inter process communication, tend to be slower, and aren't
really needed for current purposes. Critical sections
are roughly equivalent to std::mutex in the c++ stl.
2021-01-20 23:45:33 +00:00
luisjoseromero
eca2625093 Force Voodoo blit
Certain applications using the Voodoo adapter stop blitting
when there's no activity (e.g mouse movement, animation).
This results in a black screen when events like window/full screen
transitions take place. Usually this can be fixed by
moving the mouse or with keyboard inout. This change forces
a blit to refresh the screen.

In addition, added critical sections since they are lighter
than mutexes.
2021-01-19 00:39:40 +00:00
EngiNerd89
a4de9d514b Implemented some Olivetti M300-family machines.
Implemented NCR PC916SX
Implemented PC87310 SuperIO
2021-01-17 14:39:45 +01:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
TC1995
17b5596494 Fixed the Compaq CGA crash upon initialization. 2021-01-12 12:52:00 +01:00
OBattler
b9b753c9aa Fixed the SCAMP chipset emulation and the Commodore SL386SX-25 (it was using the SL386SX-16 BIOS), added the SL386-SX16 (NEAT) and the Samsung SPC-4620P, SPC-6033P, and SPC-6000A. 2020-12-28 05:34:33 +01:00
David Hrdlička
57d0c7d5ae Remove non-standard d suffix for double literals 2020-12-27 02:58:19 +01:00
OBattler
c68a36c2bb Renamed the RGB525 DAC file to the correct RGB528 name and remove excess pclog lines. 2020-12-22 14:58:28 +01:00
OBattler
06003f0c0d Merge branch 'master' of https://github.com/86Box/86Box into feature/968_new 2020-12-22 14:28:46 +01:00
TC1995
eeabeeb2bb Added the latest fixes to support the 868/968 video engine and the 868 itself. 2020-12-22 14:17:22 +01:00
TC1995
b44ba0e69b Fixed the previous commit. 2020-12-21 20:53:24 +01:00
OBattler
da1de8aaf5 40x25 text mode and Cardex ET4000/w32p 80x25 text mode now actually fixes. 2020-12-20 21:14:24 +01:00
OBattler
2dc7b95496 Fix conflict. 2020-12-19 16:25:44 +01:00
OBattler
7733bc826d Fixed the new MMIO mapping size of the S3 Virge968, Paintbrush no longer hangs but does not display correctly, pending the implementation of the Video engine. 2020-12-19 16:23:47 +01:00
OBattler
fd044440b3 S3 Vision968 work. 2020-12-19 16:22:51 +01:00
OBattler
a00b82cdf8 Fixed S3 linear mapping on Vision964 and earlier. 2020-12-19 16:09:32 +01:00
OBattler
13689ca958 Fixed the new MMIO mapping size of the S3 Virge968, Paintbrush no longer hangs but does not display correctly, pending the implementation of the Video engine. 2020-12-19 16:09:32 +01:00
OBattler
645429e5f2 S3 Vision968 work. 2020-12-19 16:09:32 +01:00
OBattler
d0bdee2d69 Fixed S3 linear mapping on Vision964 and earlier. 2020-12-19 12:40:23 +01:00
OBattler
2c0a7113c3 Fixed the new MMIO mapping size of the S3 Virge968, Paintbrush no longer hangs but does not display correctly, pending the implementation of the Video engine. 2020-12-19 12:40:23 +01:00
OBattler
0626c0a698 S3 Vision968 work. 2020-12-19 12:40:23 +01:00
OBattler
0ef52c4762 Disabled greatpsycho's (S)VGA clock skew in some situations, fixes #789 (needs a proper fix, but this will do as a band-aid). 2020-12-18 18:09:59 +01:00
David Hrdlička
53144ed8ec fix target architecture checks 2020-12-16 20:32:56 +01:00
David Hrdlička
a0c833e970 voodoo: convert variable length arrays to malloc'd 2020-12-16 20:26:34 +01:00
EngiNerd89
4a00adc501 Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2020-12-13 16:55:52 +01:00
RichardG867
c6895ccad6 Fix Mach64 warning 2020-12-11 18:27:42 -03:00
RichardG867
8c29322c39 Merge branch 'master' of https://github.com/86Box/86Box 2020-12-11 18:25:31 -03:00
RichardG867
694522a241 Fix ATI Mach64 DDC (to a degree; VBIOS works but Windows driver has a suspected bug) 2020-12-10 20:32:07 -03:00
EngiNerd89
901a75bb5d Ported NCR PC4i from PCem.
Implemented NCR NGA (640x400 extended CGA) graphic card.
2020-12-08 18:33:20 +01:00
Winins0
5f37f86a57 Moved the OGC in vid_table.c. 2020-12-07 16:57:12 +03:00
EngiNerd89
9daf161aee Added the following new machines:
- Olivetti M19.
- Olivetti M240.

Implemented mainboard jumper settings for Olivetti M24 machine:
- Like on a real M24, onboard video card can be disabled, and other video cards can be installed.
- Renamed m_olivetti_m24.c to m_xt_olivetti.c, as it handles all XT-class Olivetti machines.

Decoupled Olivetti OGC (640x400 extended CGA) from M24 machine code:
- OGC exists both as 16-bit proprietary card and 8-bit ISA card (GO708).
- Implemented underlined text handling in 80x25 character mode.
- Like Compaq CGA, replaced code portions common to CGA with calls to vid_cga.c.
2020-12-05 20:15:53 +01:00
RichardG867
29a0ce48e7 Merge branch 'master' of https://github.com/86Box/86Box 2020-12-03 01:46:04 -03:00
TC1995
462ff300da Ported the most important patches from PCem. 2020-12-01 21:06:01 +01:00
TC1995
54c1ea2e3b Ported the 128K mapping fixes to 86Box. 2020-11-28 23:52:04 +01:00
OBattler
546c2788f0 Fixed the Cirrus Logic CL-GD 5480 on NT 5.x and ported tonioni's Cirrus improvements from WinUAE where relevant. 2020-11-28 07:03:26 +01:00
OBattler
7c78fa4672 Fixed two compile-breaking mistakes in the Voodoo Banshee/3 Blitter. 2020-11-26 22:58:53 +01:00
TC1995
8671351c84 Ported the latest bunch of Voodoo related commits from PCem. 2020-11-26 22:32:43 +01:00