Commit Graph

84 Commits

Author SHA1 Message Date
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
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
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
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
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
Daniel Gurney
0c509fd551 Remove version tree-wide 2020-03-25 00:46:02 +02:00
OBattler
1640d48be6 Network changes from TC1995. 2020-03-24 01:02:41 +01:00