簡體   English   中英

IPX 網絡與 DOS 和 DOSBox(在 Raspbian 下)

[英]IPX Networking with DOS and DOSBox (under Raspbian)

我的長期目標是讓 Doom(版本 1.1)在混合硬件(DOS 7.10 下的 1 x Pentium 3 和 Raspbian 下的 2 x Raspberry Pis)上以3 屏幕模式運行。

我有運行 LNE100TX 的 DOS(如果有幫助,我可以共享配置文件)。

我在 Raspbian 下啟動 DOSBox 的配置文件中啟用了 IPX。

[ipx]
# ipx: Enable ipx over UDP/IP emulation.
ipx=true

pi@raspberrypi:~$ dosbox
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/pi/.dosbox/dosbox-0.74.conf
MIXER:No Sound Mode Selected.
ALSA:Can’t subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none

我啟動了 ipx 服務器並在 DOSBox 中安裝了驅動器

Z:\>ipxnet startserver 19900
IPX Tunneling utility for DosBox
IPX Tunneling Server started

Z:\>mount c ~/dos-games
Drive C is mounted as local directory /home/pi/dos-games/

我在 Github 上找到了ipxbox ,上面寫着:

ipxbox 是一個用 Go 編寫的獨立 DOSBox IPX 服務器。 DOSBox 客戶端可以連接到服務器並一起玩。

一個獨特的功能是它可以選擇性地以類似於 VPN 的方式橋接到真實的物理網絡。 DOSBox 客戶端可以在服務器上相互通信,但啟用此功能后,它們還可以與連接網絡上的物理 IPX 節點通信。 因此,模擬的 DOS 客戶端應該能夠與連接到同一網絡的真實 DOS 機器玩游戲。

所以,我安裝了 Go:

pi@raspberrypi:~ $ sudo apt-get install libpcap-dev
pi@raspberrypi:~ $ export GOPATH=/home/pi/work
pi@raspberrypi:~ $ export PATH=$PATH:$GOPATH/bin
pi@raspberrypi:~ $ sudo apt-get install golang

然后我嘗試安裝ipxbox:

pi@raspberrypi:~ $ go get github.com/fragglet/ipxbox
pi@raspberrypi:~ $ cd work
pi@raspberrypi:~ $ go build ipxbox.go

這是我運行此命令時收到的消息:

#github.com/google/gopacket/pcap
go/src/github.com/google/gopacket/pcap/pcap_unix.go:34:18: fatal error: pcap.h: No such file or directory
#include <pcap.h>
compilation terminated.

也許這很明顯,但我對 Linux 不是很熟悉。 有沒有人對導致這種情況的原因有任何建議?

您需要安裝 pcap 開發包。

須藤 apt-get 安裝 libpcap-dev

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM