Commit Graph

157 Commits

Author SHA1 Message Date
Jookia
ee071c5853 ethernet_slirp: Add libslirp EthernetConnection backend
The existing Ethernet connection implementation is PCAP-based. This
allows bridging your virtual machine directly to the host's network, but
requires elevated permissions on your OS and appropriate drivers which
often aren't available on Wi-Fi cards.

This commit adds a libslirp-based backend that provides just enough
internal networking to handle TCP/IP out of the guest to host, LAN or
Internet. As such things like ICMP, IPX and NetBIOS don't work properly.

The use case for this connection is to give Internet access to the guest
for things like IRC, HTTP and other connections to online services.
2021-03-06 09:17:00 +11:00
Jookia
9a2af73a2a ethernet_pcap: Move NE2000 pcap code to PcapEthernetConnection
This change separates the pcap code out of the NE2000 code to its own
EthernetConnection backend, and modifies the NE2000 to use the
EthernetConnection abstraction.
2021-03-06 09:16:59 +11:00
Jookia
ca9111abc2 ethernet: Add EthernetConnection interface
Currently DOSBox-X only supports one emulated network adapter and one
network backend: the NE2000 using libpcap.

In order to change either of those we need an abstraction between them,
and as such I've written the EthernetConnection interface.

The EthernetConnection interface will be used by emulated network
adapters (such as the NE2000) to send and received Ethernet frames to
and from the guest, usually through a DOS packet driver.

The actual implementation of EthernetConnection objects will take the
packets sent from the emulated network adapter and pass them to some
kind of backend (such as libpcap) then pass any received packets from
the backend back to the guest network adapter.

This will allow more emulated Ethernet adapters and more network
backends to be implemented with minimal changes to unrelated code.
2021-03-05 05:39:11 +11:00
Wengier
7b0545166f Add REPLACE command 2021-02-13 04:11:46 -05:00
Wengier
430f2fb795 add CHCP command and more codepages 2021-02-05 18:07:02 -05:00
Wengier
cd9435b200 add file 2021-01-23 12:49:27 -05:00
Allofich
fdbedcddbd Add core_dyn_x86 folder to VS solution 2021-01-23 03:38:15 +09:00
Wengier
f205441713 fixes 2020-12-20 15:44:15 -05:00
Jose Phillips
a7a8bae1b6 Support for OPL3Duo Board 2020-11-29 17:11:33 -05:00
Wengier
fcae8a1820 cleanup for now 2020-11-03 02:35:53 -05:00
Wengier
a5ff5c232f Add OPUS CDDA support 2020-10-27 05:21:41 -04:00
Wengier
9b6f987d2e move fluidsynth files and fix -socket option 2020-10-22 19:22:59 -04:00
Wengier
39cea90974 re-add dynamic x86 core 2020-10-12 02:17:44 -04:00
Wengier
e4ae15d3b8 add option 2020-10-07 18:33:15 -04:00
Allofich
8ff2b98df2 Disable Visual Studio warning C4996 2020-10-03 20:03:54 +09:00
Wengier
e725360f94 Add SORT command 2020-09-27 10:30:03 -04:00
Wengier
b14ae08cc4 move src/xBRZ to src/libs/xBRZ 2020-09-23 19:17:52 -04:00
Wengier
4c3432c3c7 updated MUNT MT32 to version 2.4.0 2020-09-23 16:20:47 -04:00
Wengier
923f7e24f6 move src/mt32 to src/libs/mt32 2020-09-23 12:01:48 -04:00
Wengier
783cb28279 include GLshaders 2020-09-22 14:02:29 -04:00
Wengier
b6a718f323 Included FluidSynth for VS builds 2020-09-22 12:20:43 -04:00
Wengier
51cb5d460f Enable FluidSynth for Windows VS x86/x64 builds 2020-09-17 15:07:01 -04:00
rderooy
7a481e51ec Move shaders to contrib/shaders
And update references. I hope this does not break the windows build.
2020-09-09 11:12:30 +02:00
rderooy
6c315cda62 Move font to contrib/fonts 2020-09-08 17:58:18 +02:00
Jonathan Campbell
b22a301710 Merge pull request #1807 from josephillips85/master
Support for OPL2 Audio Board
2020-08-19 15:26:57 -07:00
Wengier
301abc3b34 support for glide wrapper 2020-08-04 22:01:51 -04:00
Wengier
2622e14e35 CP 853 2020-07-30 15:20:07 -04:00
Wengier
33717bfe5b CP 808 mods 2020-07-30 10:23:33 -04:00
Wengier
186c07a3ea CP 872 2020-07-29 18:18:20 -04:00
Wengier
7a9a27c2a4 CP 857/863/869 too 2020-07-29 17:47:44 -04:00
Wengier
bbf35dba92 Add CP 852/855 2020-07-29 15:05:37 -04:00
Wengier
2f39b7171e Add codepage 850/858 and changing options via config 2020-07-29 13:23:04 -04:00
Jose Phillips
ca69eecfd2 Support for OPL2 Audio Board 2020-06-13 01:45:14 -05:00
Phil Krylov
932a2774d6 Add CP866 to translated filesystem codepages 2020-06-09 03:28:05 +03:00
Jonathan Campbell
78e5deeb8e SDL2 SDL_net.lib 2020-06-02 18:34:10 -07:00
Jonathan Campbell
4ee848d321 Open up SDL2 SDLnet 2020-06-02 17:54:43 -07:00
Wengier
70e5a17cff Change to dosbox-x.reference.conf 2020-04-29 11:33:24 -04:00
Jonathan Campbell
107ffe5c45 Update VS2019 project file to include shaders with compiled binary 2020-01-05 11:38:49 -08:00
Allofich
a61cdc0f4a Remove /arch:SSE option from x64 builds 2019-12-22 12:39:02 +09:00
Allofich
ffd58aa704 Automatically use latest Windows 10 SDK version 2019-12-22 11:18:27 +09:00
aybe
fe67abd105 Enabled SSE for 64-bit. 2019-11-14 03:52:45 +01:00
aybe
66f26b01b4 Wrong SDL libraries paths for ARM builds. 2019-11-13 20:32:10 +01:00
aybe
c3bcc43fad Enabled multiprocessor compilation for all projects. 2019-11-13 19:59:53 +01:00
aybe
9e9100b9ec Moving back to SDK 10.0.17763.0. 2019-11-13 18:29:31 +01:00
aybe
eda38f7d60 All remaining configurations and builds for dosbox-x. 2019-11-12 23:09:50 +01:00
aybe
2807cfc028 Edit and continue won't work for dosbox-x, reverted to /Zi. 2019-11-12 07:13:43 +01:00
aybe
84d077461c Remaining bits for dosbox-x debug builds. 2019-11-12 00:34:54 +01:00
aybe
3248c36883 Revert "FIXUP: removed /QIfist warnings for x86 builds."
This reverts commit 0d6e7750c4.
2019-11-10 22:46:38 +01:00
aybe
0d6e7750c4 FIXUP: removed /QIfist warnings for x86 builds. 2019-11-10 22:02:34 +01:00
aybe
69af95b8ab FIXUP: removed SSE warnings for x64 builds. 2019-11-10 21:56:08 +01:00