Commit Graph

15104 Commits

Author SHA1 Message Date
starfrost013
c8e7bfac9e make 2k and 9x live happily together, seems vtrace register bit 1 controls rowoffset shifting 2025-03-30 02:38:59 +01:00
starfrost013
0e16ef5498 Implemented a dummy M2MF class implementation until I fully understand it. This is enough to get Windows 9x to display something. 2025-03-29 23:25:15 +00:00
starfrost013
4e01ee82c7 Mostly fix 32bpp (8bpp blackscreens instead of drawing garbage all over the screen) by shifting row offset appropriately for the pixel mode. 2025-03-29 21:26:37 +00:00
starfrost013
d8fae9abc5 fix clipping of images, black line is gone... 2025-03-29 20:39:02 +00:00
starfrost
be97f8d3c5 Merge branch '86Box:master' into master 2025-03-29 19:07:16 +00:00
starfrost013
7234b432ac inform the emulator of the video timings 2025-03-29 19:06:46 +00:00
OBattler
b6b840b67e Recognize 8514/a-type cards as (S)VGA for the purposes of force 4:3 calculations, fixes blurry picture and wrong resolution. 2025-03-29 19:54:48 +01:00
OBattler
8b646ccc49 Fix a compile-breaking mistake in machine/m_ps1.c. 2025-03-29 18:47:21 +01:00
OBattler
e48c6c8e8b Laser XT3: No longer use the other BIOS that has not yet been committed. 2025-03-29 18:40:27 +01:00
OBattler
c1ecafaeb5 IBM PS/1 Model 2011: No need to explicitly refer to the zeroth element of the config array. 2025-03-29 18:38:20 +01:00
OBattler
99c81fe03d IBM PC/XT/AT and PB450: Remove "Device" from machine device_t names. 2025-03-29 18:36:33 +01:00
OBattler
8cc6f21536 PB450: Fix the default BIOS selection, fixes segmentation fault. 2025-03-29 18:32:41 +01:00
starfrost013
c28a596a34 Make unimplemented methods a warning rather than log them, and add logging for each method executed. 2025-03-29 17:04:41 +00:00
starfrost013
cc68dcecc4 general minor code cleanups. fix logs, send vram writes (0x1000000-0x17fffff), if these ever happen, to DFB, and more 2025-03-29 16:52:21 +00:00
starfrost013
499a97dd97 Merge branch 'master' of https://github.com/starfrost013/86box 2025-03-29 16:23:19 +00:00
starfrost013
2829669740 Redirect all PRMCIO/PRMVIO writes to SVGA subsystem, not just a few random ones. 2025-03-29 16:23:18 +00:00
starfrost
e8b498af07 Merge branch '86Box:master' into master 2025-03-29 16:20:18 +00:00
Miran Grča
bd158191c9 Merge pull request #5405 from 86Box/tc1995
More display changes.
2025-03-29 14:51:10 +01:00
TC1995
1c98437e66 More display changes.
SVGA related:
If CRTC1/HDISP is odd (if bit 0 is set), then make it even accordingly, else leave it as is. Should fix some display skews.

S3 related:
Remove old code references (can still be accessed through history if one needs it).

