Commit Graph

32 Commits

Author SHA1 Message Date
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
Alexander Babikov
b63c1e04eb Modem: Fix escape guard counter never resetting
Escape sequence guard timer now actually works
2024-04-01 20:28:29 +05:00
Alexander Babikov
05bbb2a807 Modem: Increase phonebook size to 200 entries
Also make some string operations (such as phonebook file parsing) safer
2024-04-01 20:28:10 +05:00
OBattler
f63cc093e1 net_modem and sb_dsp: Warning fixes. 2024-03-23 17:22:36 +01:00
Cacodemon345
0ce889e9ad net_modem.c: Fix memory leak 2024-03-15 02:46:00 +06:00
Cacodemon345
6e87964b28 net_modem: process '&' escaped commands properly 2024-03-14 16:14:06 +06:00
Cacodemon345
7c9e94fb9b net_modem.c: Make sure the CONNECT response gets through 2024-03-14 01:10:29 +06:00
Cacodemon345
53baaeece7 Comments cleanup and function name fixes 2024-03-13 19:21:16 +06:00
Cacodemon345
607f66a1f8 net_modem: Implement answer command 2024-03-13 19:14:00 +06:00
Cacodemon345
b2a4d7457e netsockets: Swap port number 2024-03-13 16:38:32 +06:00
Cacodemon345
7d28e77273 EOF handling 2024-03-12 19:37:16 +06:00
Cacodemon345
074de35653 Telnet emulation 2024-03-12 19:34:01 +06:00
Cacodemon345
ea66c5fa74 Merge branch 'modem_emu' of ssh://github.com/Cacodemon345/86box into modem_emu 2024-03-12 19:25:35 +06:00
Cacodemon345
babadfb5c2 Handle large packets being sent 2024-03-12 16:23:35 +06:00
Cacodemon345
6be8ada352 Copyright text 2024-03-12 16:04:29 +06:00
Cacodemon345
59466a74f4 More TCP/IP related changes 2024-03-12 16:01:00 +06:00
Cacodemon345
fb8ff563b2 Oversight 2024-03-12 14:29:24 +06:00
Cacodemon345
d51ba85814 TCP/IP support 2024-03-12 14:27:19 +06:00
Cacodemon345
8fd35fccb8 Make fifo8 resizing code more reliable 2024-03-11 02:02:49 +06:00
Cacodemon345
bc6b659e02 SLIP works properly now
Preparation for modem phonebook files
2024-03-11 01:49:58 +06:00
Cacodemon345
af30550d94 Fix command mode 2024-03-09 15:49:08 +06:00
Cacodemon345
b5db53368f Logging and crash fixes 2024-03-09 14:58:12 +06:00
Cacodemon345
ec8b8f2a92 Somewhat finish initial modem emulation 2024-03-09 01:37:13 +06:00
Cacodemon345
9488078c5a Work-In-Progress modem emulation 2024-03-08 16:45:17 +06:00