From 910d35f80cde3524de32575a644658efd84aa72e Mon Sep 17 00:00:00 2001 From: TheMuso <9444357+TheMuso@users.noreply.github.com> Date: Sun, 13 Apr 2025 07:30:39 +1000 Subject: [PATCH] fix: Use the pcnet ethernet device for FreeDOS (#1587) FreeDOS does ship the Crynwr packet driver package, which does contain an RTL8139 driver. However, you have to install the package after installing FreeDOS, even if you performed a full install. It also seems to lock up for me when attempting to load it. The PCNet packet driver on the other hand, is installed with a full FreeDOS install, is open source, and does work, at least for me. --- quickemu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index a7a378a..b188804 100755 --- a/quickemu +++ b/quickemu @@ -752,7 +752,7 @@ function configure_bios() { function configure_os_quirks() { - if [ "${guest_os}" == "batocera" ] || [ "${guest_os}" == "freedos" ] || [ "${guest_os}" == "haiku" ] || [ "${guest_os}" == "kolibrios" ]; then + if [ "${guest_os}" == "batocera" ] || [ "${guest_os}" == "haiku" ] || [ "${guest_os}" == "kolibrios" ]; then NET_DEVICE="rtl8139" fi @@ -763,7 +763,8 @@ function configure_os_quirks() { case ${guest_os} in windows-server) NET_DEVICE="e1000";; *bsd|linux*|windows) NET_DEVICE="virtio-net";; - freedos) sound_card="sb16";; + freedos) sound_card="sb16" + NET_DEVICE="pcnet";; *solaris) usb_controller="xhci" sound_card="ac97";; reactos) NET_DEVICE="e1000"