8514/A compatible related:
Proper use of the htotal and hdisp timings.
2025-03-29 14:49:13 +01:00
Miran Grča
219bf9cf9e Merge pull request #5404 from 86Box/tc1995
Vast overhaul for the Mach8/32/8514/A (March 29th, 2025)
2025-03-29 14:43:58 +01:00
TC1995
c91f2255ad Vast overhaul for the Mach8/32/8514/A (March 29th, 2025)
1. Implemented the FIFO test data to pass some tests of the Mach8 POST ROM and tests (not complete yet).
2. Overhauled the mode switches again, but this time with way less hacks and more on manual instructions.
3. Use a function pointer to determine if the Mach8 type used is a VGA combo or add-on.
4. Mach32 mode tests are no longer incorrectly green (was caused by improper pixtrans parts).
5. Implemented overscan color to the Mach32 as well as the CRT offset.
6. And fixed a PCI LFB GPF issue with the Mach32 2.3 drivers on Win3.1x.
7. Implemented memory boundary for both the Mach32 SVGA and its accelerator.
8. Added undocumented ports used by the FIFO (such as ports 0x8AEE and 0xEAEE).
9. Plus resetting the device right a la s3.
10. Temporarily switched the bus type of the Mach8 to 8-bit in both MCA and ISA variants.
2025-03-29 14:42:25 +01:00
Miran Grča
a34bfa56b0 Merge pull request #5403 from 86Box/tc1995
More fixes for 5380-based SCSI chips of the day (March 29th, 2025)
2025-03-29 14:26:10 +01:00
TC1995
6d43f7e2df More fixes for 5380-based SCSI chips of the day (March 29th, 2025)
1. Avoid audio stops when they don't need to be.
2. And improved the MMIO-based NCR 53c400 timings to be similar to the port I/O-based one (T130B).
3. Minor timing fixes to the T128/PAS as well (especially for the hdd, when entering Windows 1.x using a SCSI HDD).
2025-03-29 14:24:20 +01:00
OBattler
bb22e1dccb Moved the Packard Bell PB450 to the correct place on the machines list. 2025-03-29 08:14:30 +01:00
OBattler
2ed64c8399 Machine settings: Reduce the two loops to determine present machine types to a single loop, reduces the number of iterations from (number of machine types * number of machines) to just (number of machines), speeding things up. 2025-03-29 08:11:04 +01:00
OBattler
fcd6bd9c66 Serial: Give the OKI IF386AX 16450 serial ports instead of 8250. 2025-03-29 01:22:35 +01:00
Miran Grča
67a5e75cc5 Merge pull request #5399 from 86Box/feature/indicator-overlays
Generate status bar icons dynamically using separate overlay icons; remove custom icon set support
2025-03-29 00:42:04 +01:00
David Hrdlička
8b72c84c02 Use indicator overlays for status bar icons 2025-03-29 00:31:56 +01:00
David Hrdlička
ed4a312f4f Remove support for icon sets 2025-03-29 00:31:50 +01:00
OBattler
c00c432398 EGA: Fix colors in mono mode and attribute registers, fixes #5395. 2025-03-29 00:10:39 +01:00
Miran Grča
43df4da019 Merge pull request #5398 from 86Box/feature/icon-grayscaling
qt: implement authentic icon grayscaling
2025-03-28 22:51:31 +01:00
David Hrdlička
f422a9ce3d qt: implement authentic icon grayscaling 2025-03-28 22:15:58 +01:00
Miran Grča
18fbb25c24 Merge pull request #5397 from Cacodemon345/qt-locale-changes
Set LC_NUMERIC to "C" in program startup to fix GLSL parameter parsing
2025-03-28 20:21:58 +01:00
Cacodemon345
dd0e626133 Set LC_NUMERIC to "C" in program startup
For whatever fucking reason, glibc's functions dealing with decimal numbers apparently can only accept either commas or dots in strings, but not both. Meanwhile, both Windows and macOS have no apparent issues accepting both.

I will never understand why they decided to even consider such behaviour acceptable, especially since those ARE used for parsing decimal numbers in many programs, but I guess it's their own version of Not Invented Here syndrome that they (or anyone else) can't be bothered to deal with. This is not how good C standard libraries are written, at all.
2025-03-29 01:18:37 +06:00
Miran Grča
524db95838 Merge pull request #5394 from Cacodemon345/patch-768062
host_x86_MOV8_REG_ABS: Avoid more fatals
2025-03-28 17:37:19 +01:00
Cacodemon345
94cf5d59a2 host_x86_MOV8_REG_ABS: Avoid more fatals 2025-03-28 22:35:56 +06:00
OBattler
6366ff7580 JEGA: Fix two uninitialized variables. 2025-03-28 08:09:51 +01:00
OBattler
8f6f21b57e IBM VGA: Re-add the forgotten (S)VGA I/O handlers. 2025-03-28 06:54:45 +01:00
OBattler
47febdf196 JVGA: Read CRTC registers from VGA rather than EGA, fixes Wolfenstein 3D. 2025-03-28 06:42:11 +01:00
OBattler
63222b70db Added the OKIVGA/H-2 (JVGA/H). 2025-03-28 06:16:05 +01:00
OBattler
8a8ed60043 EGA: Send monochrome attributes through the EGA palette lookup like the real hardware also does. 2025-03-28 03:29:11 +01:00
OBattler
cec630fa75 JEGA: Use colors based on a photo of the real OKI IF386AX when the LCD is in use to tell it apart more easily, and reset all devices on port 65h reset, fixes Trantor SCSI BIOS not finding any devices after such a reset. 2025-03-28 03:26:28 +01:00
OBattler
ffd00e4527 Forgot 86box.c. 2025-03-27 19:14:01 +01:00
OBattler
93f3e9f339 Keyboard: Actually reset everything in keyboard_init() and call it in pc_reset_hard_init() as well. 2025-03-27 19:10:20 +01:00
Miran Grča
7ee19c0a55 Merge pull request #5392 from akmed772/da2dev
Fix bugs related to PS/55 emulation
2025-03-27 18:58:20 +01:00
Akamaki
da855e02b4 PS55DA2: Fix video switcher
Fix an issue that the screen is resized repeatedly when booting OS/2.
2025-03-28 01:30:00 +09:00
Akamaki
209b29a239 PS55DA2: cleanup, change func scope
remove unused variables, change funcs declaration scope, reformat debug code
2025-03-28 00:55:33 +09:00
Miran Grča
a481cf3b4d Merge pull request #5385 from flama12333/patch-7
Replace MACHINE_PCI with MACHINE_PS2_PCI for pl4600c and  Dell Dimension XPS P60 machine_table.c
2025-03-26 18:44:35 +01:00
Miran Grča
4acb47563d Merge pull request #5390 from Cacodemon345/nec-v20-8080
Implement NEC V20/V30's i8080 emulation mode
2025-03-26 18:40:31 +01:00
Cacodemon345
abbae5efd2 Cleanups 2025-03-26 23:18:36 +06:00