Commit Graph

158 Commits

Author SHA1 Message Date
OBattler
8e88fe4c4f Fixed more warnings. 2021-04-29 22:32:54 +02:00
OBattler
63e9af5898 Fixed the TinyGLib "functions in header" nonsense. 2021-04-29 22:25:47 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
f6602d5f62 Committed the AMD PCNet code without the hacks, it should compile now. 2021-03-24 20:05:21 +01:00
RichardG867
c1858212e8 Change NE2000 PnP config function to be more in line with other devices 2021-03-22 21:55:19 -03:00
RichardG867
4803a6ce04 Switch RTL8019AS to the current ISAPnP ROM style 2021-03-22 21:47:03 -03:00
RichardG867
ac52052cfa Add PCnet-ISA+ PnP network card 2021-03-22 21:12:58 -03:00
RichardG867
70ae42e7a0 Merge branch 'master' of https://github.com/86Box/86Box 2021-03-21 16:59:28 -03:00
David Hrdlička
10cc122925 fix Clang/WinSDK warnings 2021-03-21 03:28:37 +01:00
RichardG867
d29d51cfd8 Fix RTL8019AS PnP card ID 2021-03-20 23:24:36 -03:00
RichardG867
82376a9bac Switch RTL8019AS to ISAPnP framework 2021-03-20 01:21:28 -03:00
RichardG867
640fbf7c5c Merge branch 'master' of https://github.com/86Box/86Box 2021-01-12 21:49:13 -03:00
RichardG867
aba9e0dac9 Fix illegal PIIX4 SMBus modes 2021-01-12 20:13:15 -03:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
TC1995
c97434b482 Fixed the Racal EtherBlaster nic. 2021-01-12 13:05:26 +01:00
qeeg
6015675761 More POSIX fixes 2021-01-07 10:22:58 -06:00
David Hrdlička
5699215ff5 slirp: fix linkage 2020-12-16 20:40:41 +01:00
David Hrdlička
7c76b94821 slirp: rewrite macro to remove void* arithmetic 2020-12-16 20:40:22 +01:00
David Hrdlička
a22b9a0eb5 slirp: fix packed structs on MSVC 2020-12-16 20:39:50 +01:00
David Hrdlička
b11226321e slirp: don't include unistd.h on Windows 2020-12-16 20:39:15 +01:00
David Hrdlička
339468f25c network: change sys/time.h include to time.h 2020-12-16 20:35:07 +01:00
David Hrdlička
0af59ef40c slirp: define ssize_t if it's not already defined 2020-12-16 20:34:51 +01:00
OBattler
12a78cb2f4 Fixed a SLiRP warning when compiling for 64-bit. 2020-12-12 16:25:04 +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
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