Commit Graph

413 Commits

Author SHA1 Message Date
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
Jasmine Iwanek
fabe71150c Various improvements & Cleanups
Some ported from ANightly's work
2025-01-11 21:25:29 -05:00
Jasmine Iwanek
7dd540db96 Bring net_cards in line with other device arrays 2024-12-30 00:09:53 -05:00
RichardG867
4dd638907e PCnet: Bypass length checks in MMIO APROM accesses, fixes OpenBSD MAC address readout
Reference: VirtualBox 7.0.2 DevPCNet.cpp:pcnetR3Mmio*
2024-12-17 16:28:10 -03:00
RichardG867
f5983080c8 PCnet: Mask I/O BAR to 32 instead of 256 ports, fixes OpenBSD misdetecting as vmxnet 2024-12-17 11:19:21 -03:00
OBattler
463badd613 kB -> KB. 2024-11-19 04:08:21 +01:00
OBattler
9beadac607 Some forgotten instances of "address" in network/net_wd8003.c. 2024-11-10 05:17:58 +01:00
OBattler
6d7e11c620 WD8003 and AHA-154x: address -> Address. 2024-11-10 02:51:18 +01:00
OBattler
fbc21cdf49 DMA channel -> DMA. 2024-11-10 02:42:01 +01:00
OBattler
8b68dec1b5 Two more strings. 2024-11-10 02:33:27 +01:00
OBattler
55b091fb58 Assorted string fixes, mostly for consistency. 2024-11-10 02:23:21 +01:00
Miran Grča
b44c214cea Fixed a case of off by one in network/net_ne2000.c. 2024-11-01 20:26:24 +01:00
OBattler
c17fbfb9c6 Generic NE-x000 Comaptible cards: allow changing the MAC OUI. 2024-11-01 19:19:19 +01:00
OBattler
c172cc8dbe RTL8139C+: Fix duplex negotiation so it correctly negotiates full duples, fixes #4867. 2024-09-29 10:27:21 +02:00
OBattler
8593b175fd More slight fixes to the RTL8139C+. 2024-09-22 10:22:03 +02:00
OBattler
cc67f712b0 RTL8139C+: Return correct PCI revision 0x10, fixes #4839. 2024-09-22 07:11:09 +02:00
OBattler
ea878410b0 Serial mouse, microtouch, and modem: Add some more sanity checks. 2024-09-20 13:36:01 +02:00
OBattler
61ac77affe Modem: Increase buffer sizes to 256k and make sure to never transfer more packets than there are available FIFO slots, and removed excess logging, fixes #4793. 2024-09-19 08:08:21 +02:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
OBattler
01267965ca DEC Tulip: Fixed BIOS disabling. 2024-08-27 05:13:18 +02:00
OBattler
b7624e5b00 DEC Tulip: Correctly return 0 when aborting receive on the first descriptor and no longer block broadcast packets. 2024-08-11 20:53:01 +02:00
OBattler
62efc68d9a DP8390: Correctly use the Rx page start instead of the Tx one in the Rx function, fixes loss of received packets. 2024-08-09 00:25:17 +02:00
Jasmine Iwanek
e1fffd155a Compile fix for net_rtl8139.c logging 2024-08-07 02:23:50 -04:00
OBattler
eee7c39b84 Modem: Double the size of the FIFO's, should mitigate buffer overflows, fixes #4669. 2024-08-04 05:20:04 +02:00
OBattler
4d3b062793 net_modem.c: Fix credits. 2024-07-28 06:22:06 +02:00
RichardG867
2b399e210f Network: Force SLiRP for PLIP as well 2024-07-27 19:45:53 -03:00
RichardG867
0ae49490d2 Network: Make packet dumping work again 2024-07-27 19:43:50 -03:00
RichardG867
09ba9a1fb2 Modem: Respond to % escaped commands, fixes Windows autodetection taking a long time 2024-07-26 17:07:49 -03:00
RichardG867
b418b0d186 Modem: Clean up some dead code 2024-07-26 16:45:17 -03:00
RichardG867
e91ffcffa2 Modem: Add SLIP alias for Win9x/IE5 with numbering rules enabled 2024-07-26 16:17:50 -03:00
RichardG867
d0b2efface Modem: Convert phonebook parse failure to pclog 2024-07-26 16:11:54 -03:00
OBattler
3897cdd311 Fix compile-breaking mistake in net_dp8390.c. 2024-07-26 00:43:57 +02:00
OBattler
e377e58881 Assorted fixes and Dev branched the Matrox G100 and the PCL printer. 2024-07-26 00:39:11 +02:00
Jasmine Iwanek
27c8bdd57e Less dummy devices 2024-07-19 16:57:11 -04:00
Alexander Babikov
1d322fe99d Fix ssize_t related warnings on 32-bit Windows builds 2024-07-15 14:34:20 +05:00
Alexander Babikov
0177e2881a Define LIBSLIRP_STATIC on Windows for proper static linking
This requires a not-yet-released version of libslirp, but thankfully
MSYS2 has backported the patch
2024-07-15 10:53:57 +05:00
Oleg Farenyuk
234d06c620 Initial support for the 8-bit NE2000 compatible boards. 2024-07-14 05:52:15 +03:00
OBattler
a614e935fb Clean-ups in device.c/h and the _params() device add functions now work exactly as originally planned. 2024-05-25 02:00:19 +02:00
TC1995
0a1888feec the DEC 21143-based NIC expects a SROM Format version of 3
This fixes detection under various operating systems, including NT-based ones.
2024-04-18 20:39:05 +02:00
OBattler
5d94a361f1 net_modem: Remove excess parentheses. 2024-04-01 23:36:38 +02:00
Alexander Babikov
0a1e92e239 clang-format modem and serial passthrough related files 2024-04-01 21:08:55 +05:00
Alexander Babikov
9a8bc1ab08 Modem: Disable most logging by default 2024-04-01 21:08:52 +05:00
Alexander Babikov
93f7705c83 Modem: Extra logging and misc improvements 2024-04-01 20:49:02 +05:00
Alexander Babikov
9b8680b7cf Modem: Implement A/ (repeat last command) 2024-04-01 20:48:54 +05:00
Alexander Babikov
ba499b9563 Modem: Implement ATDL (dial last number) 2024-04-01 20:48:51 +05:00
Alexander Babikov
e641365866 Modem: Implement AT&C (DCD signal control) 2024-04-01 20:48:44 +05:00
Alexander Babikov
94c917eaaf Modem: Implement ATD; (return to command mode after dialing)
To simulate the in-progress dialing, the number before the semicolon
is appended to a temporary buffer; when an ATD command without a semicolon
is issued, the buffer contents are prepended and the complete number
is dialed at once.

Fixes Windows 98 dialer being stuck if "wait for dial tone" option
was enabled.
2024-04-01 20:48:41 +05:00
Alexander Babikov
2353d1f917 Modem: Stop command line processing after dialing
"Phone numbers" with letters in them, such as hostnames, are no longer
interpreted as commands
2024-04-01 20:28:33 +05:00