Commit Graph

274 Commits

Author SHA1 Message Date
linear cannon
b43116fdfb net_pcap: use standard unsigned type names 2023-10-16 23:04:23 -04:00
OBattler
7013949310 Made sure the dummy "None"/"Internal" devices never get initialized and fixed some PCI AGP bridge mess (including AGP-less 440BX/ZX/GX erroneously initializing the 440LX/EX AGP bridge), fixes #3696. 2023-10-14 06:45:45 +02:00
OBattler
79e5a1dfbb Proper UI support for internal devices, phase 1. 2023-10-06 05:28:26 +02:00
Jasmine Iwanek
0398ec450a More linting in src/network 2023-08-23 00:18:14 -04:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
RichardG867
9d991b495c network: Remove the cursed libslirp fork now that Windows uses external libslirp 2023-07-22 17:27:51 -03:00
RichardG867
71d95c7169 network: Trial usage of external libslirp on non-Linux platforms 2023-07-01 15:51:02 -03:00
OBattler
5c48f419c0 Fixed variable initialization in network/net_pcnet.c. 2023-06-19 00:05:46 +02:00
cold-brewed
883b4c4be9 macos: Update library bundling process, add vde to bundle (#3390)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-06-09 11:37:05 -03: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
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04: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
OBattler
6bb5942ad1 Finish merge. 2023-05-16 00:53:59 +02: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
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
Jasmine Iwanek
3b5cfe8bfc Update libslirp to 4.7.0 with our customizations 2023-02-06 12:46:37 -05:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
4cf7472ce2 Fix PCNet logging 2022-12-20 19:33:43 -05:00
Jasmine Iwanek
0bf0520bd5 slirp makefile & cmake tidying 2022-12-20 19:33:43 -05:00
Jasmine Iwanek
537fbad564 More bits of missed formatting 2022-12-20 19:33:42 -05:00
OBattler
136db56b99 Fixed the WD8003 MCA IRQ selection. 2022-11-30 20:23:40 +01:00
TC1995
b04aa3ce4e Ported the 3c500/3c501 nic from VirtualBox.
Added IRQ's 10 and 11 to the AMD PCnet ISA/VLB nics.
2022-11-21 17:08:50 +01:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
6ea143e107 More compile warning fixes 2022-11-06 15:55:16 -05:00
Jasmine Iwanek
47f6257240 Correct headers for BSD Licensed files 2022-10-29 10:52:49 -04:00
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
Jasmine Iwanek
fab1632cee Fixes almost all the logging options which were previously broken 2022-10-27 11:23:10 -04:00
Jasmine Iwanek
3c76dbbde5 clang-format in src/network/ 2022-09-18 17:22:55 -04:00
David Hrdlička
7dd8c96ffc config: Refactor the INI parser out 2022-09-10 13:37:49 +02:00
GH Cao
06cfd4dcae net_slirp: Fix building with clang 2022-09-02 16:58:18 +08:00
Jasmine Iwanek
5e0c1ac209 Gdbstub, Minitrace and more (#2653)
* Fix gdbstub compilation

* Fix minitrace compilation

* Fix many warnings on Linux Builds

* Support DirectInput for Joysticks in QT UI too
2022-08-31 18:35:32 -03:00
Adrien Moulin
ea21790fc9 network: allow to set a NIC's link from the status bar 2022-08-27 19:08:28 +02:00
Adrien Moulin
c0b6c55926 network: support > 10Mbps throughput 2022-08-27 17:08:50 +02:00
Adrien Moulin
9c65d20621 network: improve throughput by batch processing packets 2022-08-27 16:52:33 +02:00
Adrien Moulin
448bd9d958 slirp: fix port forwarding and handle configuration with multiple nics 2022-08-26 18:22:19 +02:00
Adrien Moulin
8ec983b1ef pcap: do bounds checking in net_pcap_prepare when processing the list of host interfaces 2022-08-25 00:43:48 +02:00
Adrien Moulin
2f57de3f60 Restore the ability to configure the first NIC with the win32 ui 2022-08-21 21:05:07 +02:00
Adrien Moulin
552ea55a92 network: always link to ws2_32 on win32 2022-08-21 19:48:00 +02:00
Adrien Moulin
bf87193f91 network: fix another win32 build error 2022-08-21 17:39:40 +02:00
Adrien Moulin
19db1d2c7b Network overhaul : support for multiple NICs, performance improvement
- Add support for multiple NICs
- Switch from polling to an event loop for the host networking to avoid latency and locking issues
2022-08-21 16:55:47 +02:00
TC1995
465d619292 Networking: moved the pcnetPollTimer calls to a timer.
Storage: Implemented initial DMA DRQ's in the 53c90 MCA SCSI card. Properly fixed the multiple drives on the IBM PS/2 SCSI card (Spock).
2022-07-26 22:42:37 +02:00
TC1995
02874f2ed2 DMA: Implemented autoinit mode in the PS/2 MCA side (although the bit is undocumented in said side, but documented in the ISA/PCI side).
Networking: Added the WD8013EP/A MCA nic, which is more supported than the WD80x3ET/A plus an initial ram size configuration before POS configuration.
Sound: Added the Reply MCA OEM of SB16 with its own MCA POS ID and properly implemented the IRQ's and DMA's of the AdLib Gold in its EEPROM plus an initial configurable setting for them and an initial DRQ implementation into said card.
2022-07-23 23:54:42 +02:00
OBattler
1b56e118be Back to IRQ 10. 2022-07-18 15:12:37 +02:00