Commit Graph

746 Commits

Author SHA1 Message Date
Wengier
1839813d9a fix 2021-03-14 08:28:18 -04:00
Jonathan Campbell
876cbb9660 Merge pull request #2341 from Allofich/SVN
SVN commits
2021-03-06 14:41:30 -08:00
Allofich
9294d450ec SVN r4412
Update copyright.
2021-03-06 21:18:08 +09:00
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
Jookia
cb132e02ad ne2000: Decouple emulator from pcap
Currently the ne2000 emulator explicitly depends on pcap.
Decouple the ne2000 code and pcap code so we can always build with the
emulator but optionally disable pcap.

This also updates build defines and configuration to make this
decoupling explicit to the user.
2021-03-05 05:39:03 +11:00
Jonathan Campbell
3835831fde begin next version 2021-03-01 12:26:48 -08: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
Jonathan Campbell
dcfe778e6a Begin next version 2021-02-01 12:32:35 -08:00
Allofich
3ce680aef6 Move file in VS project to match actual directory 2021-01-31 17:31:35 +09:00
Wengier
cd9435b200 add file 2021-01-23 12:49:27 -05:00
Wengier
850bf561c4 Direct3D output for Windows SDL2 builds 2021-01-23 08:00:37 -05:00
Allofich
fdbedcddbd Add core_dyn_x86 folder to VS solution 2021-01-23 03:38:15 +09:00
Wengier
79dedbc99a update version 2021-01-08 02:07:10 -05:00
Jonathan Campbell
d7c7f119e0 The SDL compat CD-ROM code breaks on non-Windows targets because config.h does not exist yet and SDL does not make a config.h 2020-12-27 09:28:51 -08:00
Wengier
5176185aa1 more 2020-12-27 05:52:21 -05:00
Wengier
5aab3dd92d Merge branch 'master' of https://github.com/joncampbell123/dosbox-x 2020-12-27 03:09:15 -05:00
Wengier
b704421915 Fix issue #2119 2020-12-27 02:54:35 -05:00
Jonathan Campbell
6594ce7bc1 Fix Linux/X11 again 2020-12-24 23:14:10 -08:00
Jonathan Campbell
23ee0185ad Linux/X11: SDL1 sets window hint on window resize, and calls XMoveWindow() to center as well. That breaks under XFCE 4.14 and causes the window to perpetually recieve its original size no matter what DOSBox-X is trying to do 2020-12-24 22:54:38 -08:00
Wengier
f205441713 fixes 2020-12-20 15:44:15 -05:00
Wengier
8aed7eef6f improved TTF color scheme 2020-12-05 03:33:41 -05:00
Jonathan Campbell
6b8dc87b95 Merge pull request #2041 from josephillips85/master
Support for OPL3Duo Board
2020-11-30 23:59:45 -08:00
Jonathan Campbell
2abf6700cb Begin next version 2020-11-30 23:03:49 -08:00
Jose Phillips
a7a8bae1b6 Support for OPL3Duo Board 2020-11-29 17:11:33 -05:00
Jonathan Campbell
15d5114d62 Apologies to dyn_x86. Instead of depending on mere typecasting, actually mask and compare to determine whether &cpu_regs resides above 4GB address-wise so the correct x86_64 executable code is generated. 2020-11-27 22:14:17 -08:00
Jonathan Campbell
3f7286e414 SDL2: configure.ac modified to match only iOS for iOS, instead of assuming iOS if ARM and Darwin 2020-11-27 15:28:41 -08:00
Jonathan Campbell
3a7e280cb0 Enable FreeType in SDL1 Mac OS X 2020-11-27 11:41:07 -08:00
Jonathan Campbell
2643ce9b10 FreeType, more 2020-11-27 11:16:17 -08:00
Jonathan Campbell
0ebcffb003 FreeType 2.9.1 on Linux needs to be reminded where to find uintptr_t 2020-11-27 11:12:15 -08:00
Jonathan Campbell
30baaa6af9 more missing FreeType files 2020-11-27 11:09:55 -08:00
Jonathan Campbell
e4f592dd83 FreeType build script 2020-11-27 11:07:51 -08:00
Jonathan Campbell
f40151d3da Add missing parts of FreeType 2020-11-27 11:04:15 -08:00
Jonathan Campbell
398e047cfa VS2019 64-bit builds are going to have to use dynrec. dyn_x86 is crashing in 64-bit builds. 2020-11-27 10:05:28 -08:00
Wengier
18a838fe47 Merge branch 'master' of https://github.com/joncampbell123/dosbox-x 2020-11-22 02:01:25 -05:00
Jonathan Campbell
90c981c4b8 Do not define USE_TTF if C_FREETYPE not defined aka FreeType not detected 2020-11-21 22:19:57 -08:00
Jonathan Campbell
5f648fa3e1 Merge pull request #1998 from Wengier/master
Fix issue #1996 and improve TTF output
2020-11-14 22:53:39 -08:00
Wengier
ee3121006a more TTF improvements, including support for non-Windows platforms 2020-11-14 19:31:17 -05:00
Jonathan Campbell
9514aa64d3 SDL1: Stop using ancient Mac OS X audio API functions from the mid 2000s and use the newer altername names of the same sort of API. The ancient function names no longer work on Big Sur, audio unit enumeration does not work there. This allows SDL1 to produce audio output again on Big Sur 2020-11-13 18:23:00 -08:00
Jonathan Campbell
72e8e72255 SDL1 coreaudio: Instead of just saying OOPS I FAILED, provide the OSStatus code returned by the CoreAudio API 2020-11-13 16:31:32 -08:00
Jonathan Campbell
862dbc3c2e Merge pull request #1899 from Jookia/RFC_remove_vs_stuff
Remove extra VS2013 files
2020-11-13 00:04:06 -08:00
Wengier
fcae8a1820 cleanup for now 2020-11-03 02:35:53 -05:00
Wengier
26d318d070 start new version 2020-11-02 01:57:10 -05:00
Wengier
f6e5d3b125 disable avcodec by default and allow disable libfluidsynth 2020-10-29 14:19:31 -04:00
Wengier
bfc30fc6bf Enable xBRZ scaler for VS SDL2 builds 2020-10-28 19:42:22 -04:00
Wengier
a5ff5c232f Add OPUS CDDA support 2020-10-27 05:21:41 -04:00
Wengier
5ee5e64aff more FluidSynth 2020-10-23 02:10:27 -04:00
Wengier
9b6f987d2e move fluidsynth files and fix -socket option 2020-10-22 19:22:59 -04:00