Commit Graph

874 Commits

Author SHA1 Message Date
OBattler
8e1acfa3b1 Mouse Systems mice: The last two bytes of the report are now correctly the mouse movement delta between when we've initially prepared the report for sending and when we've reached the 3rd byte. 2026-01-31 06:17:25 +01:00
OBattler
51e0e88329 More LPT device sanitization, un-dev-branch the Generic PCL printer, add language selection to it and the PostScript printer (including a Raw option), and translate the missing strings. 2026-01-27 09:40:53 +01:00
OBattler
9b7b92622b Restructure LPT devices so that lpt_device_t is now only used internally while the exposed LPT devices are now regular device_t's. 2026-01-27 06:47:08 +01:00
OBattler
e6935b78ff VFIO: Fix a compile-breaking error accidentally introduced earlier today. 2026-01-25 06:34:05 +01:00
OBattler
197348a43f PCI: Make PCI configuration reads and writes length-aware and fix the DC390 PCI device ID AND'ing with EEPROM DO. 2026-01-24 16:10:08 +01:00
OBattler
57af22f32f Fix a warning in the VFIO code and attempt to use checkStateChanged instead of stateChanged when compiling with Qt 6. 2026-01-22 12:31:02 +01:00
Cacodemon345
d8545025c5 Fix Break key on Set 2 scancodes 2026-01-17 22:46:15 +06:00
Cacodemon345
d813df9a44 Fix Break key for real 2026-01-17 22:35:51 +06:00
OBattler
17f18e064f Mouse: Move the delta division by 120 to mouse.c to properly accumulate smaller deltas with high-precision host mice on Windows hosts. 2026-01-17 16:54:13 +01:00
Alexander Babikov
2b99bf64bd Merge machine_getname_ex into machine_getname 2026-01-01 22:27:41 +05:00
OBattler
e81a49d62a Toshiba T3100: Some clean-ups and call video_reset() before the on-board graphics card is added - fixes the font being overwritten with the default one. 2025-12-31 19:48:45 +01:00
OBattler
2c670bf42d Fix extended key processing on XT 101/102-key and AT 84-key keyboards. 2025-12-31 18:54:28 +01:00
Cacodemon345
d1bcf8421c Play/record indicators for cassette 2025-12-26 23:08:54 +06:00
OBattler
0055af732a Increase MAX_IMAGE_PATH_LEN to 4096 bytes (to fix that config.c warning) and make sure all file name arrays are of that length (no more hardcoded 512 or 1024). 2025-12-22 23:33:56 +01:00
OBattler
422944ec1a AT KBC: Remove the now unused variable. 2025-12-21 17:07:57 +01:00
OBattler
0516aa3d00 AT KBC: Actually leave the P1 video type bit handling to the machine code - the handling on the KBC side was redundant. 2025-12-21 17:05:51 +01:00
RichardG867
4af49b4f9b Replace a couple more machine internal name anchors with the init function 2025-12-20 19:02:29 -03:00
OBattler
82728f4ebb C&T KBC: Implement unknown command B3h as a dummy command that only outputs the output buffer, fixes the Atari PC4. 2025-12-16 23:00:12 +01:00
OBattler
631c1e6825 KBC: Move almost all remaining global variables to the kbc struct and fix some incorrect ='s to =='s. 2025-12-14 20:39:23 +01:00
OBattler
d0583d62d6 XT Keyboard: Actually honor the configuration option for the keys. 2025-12-12 15:20:11 +01:00
win2kgamer
2f594a1e8f Add the OPTi 82c931 audio controller
All drivers work outside of CDSETUP.SYS from the v2.04 DOS/Win3.1 driver package failing to detect the card. SNDINIT from the same package does work so audio is functional.
2025-11-30 17:51:06 -06:00
win2kgamer
4d577843de ISAPnP: Ensure isolated_card is set when card is put into isolation state 2025-11-30 12:52:05 -06:00
OBattler
935240511a Apply it to the mouse code. 2025-11-25 00:20:34 +01:00
Thraka
3d9f31e85f Move to C var; handle keyboard/mouse fullscreen conditions 2025-11-16 12:02:27 -08:00
WNT50
3444080d97 Add base memory backfill for Everex EV-159
Add standard base memory backfill and special CS8220 mode backfill for Everex EV-159
2025-11-10 05:29:08 +08:00
OBattler
3ff20c7899 ISA PnP: Add the missing else in isapnp_enable_card(). 2025-11-08 03:36:21 +01:00
Bozo Scum
2bf3c5a864 complete the onboard RTC Port Address and IRQ selection passing for Multitech PC-500 and PC-500+ 2025-10-30 15:46:37 +08:00
Jasmine Iwanek
57704c9624 Support for Serial card in PCjr modem slot 2025-10-21 23:32:20 -04:00
bozoscum
151e0bdd16 more Multitech PC-500/500+ modifies (#6298)
* add DTK PIM-TB10-Z BIOS 2.39

* change Multitech PC-500/PC500+ KBC type to XTClone

* 1. add ISA RTC century field to support Multitech onboard RTC
2. hard-coded I/O port and IRQ for Multitech onboard RTC until
   find a prorper way to obtain correct value from machine config
2025-10-08 15:39:40 +02:00
bozoscum
39b249fedf Some modifications for Multitech machines (#6258)
* add alternative OEM model names for Multitech machines

* add Multitech PC-700 BIOS 3.30

* add Multitech PC-900 / Commodore PC-40 BIOS v2.07a.xc

* add Multitech PC-500+ BIOS 4.03 and 4.06

* correcting display name of Multitech BIOS 3.10 to 3.1

* merge with origin/master

* fix github-advanced-security check error 'uninitialized local variable'

* implement the Multitech onboard ISA RTC device
2025-10-06 03:28:00 +02:00
win2kgamer
5c9fa029bf Implement the VLSI SuperCore/Wildcat chipsets (#6247)
* Add the VLSI SuperCore and Wildcat chipsets

* Disable logging and minor cleanups

* Add the AST Bravo MS P/90 (Rattler)

* Add the AT&T Globalyst 620 (NCR 3248)

* Add the DEC Celebris 5xx

* Add the DFI G586VPM Rev C

* Add the Packard Bell PB600

* Fix southbridge PCI Command Register writes

* Block the Cyrix 6x86 on incompatible machines

* Rename the AT&T Globalyst 620 to include the names of the NCR counterparts

* Add the Zeos Pantera Wildcat

* Add RZ-1001 variant of the RZ-1000 PCI IDE controller and made the Zeos Pantera Wildcat use it

* Add the Micronics M54Si

* Update machine_table.c

* Re-add new machines to machine table

* Update machine inits to use new KBC device names

* Use correct machine init method as NVRAM init is done by the chipset code

* Use a Phoenix KBC for the AST Bravo since the BIOS calls command D5h to show the KBC revision

* Update KBC comments in machine table

* Update VLSI 59x chipset comments

* Update machine inits for new super I/O code

* Reorganize machines and update comments

* AST readout device actually has multiple indexed registers

* Implement the AST Bravo MS ECP DMA configuration

* Implement jumpered/hardwired ECP DMA for the remaining machines

* Fix ECP DMA on the AST Bravo MS

* Move the DEC Celebris to the Socket 4/5 category

* Implement SMI I/O port read, fixes APM init on AT&T, Micronics and Zeos machines

* Convert AST readout device to new logging system

* Update KBC init to new method

* Cleanups
2025-09-29 04:48:33 +02:00
OBattler
1dbc304b2f The forgotten isapnp.c and .h. 2025-09-27 01:28:43 +02:00
OBattler
60bef8bb48 Ne2000-compatibles: Fix IRQ's (this will break RSET8019 again, I'm trying to understand now to fix it). 2025-09-26 18:20:06 +02:00
OBattler
e7645e5c39 ISA PnP and RTL8019AS: More fixes - fixes I/O range check errors in jumperless mode. 2025-09-25 05:45:14 +02:00
OBattler
4a84c0012c ISA PnP: Improve I/O range check handling code. 2025-09-25 03:03:58 +02:00
OBattler
ae369dc34d RTL8019AS and ISA PnP: More fixes. 2025-09-25 00:58:53 +02:00
OBattler
01c410479b RTL8019AS and ISA PnP fixes: fixes PNPODI.COM. RTL8019AS now detects the card but thinks there's an IRQ conflict. 2025-09-24 15:16:59 +02:00
Miran Grča
810f17c50f Merge pull request #6192 from 86Box/feature/int-cast
Add integer casting macros
2025-09-22 00:55:49 +02:00
Jasmine Iwanek
f3f2068d1a VFIO - Virtual Function I/O
Co-Authored-By: richardg867 <540874+richardg867@users.noreply.github.com>
2025-09-21 18:02:46 -04:00
Jasmine Iwanek
3c5190a0db Header cleanups (1/2) 2025-09-21 00:48:38 -04:00
win2kgamer
b268f95b19 Add the Yamaha YMF-71x (OPL3-SA2/3) audio controllers (#6200)
* Initial implementation of the Yamaha YMF-71x (OPL3-SA2/3) audio controllers

* Give the Intel AN430TX its onboard YMF-715

* Forgotten change to snd_sb_dsp.c

* Disable logging, code cleanup

* Use 32K default SB DSP DMA buffer globally and remove the Yamaha subtype

* Hook up master volume control to the OPL3 as well

* Use custom CD audio filter to apply master volume

* Initial implementation of the OPL3-SA3 bass/treble controls

* Improve CD audio volume filter

* Implement the power management registers

* Move master volume recalc to its own function and update on register write

* Correct YMF-719 PnP ROM filename

* Cleanup
2025-09-21 00:32:11 -04:00
RichardG867
7c25ca22e3 Convert existing code to the integer casting macros 2025-09-19 20:09:29 -03:00
RichardG867
25146643f9 Migrate remaining machine-specific checks from internal name to init function 2025-09-19 19:41:01 -03:00
starfrost013
57ae731e22 Goodbye, 32-bit 2025-09-14 01:32:41 +01:00
Jasmine Iwanek
1e0f92185f Sensible defaults in cartridge.c 2025-09-09 19:57:46 -04:00
OBattler
649f813614 AT KBC: Make sure AMI KBC revisions do not support commands they are not supposed to support. 2025-09-03 00:20:20 +02:00
OBattler
5fa1c17154 LPT: Impelement ECP FIFO test mode, fixes printing in ECP mode on the ASUS P/I-P55T2P4. 2025-09-01 22:13:37 +02:00
OBattler
6f71e92385 Implemented the "Parallel port FIFO" mode of ECP, made config.c sanitize the jumpered DMA on load and save, and made the PC87306 no longer able set the ECP dma if one is jumpered. 2025-08-31 23:33:42 +02:00
OBattler
50cf7330a3 Added the ability to remap scan codes in the configuration file. 2025-08-29 22:41:00 +02:00
Miran Grča
d5b7b0ae27 Merge pull request #6106 from Cacodemon345/linux-port-fixes
Pass through serial lines between serial port and emulator
2025-08-29 21:26:36 +02:00