Commit Graph

1959 Commits

Author SHA1 Message Date
OBattler
9236856ad5 Fixed the DEVICE_COM flags onwards, should fix serial mice. 2025-02-14 16:39:42 +01:00
OBattler
549df9af7f Updated a header. 2025-02-14 09:09:51 +01:00
OBattler
a8cbb4deef Corrected the ISA and Sidecar flags. 2025-02-14 08:03:15 +01:00
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
OBattler
5b6a965900 Bring machine flags on par with device flag and clean up device_is_valid() accordingly. 2025-02-14 07:10:55 +01:00
OBattler
30ca057519 Removed the last remnants of device_t.poll(). 2025-02-13 01:06:40 +01:00
OBattler
187a1ca416 The NVR name is now obtained from the selected machine BIOS type if applicable. 2025-02-13 00:45:10 +01:00
OBattler
4806519388 The device_t available/poll union is now gone, mouse poll is now set using mouse_set_poll(), and mouse_curr is now also gone. 2025-02-13 00:23:35 +01:00
OBattler
90ba9eda08 Fixes to the device and machine configuration string getters and accordingly reverted the serial passthrough fix as well as it's no longer needed. 2025-02-12 05:18:12 +01:00
Jasmine Iwanek
a4fd6a0895 Seperate Socket 3 and Socket 3 PCI
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:25:29 -05:00
Jasmine Iwanek
e592ab5505 ACCESS.bus
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05:00
Jasmine Iwanek
370481ceed Serial IRQ function
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05:00
Jasmine Iwanek
dd24d0329c FIFO tagged functions
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05: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
0c997cc4eb Add ISA, VLB & PCI second channel IDE devs 2025-02-08 21:22:49 -05:00
Jasmine Iwanek
b86e459e78 A couple of cleanups in hdc_ide.c 2025-02-08 21:22:49 -05:00
RichardG867
34fbecb377 CS423x: Add proper on-board CS4236B to the Intel AP440FX
Default PnP ID patches have been removed as the AP440FX BIOS confirms the CSC4236 ID never changed (as later documented on CS4235/9)
2025-02-08 00:06:54 -03:00
RichardG867
b7f7975054 CS423x: Add on-board CS4236 to the VS440FX 2025-02-07 20:44:21 -03:00
OBattler
35a12e0826 CD-ROM: IOCTL now detects medium changes without having to read the host drive's TOC on every operation, improves performance. 2025-02-03 10:57:19 +01:00
Jasmine Iwanek
a3fb32cdc3 Rename define+device for Realtek 8019AS PNP 2025-02-02 05:03:44 -05:00
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
Jasmine Iwanek
ac891a05a5 Initial code for joystick port instancing 2025-01-31 21:49:56 -05:00
Jasmine Iwanek
3b29b769c3 Config 2025-01-31 21:32:43 -05:00
Jasmine Iwanek
e96c6579ba Gameport backend work 2025-01-31 21:32:43 -05:00
OBattler
e11b5535e1 Fixed some CD-ROM commands not stopping audio play when they should have (fixes data playing as audio, producing nasty artifacts, in some games), and increased the media history for all drive types from 4 to 10, also refactored cdrom_read_sector() and moved the last module-wide variables into the cdrom_t struct. 2025-01-30 08:15:39 +01:00
OBattler
90e1190c92 The great CD-ROM clean-up and rewrite, fixes #5134. 2025-01-28 16:26:28 +01:00
rushieda
f78403ffe5 Add the PC Partner VIA809DS (Socket 7 D.V./VIA VP3) 2025-01-27 12:01:23 +03:00
OBattler
8f5cf293bd Assorted fixes, including warning message box for unavailable devices and translation fixes. 2025-01-27 01:20:37 +01:00
Miran Grča
87a88eae88 Merge pull request #5177 from rushieda/globalyst330_p5
Add the AT&T Globalyst 330 (Pentium/Socket 4)
2025-01-27 01:03:19 +01:00
Miran Grča
21eeac3eb7 Merge pull request #4786 from chungy/f8f12_everywhere
Use F8+F12 to release mouse on all platforms
2025-01-27 00:58:51 +01:00
TC1995
9af10bdac3 More changes to the 5380 chips (January 26th, 2025)
Apparently the Trantor T130B SCSI controllers has a different way of calculating the timings and removed the scsi_bus_read() calls from the Current SCSI bus status port (Read Port+4).
Fixes NT using said controller as well as CD swapping while maintaining the correct accurate CD speed.
2025-01-26 15:42:03 +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
rushieda
fbd1a16eeb Add the AT&T Globalyst 330 (Pentium/Socket 4) 2025-01-25 00:22:59 +03:00
OBattler
714eadfc3a NVR: Get/set time functions now take a void pointer, so nvr.h can be included without requiring time.h. 2025-01-23 10:31:31 +01:00
TC1995
4008010131 Big SCSI bus update of the day, NCR 5380 too (January 20th, 2025)
1. Separate the SCSI bus functions from NCR 5380 into true general purpose SCSI bus functions, allowing use of future legacy scsi controllers.
2. Corrected NCR 5380 chip period for the SCSI controllers based on that chip so that CD-ROM speed is correct enough per speed tests and no more breakage (I hope, report if they are still there, please!) on desyncs.
3. A NCR 5380 software reset involves asserting an IRQ.
2025-01-20 19:55:18 +01: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
RichardG867
84853cb21f AD1848: Plumbing for more CS423x chips 2025-01-19 20:23:11 -03:00
OBattler
458f721897 The forgotten mem.c/h changes. 2025-01-16 23:27:44 +01:00
MaxwellS04
43cf6e0b51 Added 9 more ATA-4/ATA-5 HDD models
-Small corrections to ATA-4 Western Digital HDD models
-Line fixes to cdrom.h
2025-01-16 13:07:23 +07:00
MaxwellS04
2a16c3cea6 Added other five models I have forgotten
Also changed the HL-DT-ST CD-ROM to reflect the model revision.
2025-01-15 16:42:13 +07:00
MaxwellS04
72571d6211 Added other two models (1x DVD/1x CD)
Also updated the revision on CRN-8245B
2025-01-15 14:26:31 +07:00
MaxwellS04
0063a9f403 Name corrections to LG CRN-8245B 2025-01-15 12:33:26 +07:00
MaxwellS04
75b9923283 Correct the revision names 2025-01-15 07:45:13 +07:00
MaxwellS04
6b89a2e74d Small name fixes to CDR-1900A 2025-01-15 07:30:48 +07:00
MaxwellS04
7bc89f6feb Added a plenty of IDE CD-ROM models
-Added other four ATA-3 models
-Corrections to Western Digital pre-ATA-4 HDD models
2025-01-15 07:13:21 +07:00
unreal9010
1d6a49d749 Update cdrom.h 2025-01-14 19:11:56 +01:00
unreal9010
70891ffdb5 Updated INQUIRY 2025-01-14 18:59:31 +01:00
unreal9010
46426d5e92 Update cdrom.h for TEAC CD-532E/NEC CDR-1900A 2025-01-14 17:16:04 +01:00
Miran Grča
8762b9e084 Merge pull request #5135 from starfrost013/phase0
RIVA 128 preparation: Implement high-frequency timer asynchronous to guest CPU and a new logging function to detect repeated patterns of lines
2025-01-14 01:38:18 +01:00
starfrost013
b1f54b9b84 Move cyclical logging to the new logging system per obat feedback. 2025-01-14 00:31:13 +00:00