Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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
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
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
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
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
Miran Grča
2f737e2f47 Merge pull request #2256 from goeiecool9999/logfix
network.c: fix log statement
2022-04-20 00:48:51 +02:00
OBattler
1a99a7cc6a Phase 3 (Network and SCSI). 2022-04-04 18:16:53 +02:00
klaas
093eddf5f1 network.c: fix log statement 2022-04-02 15:46:19 +00:19
Jasmine Iwanek
d1dc795659 src/network 2022-03-13 09:50:25 -04:00
Jasmine Iwanek
801f81fbda clean up device_config_t formatting 2022-02-26 23:31:28 -05:00
Jasmine Iwanek
8597e4e4d7 Merge branch 'master' into more-updates 2022-02-20 16:28:50 -05:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
OBattler
2a0b72739b More changes in network.c. 2022-02-20 21:04:30 +01:00
OBattler
ac2bdcf84c And it turns out we can actually use network_wait(1) in the CPU thread just fine. 2022-02-20 20:39:39 +01:00
OBattler
3b5be8b619 Reduced some network times. 2022-02-20 20:11:41 +01:00
OBattler
9b09a5058c And some fixes. 2022-02-20 19:41:34 +01:00
OBattler
b18d7795f6 Changed the way failed packed deliveries are handled. 2022-02-20 19:37:47 +01:00
OBattler
f80937d350 Actually advance the interim queue after getting from it. 2022-02-20 17:01:46 +01:00
OBattler
c19b06d404 Added a sanity check and more clean-ups. 2022-02-20 14:19:38 +01:00
OBattler
01e0609ab6 And more network clean-ups and fixes. 2022-02-20 13:58:38 +01:00
OBattler
f06736ed9a And more. 2022-02-20 02:01:56 +01:00
OBattler
b4c1e801c5 Some more network changes. 2022-02-20 02:00:23 +01:00
OBattler
8ec062e1ec And of course, release the mutex as well after we're done. 2022-02-20 01:30:37 +01:00
OBattler
bd32abf94e Attempt to make the main thread wait for network mutex. 2022-02-20 01:22:28 +01:00
Alexander Babikov
1cb301cf3b Refactor NIC logging 2022-02-07 18:09:22 +05:00
OBattler
6f2b93923c A lot of fixes - everything now seems to work properly. 2022-02-03 03:10:06 +01:00
Jess Lovelace
4849deb156 added null devices and refactored tables 2022-02-02 17:48:04 -05:00
Jess Lovelace
5398143f42 obsoleting tables for internal names 2022-02-02 16:31:24 -05:00
OBattler
9c7a3477aa Proper reimplementation of C++11 thread event signaling and the network code now uses an atomic instead of mutexes for wait. 2021-12-17 18:48:13 +01:00
RichardG867
ac52052cfa Add PCnet-ISA+ PnP network card 2021-03-22 21:12:58 -03:00
David Hrdlička
339468f25c network: change sys/time.h include to time.h 2020-12-16 20:35:07 +01:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
RichardG867
3e054a5c45 Improve thread safety and add safeguards to the network packet dumping code 2020-10-17 20:28:30 -03:00
RichardG867
65b1111c11 Restore always-on LPT status bits, except ERROR 2020-10-17 01:52:46 -03:00
RichardG867
852e310c1d Add network debugging feature to dump all packets to a .pcap file when logging is enabled 2020-10-17 01:21:46 -03:00
OBattler
e19ceda157 Even more network timer safeguarding. 2020-07-12 20:21:43 +02:00
OBattler
be9d369a91 A number of bugfixes. 2020-07-12 20:20:06 +02:00