Commit Graph

1287 Commits

Author SHA1 Message Date
Miran Grča
c0ba851a5a Merge pull request #3317 from Cacodemon345/usb-work
usb: Increment HcFmNumber in EOF function
2023-05-06 21:52:09 +02:00
Cacodemon345
610db29480 usb: HCCA structure 2023-05-07 01:11:38 +06:00
Miran Grča
61f2e228ff Merge pull request #3315 from jguillaumes/master
VDE networking support
2023-05-06 20:37:36 +02:00
Cacodemon345
41f26b57c2 usb: Start work on SOF generation and frame counting 2023-05-06 23:19:55 +06:00
Cacodemon345
aa02968c46 usb: Device reset pointer member 2023-05-06 16:08:33 +06:00
Miran Grča
c0103b8243 Merge pull request #3307 from 86Box/xga_fixes
Accelerator fixes: XGA and 8514/A, see below.
2023-05-05 21:07:15 +02:00
Miran Grča
80060a8955 Merge pull request #3306 from Cacodemon345/usb-work
usb: start hooking up USB interrupts to chipsets
2023-05-05 21:07:01 +02:00
TC1995
cf49686957 Accelerator fixes part 2: 8514/A.
Mix patterns are drawn at the correct position now instead of backwards.
Better handling of subsys/subcntl side.
As usual, better handling of the VGA on/off passthrough.
Better handling of the accelerator pitch (TODO: need a way to properly identify 640x480x256 in the pitch side).
2023-05-05 19:55:27 +02:00
TC1995
a77271cfa6 Accelerator fixes part 1:
XGA: Fix crash when (S)VGA cards not selected as the primary display (e.g.: EGA, CGA. etc).
Better handling of the VGA on/off passthrough (vga_on variable).
MCA side: to avoid lfb issues, bit 0 of POS4 will be always enabled regardless of the ram size (most software uses the >16MB memory method).
Better handling of the BIOS ROM mapping and Memory Mapped I/O during the MCA PS/2 POST and resets, fixes 40 25 hang (once and for all).
Re-organized the ROM loading in ISA mode.
2023-05-05 19:08:49 +02:00
Cacodemon345
1d0c18c3a9 usb: USB device attach/detach infrastructure 2023-05-05 22:46:18 +06:00
Cacodemon345
4b0384e1b2 usb: USB device configuration descriptor infrastructure 2023-05-05 01:20:32 +06:00
Jordi Guillaumes i Pons
52b0e54fd7 VDE networking support
Adds VDE (https://github.com/virtualsquare/vde-2) support to 86Box.
- Adds new networking type
- Modifies networking configuration dialog
- Adds CMake Presets to build and debug under MacOS
2023-05-04 21:12:13 +02:00
Cacodemon345
3f461afeeb usb: start hooking up USB interrupts to chipsets 2023-05-05 00:28:08 +06:00
Miran Grča
ec51229fd5 Merge pull request #3305 from Cacodemon345/usb-work
usb: More USB endpoint device infrastructure work
2023-05-04 13:16:22 +02:00
Cacodemon345
6376980d9d usb: More USB endpoint device infrastructure work 2023-05-04 16:25:46 +06:00
Jasmine Iwanek
1c3e1b4602 Correct win32 ui for cdrom model headings 2023-05-04 03:04:38 -04:00
Jasmine Iwanek
5c0292ae41 Disable old early CDROM support 2023-05-04 02:54:25 -04:00
Miran Grča
38c3d1bc81 Merge pull request #3301 from Cacodemon345/usb-work
usb: Add infrastructure for interrupt descriptor polling
2023-05-03 13:51:01 +02:00
Cacodemon345
6a20e17ee9 usb: Add infrastructure for interrupt descriptor polling 2023-05-03 16:14:15 +06:00
Jasmine Iwanek
948a78f6a9 Config support for Softfloat FPU in win32 ui 2023-05-02 01:56:53 -04:00
Miran Grča
801ec1916d Merge pull request #3290 from 86Box/tc1995
Re-added the IBM PS/2 model 70 type 4 (Softfloat is always used in this machine).
2023-05-01 19:46:13 +02:00
Cacodemon345
ea5b9cdbf8 usb: Port reset logic is now on a timer 2023-05-01 16:55:49 +06:00
TC1995
ad44c454c9 Re-added the IBM PS/2 model 70 type 4 (Softfloat is always used in this machine). 2023-04-30 21:52:58 +02:00
Miran Grča
6af643944a Merge pull request #3285 from 86Box/pr_softfloat
Initial softfloat port from Bochs to 86box, currently selectable only on QT.
2023-04-30 21:07:03 +02:00
Cacodemon345
91ccfa3344 usb: Set up infrastructure for system interrupts from OHCI 2023-04-30 23:01:15 +06:00
TC1995
43245c69b4 Merge branch 'master' into pr_softfloat 2023-04-30 18:20:21 +02:00
Cacodemon345
7e90e9215a OHCI: HcHCCA's lower 8 bits are always zero
Start of work on USB endpoint device infrastructure
2023-04-30 00:59:11 +06:00
TC1995
7a53e1de45 Initial softfloat port from Bochs to 86box, currently selectable only on QT. 2023-04-29 18:56:57 +02:00
OBattler
78a897f07a Some minor fixes, the PS/2 mouse command F0h (set remote mode) is now implemented, the PS/2 mouse command F3h (set sample rate) now actually changes the host mouse polling rate, and the Intel SIO IB and ZB now forcibly initialize a keyboard and mouse IRQ latch if the board has a PS/2 keyboard controller, to simulate the presence of a latch external to the chip. 2023-04-26 01:42:23 +02:00
Miran Grča
ff59b58297 Merge pull request #3270 from 86Box/feature/checkio_optimize
386_common: Handle IOPB segment limit corner case more like the old code
2023-04-23 03:59:23 +02:00
RichardG867
9f55afc7a1 Add LIKELY/UNLIKELY macros 2023-04-22 21:37:41 -03:00
OBattler
5d9de974ee More keyboard controller clean-ups and fixes to mem/mem.c and port_92.c - OS/2 1.3 now works on IBM PS/2 MCA machines. 2023-04-22 03:48:50 +02:00
OBattler
041e916472 AS small optimization. 2023-04-20 15:05:51 +02:00
OBattler
0458034cbf Some clean-ups. 2023-04-20 14:28:37 +02:00
OBattler
f16feb6e8c Merge branch 'master' of https://github.com/86Box/86Box 2023-04-19 23:34:43 +02:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +02:00
RichardG867
5813d425e9 clang-format my previous commits 2023-04-18 16:16:42 -03:00
RichardG867
fb8ef3e40c ini: Constify parameters to optimize execution 2023-04-18 16:14:44 -03:00
OBattler
5b850c053a Some fixes and preparations for the split of keyboard_at.c. 2023-04-16 17:16:04 +02:00
OBattler
df24b4be0f Reverted the previous approach and switched to the new, non-hacky approach of getting rid of the accelerator and instead handling enter full screen the same way exit full screen is handled. 2023-04-13 22:47:42 +02:00
OBattler
ef17003f1b Fixed the "minor bug fix" in the AT / PS/2 keyboard controller, reworked PS/2 keyboard controller IRQ latches, and correctly disabled memory top remaps if there's more than (16 MB - remap size) RAM (fixes segmentation faults on some machines with 16+ MB of RAM). 2023-04-11 23:21:52 +02:00
OBattler
4eb902d853 More keyboard controller fixes. 2023-04-09 19:44:15 +02:00
OBattler
d4b57298ad Fixed the keyboard controller reset state, fixes Xi8088. 2023-04-08 03:11:53 +02:00
OBattler
289962319f Rewritten the PS/2 poll (without the password security state, that is yet to be done) and enabled the PS/2 KBC IRQ latch on all PCI machines as well (it is present at the very least on Intel SIO and PIIX), fixes Windows for Workgroups 3.11 input, and reduced mouse polling to 255 Hz (the maximums supported by PS/2 mice). 2023-04-08 00:40:57 +02:00
OBattler
aab8eb809d More keyboard controller improvements - fixes IBM AT boot, CTRL and ALT getting stuck on pressing CTRL+ALT+ESC on Acer BIOS'es, Norton Commander behaving strangely after pressing ALT+Print Screen, and also moved PS/2 mouse command responses to their own queue to simulate the fact that on real hardware, PS/2 mouse commands, like keyboard commands, bypass the FIFO. 2023-04-02 04:17:33 +02:00
Ben Russell
0bed201e87 vid_ega: Merge text renderers together 2023-03-23 17:06:12 +13:00
Ben Russell
69c18755a4 vid_ega: Extend 4bpp renderer to handle CGA 2bpp chunky graphics; Remove 2bpp renderer
This also lets planes 2 and 3 be used.
2023-03-23 15:28:25 +13:00
Ben Russell
212e494328 vid_ega: Merge 4bpp graphics renderers together 2023-03-23 14:51:35 +13:00
Ben Russell
2a395efbc9 vid_ega: Fix address decoding for Odd/Even modes for the 4bpp gfx renderers
This, combined with the Odd/Even fixes from a previous commit, gets the 64KB 640x350 2bpp modes working correctly.
Relevant issue: #2944
2023-03-20 20:07:39 +00:00
Cacodemon345
fa07ae5891 mpu401: Extend MPU401_QUEUE to 1024 bytes
Allows SysEx messages larger than 64 bytes to be received correctly
2023-03-07 15:57:33 +06:00