Commit Graph

2209 Commits

Author SHA1 Message Date
Mike Swanson
c848642845 Add some defines to build succesfully on FreeBSD
Tested on FreeBSD 13.2 only.  FreeBSD is more similar to Mac OS X in
system-level library support than it is to Linux.
2023-06-10 16:06:32 -07:00
Miran Grča
022a036a83 Merge pull request #3389 from cold-brewed/ne2k-fix
network: ne2k / dp8390 fixes for netware
2023-06-08 16:25:59 +02:00
cold-brewed
1df19383d3 network: Implement memory wrapping in dp8390 based on the total memory size. Fixes malformed / blank packets on netware. 2023-06-06 12:33:58 -04:00
Miran Grča
0f3dacde30 Merge pull request #3385 from jriwanek-forks/hdd-speed
Allow HDD Speed to be set in win32 ui (1/2)
2023-06-05 13:30:26 +02:00
Jasmine Iwanek
0649752dc9 Allow HDD Speed to be set in win32 ui (1/2) 2023-06-05 06:52:26 -04:00
Jasmine Iwanek
02cec2ee0f Loose whitespace cleanups to make my life easier later 2023-06-05 01:16:41 -04:00
Jasmine Iwanek
eeb9fa7c9b Fix a serious mistake with the lang string count 2023-06-05 01:16:40 -04:00
Cacodemon345
877ae8949d Introduce compiler checks for pclog/fatal calls 2023-06-01 23:44:01 +06:00
Jasmine Iwanek
ba9327f5b1 VHD: Store disk type in config and use it when auto-creating an image file 2023-05-30 17:39:42 -04:00
OBattler
ab733b7f6c Implemented some undocumented PIT behavior. 2023-05-24 22:14:57 +02:00
cold-brewed
ef34e81cd1 network: Added new ability for drivers to provide error information upon failed init. Updated translation strings. Fixed an issue with VDE configuration settings. 2023-05-23 11:53:59 -04:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
OBattler
6bb5942ad1 Finish merge. 2023-05-16 00:53:59 +02:00
OBattler
194918b86a Some minor keyboard and keyboard controller fixes and three-phased the keyboard and PS/2 mouse BAT. 2023-05-16 00:20:09 +02:00
OBattler
ecb8091d41 Fixed Cacodemon345's OHCI mess and implemented proper OHCI IRQ updating, fixes the Gigabyte GA-5AX POST. 2023-05-07 02:53:04 +02:00
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