简体   繁体   English

IPX 网络与 DOS 和 DOSBox(在 Raspbian 下)

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

My long-term-goal is to get Doom (version 1.1) running in 3 screen mode on a mix of hardware (1 x Pentium 3 under DOS 7.10 and 2 x Raspberry Pis under Raspbian).我的长期目标是让 Doom(版本 1.1)在混合硬件(DOS 7.10 下的 1 x Pentium 3 和 Raspbian 下的 2 x Raspberry Pis)上以3 屏幕模式运行。

I have DOS running LNE100TX (I can share the configuration files if that is helpful).我有运行 LNE100TX 的 DOS(如果有帮助,我可以共享配置文件)。

I enabled IPX in the configuration file started DOSBox under Raspbian.我在 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

I started the ipx server and mounted the drive in DOSBox我启动了 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/

I found ipxbox on Github which says:我在 Github 上找到了ipxbox ,上面写着:

ipxbox is a standalone DOSBox IPX server written in Go. ipxbox 是一个用 Go 编写的独立 DOSBox IPX 服务器。 DOSBox clients can connect to the server and play together. DOSBox 客户端可以连接到服务器并一起玩。

A unique feature is that it is optionally able to bridge to real physical networks, in a manner similar to a VPN.一个独特的功能是它可以选择性地以类似于 VPN 的方式桥接到真实的物理网络。 DOSBox clients can communicate with each other on the server, but with this feature enabled they can also communicate with physical IPX nodes on the connected network. DOSBox 客户端可以在服务器上相互通信,但启用此功能后,它们还可以与连接网络上的物理 IPX 节点通信。 So emulated DOS clients should be able to play games against real DOS machines connected to the same network.因此,模拟的 DOS 客户端应该能够与连接到同一网络的真实 DOS 机器玩游戏。

So, I installed Go:所以,我安装了 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

Then I attempted to install ipxbox:然后我尝试安装ipxbox:

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

This is the message that I get when I run this command:这是我运行此命令时收到的消息:

#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.

Perhaps this is obvious, but I'm not very familiar with Linux.也许这很明显,但我对 Linux 不是很熟悉。 Does anyone have any suggestions for what is causing this?有没有人对导致这种情况的原因有任何建议?

You need to install the pcap development packages.您需要安装 pcap 开发包。

sudo apt-get install libpcap-dev须藤 apt-get 安装 libpcap-dev

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM