Commit Graph

133 Commits

Author SHA1 Message Date
Michael Casadevall
42419baa16 Failback for PCAP to use name as description if the later is blank
This allows 86Box to use pcap properly under WINE under Linux as most
interfaces on Linux leave the description as a NULL.

Signed-off-by: Michael Casadevall <michael@casadevall.pro>
2020-11-07 10:02:59 -05:00
TC1995
64cfa8020a Fix the reported PHY of PCnet-FAST III (#1047) 2020-10-29 17:36:49 +01:00
OBattler
4b7d2422fd Moved SLiRP event destruction to the thread to fix the Settings restart crash. 2020-10-24 21:32:57 +02:00
RichardG867
3e054a5c45 Improve thread safety and add safeguards to the network packet dumping code 2020-10-17 20:28:30 -03:00
RichardG867
a620168bd3 Unpause network RX queue on PLIP timeout 2020-10-17 17:44:57 -03:00
RichardG867
6ef260fa4f SLiRP forward protocol should be compared using regular strcmp 2020-10-17 14:11:09 -03:00
RichardG867
65b1111c11 Restore always-on LPT status bits, except ERROR 2020-10-17 01:52:46 -03:00
RichardG867
123462f1d9 Add PLIP network device 2020-10-17 01:31:53 -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
RichardG867
239730a793 Change SLiRP port forwarding config syntax to make more sense 2020-10-17 00:42:41 -03:00
RichardG867
e07c774a1d Fix maybe-uninitialized warnings in slirp/socket.c 2020-08-07 23:54:36 -03:00
RichardG867
62a2c4a50d Attempt to fix build 2020-08-07 12:56:15 -03:00
RichardG867
8ca17a300d SLiRP overhaul 2020-08-07 12:39:34 -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
RichardG867
a5e14f2ae7 Improve pcap errors 2020-06-18 21:21:10 -03:00
OBattler
fc28978370 Timer clean-up improvements and some mem.c sanity checks. 2020-05-20 20:35:55 +02:00
OBattler
df3dce487f Fixed a bug in the code for clearing the network queues, should reduce crashes even further. 2020-05-06 00:26:07 +02:00
OBattler
5b87c654e1 Changed the packet structure's data field to a 65536-byte array to need less malloc'ing and free'ing, significantly reducing heap fragmentation. 2020-05-02 02:09:10 +02:00
OBattler
416150683a Fixed the Mac address on some NIC's. 2020-04-30 22:57:40 +02:00
OBattler
54a9a6fd1b Fixed a bug in net_ne2000.c causing the RTL8029AS ROM not to load. 2020-04-30 18:33:27 +02:00
OBattler
dc03eeedf2 Removed an IF block from the PCnet code. 2020-04-30 03:22:20 +02:00
OBattler
9dc0df4149 Implemented the network transmit queue. 2020-04-30 02:12:59 +02:00
OBattler
bb359ff394 Got rid of an unnecessary memcpy() in the network queue code. 2020-04-30 01:19:01 +02:00
OBattler
ea3d08367e Set minimum network queue period to 128 byte period. 2020-04-30 00:57:11 +02:00
OBattler
0570e21f0f Applied Ryuzaki's Media menu patch, fixed a bug in cpu.c reported by ms. person, fixed bugs (and added a workaround for the Windows 2000 PCnet problems) to mem.c, and added a network packet queue to cap network speed (and do the actual rx poll in the main thread instead) for more stability, also some ES1371 fixes (but not enough to make it work on Linux). 2020-04-29 23:39:54 +02:00
OBattler
a34e5a7d84 Merge branch 'master' of https://github.com/86Box/86Box 2020-04-28 01:01:52 +02:00
OBattler
59822c6c0e Overhauled DMA bus master reads and writes and cleaned up the AMD PCnet code a bit (network queue implementation is pending). 2020-04-28 01:01:39 +02:00
David Hrdlička
2a5382a97b Remove mutex names, fixes #722
Named mutexes are used for inter-process synchronization, using them to synchronize threads of a single process is just begging for trouble when running multiple instances of the application.
2020-04-27 13:24:43 +02:00
David Hrdlička
7d2f9189d3 win: Re-number string table entries 2020-04-26 21:03:31 +02:00
TC1995
191687e5ac Hopefully fixed the dp8390 side of the wd80x3. 2020-04-23 20:19:40 +02:00
TC1995
e132bf21e3 Simplified memory handler for the wd80x3 nic family. 2020-04-23 20:15:20 +02:00
TC1995
2de9a3f37a Set Link State from VBox to 86Box implemented on the PCnet card (any other nics don't have it and will simply return NULL).
The PCnet-based Racal nic now has its own OID to make its drivers happy (according to VBox).
2020-04-20 19:02:13 +02:00
David Hrdlička
9acb489a1d MSVC and Windows SDK compatibility 2020-04-04 12:45:47 +02:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
OBattler
eac9cc59e0 Merge pull request #627 from 86Box/bugfix/dp8390
Apparently the wd80x3 and the rest of PIO-based DP8390 nics don't lik…
2020-03-25 01:13:14 +01:00
OBattler
ee3acab156 Merge pull request #626 from 86Box/bugfix/ne1000_mem
Fixed proper detection of the 8-bit ISA-based NE1000, as it was previ…
2020-03-25 01:12:56 +01:00
OBattler
85ffd97d60 Merge pull request #625 from 86Box/bugfix/pcnet_close
Fixed hard reset crashes in the PCnet code.
2020-03-25 01:12:44 +01:00
OBattler
7eb9faf24c Merge pull request #624 from 86Box/feature/azt_snd
Added the Aztech Sound Galaxy 16 cards.
2020-03-25 01:12:22 +01:00
TC1995
6f4ac0de35 Added the Aztech Sound Galaxy 16 cards.
Added the reset function of MCA from PCem.
Made the MCA devices use the reset parameter if available.
2020-03-25 00:49:25 +01:00
Daniel Gurney
0c509fd551 Remove version tree-wide 2020-03-25 00:46:02 +02:00
TC1995
c3eab66844 Fixed hard reset crashes in the PCnet code. 2020-03-24 23:43:30 +01:00
TC1995
4e0a0a1dfd Fixed proper detection of the 8-bit ISA-based NE1000, as it was previously using NE2000 resources. 2020-03-24 23:40:20 +01:00
TC1995
42a3032b93 Apparently the wd80x3 and the rest of PIO-based DP8390 nics don't like to have a common way of receiving/transmitting packets. 2020-03-24 23:34:36 +01:00
OBattler
1550a3a176 Last minor fixes, it compile without problems now. 2020-03-24 02:50:24 +01:00
OBattler
1640d48be6 Network changes from TC1995. 2020-03-24 01:02:41 +01:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00
OBattler
e44e60c660 Fixed the fourth batch of problems. 2020-01-15 05:24:33 +01:00
OBattler
c5ac252eb1 Fixed two integer handling issues in the AMD PCnet code. 2020-01-15 02:28:24 +01:00
OBattler
2d46b87088 Removed a dead while block from the PCnet code. 2020-01-14 20:04:47 +01:00