Yesterday I saw this video https://www.youtube.com/watch?v=Lke34tlJcTA and I wondered if something like this could be done with PCem
A modern computer running PCem with a serial cable (serial dedicated cards are available in PCI and PCIe buses) connected to an older computer to play and share data (like the the DOS built in INTERLNK and INTERSVR that I used a lot in the mid 90s)
Also, I hope it could be much easier to do than current network implementation
null-modem emulation
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: null-modem emulation
Sure, if someone codes it.
Re: null-modem emulation
I just realized that it was already implemented in DOSBOX so I shouldn't too difficult to do in PCem
https://www.youtube.com/watch?v=P7hJFxb0Klk
https://www.youtube.com/watch?v=P7hJFxb0Klk
-
- Posts: 43
- Joined: Sat 22 Apr, 2017 3:26 pm
Re: null-modem emulation
This idea seems to have a potential beyond just adding emulation of null modem serial cables, it could be also used to add emulation of actual modems (and their chipsets), and possibly allow web browsing at dial-up speeds. There is modem emulation in DOSBox using TCP/IP interfacing and Hayes AT modem commands:
https://www.dosbox.com/wiki/Connectivity#Modem_emulation
I wonder if this could be ported over to PCem in addition to the previously mentioned null modem serial cable emulation.
https://www.dosbox.com/wiki/Connectivity#Modem_emulation
I wonder if this could be ported over to PCem in addition to the previously mentioned null modem serial cable emulation.
Re: null-modem emulation
Plus, there are games that won't work with network, just modem and null-modem like the first Command & Conquer
- Attachments
-
- c&c.jpg (64.8 KiB) Viewed 7985 times
-
- Posts: 43
- Joined: Sat 22 Apr, 2017 3:26 pm
Re: null-modem emulation
If anyone is interested in porting the null modem and modem code from DOSBox to PCem, here is the code from the DOSBox source code website:
Null modem:
https://sourceforge.net/p/dosbox/code-0/HEAD/tree/dosbox/branches/0_74_3/src/hardware/serialport/nullmodem.cpp
https://sourceforge.net/p/dosbox/code-0/HEAD/tree/dosbox/branches/0_74_3/src/hardware/serialport/nullmodem.h
Modem:
https://sourceforge.net/p/dosbox/code-0/HEAD/tree/dosbox/branches/0_74_3/src/hardware/serialport/softmodem.cpp
https://sourceforge.net/p/dosbox/code-0/HEAD/tree/dosbox/branches/0_74_3/src/hardware/serialport/softmodem.h
Re: null-modem emulation
It would have a nice use case for Linux hosts : a PPP connection could be established between the guest and the host to gain full IP connectivity without pcap