Commit Graph

240 Commits

Author SHA1 Message Date
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
GetDizzy
39145e7cc6 Set default IRQ for NE2000 to 3
Increases compatibility with Windows 9x and other operating systems that have a limited selection of IRQs for this device (usually IRQs <= 9).
2022-07-16 16:50:41 -04:00
David Hrdlička
c5da38705a network: link Windows libs when using system libslirp 2022-05-28 17:39:11 +02:00
Miran Grča
6e402e69d4 Merge pull request #2336 from korneliuszo/debug_build_fixes
Buildable with ENABLE_DP8390_LOG
2022-05-15 00:01:12 +02:00
Miran Grča
e15eade178 Update net_dp8390.c
Fixed the DCR FIFO size.
2022-05-12 14:37:32 +02:00
Korneliusz Osmenda
95638bd90a Buildable with ENABLE_DP8390_LOG 2022-05-10 17:29:32 +02:00
OBattler
6a4b3fc7bb Enabled the non-blocking stuff for Windows as well. 2022-04-20 01:16:16 +02:00
Miran Grča
fc14db3710 Merge pull request #2255 from goeiecool9999/master
linux pcap fix
2022-04-20 01:12:50 +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
Miran Grča
cc666e6cc4 Merge pull request #2281 from jriwanek-forks/named-initializers-3
Named initializers part 3
2022-04-12 23:38:32 +02:00
Jasmine Iwanek
d1b274ace2 src/network 2022-04-12 17:26:07 -04:00
klaas
3772aa312b Apply for Mac OS too. 2022-04-05 10:29:26 +00:19
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
klaas
e7d09a31a4 linux blocks until a packet arrives which the rest of the code does not expect 2022-04-02 15:38:37 +00:19
Jasmine Iwanek
d1dc795659 src/network 2022-03-13 09:50:25 -04:00
Jasmine Iwanek
51532f7aaa lpt_device_t.internal_name added 2022-03-13 08:58:31 -04:00
Miran Grča
c1ccee6abd Merge pull request #2214 from Cacodemon345/c345/haiku
qt: Add support for Haiku
2022-03-11 20:11:50 +01:00
Cacodemon345
c1f9d35de8 qt: Add support for Haiku
* OpenAL backend is enabled by default on Haiku
* bswap include now makes use of builtins if they exist
* Use a local fgetws method for Haiku to avoid crashes
* OpenGL renderers are completely disabled on Haiku (they do not work)
* Software renderer is a widget, not a window on Haiku (fixes blank screen)
* Add option to disable System MIDI at compile time
2022-03-11 12:13:08 +06:00
David Hrdlička
47211f43e9 Disable tinyglib for Qt builds on Linux/BSD 2022-03-06 19:09:12 +01: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
7928bc8c1c And even more. 2022-02-20 02:03:42 +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