Open tracker1 opened 7 years ago
This is technically possible, basically have a look at https://github.com/copy/v86/blob/master/src/browser/serial.js
This function handles interaction between a serial console and a <textarea>
element, you basically need to replace the <textarea>
stuff with websocket calls.
Alternatively, if you find an ne2k driver for FreeDOS, you could use the normal network stack. The backend we're currently using is https://github.com/benjamincburns/websockproxy.
I had this same idea. I'd like to run some old BBS software in DOSBox/FreeDOS on a server, using a websocket gateway to RIPTerm 1.54 running from the browser.
if there is any interest in this still remaining you might want to try looking at this https://en.wikipedia.org/wiki/Hayes_command_set its the general standard for modems.
An example implementation can be seen here https://github.com/nandhp/atduck
@jfmherokiller I'm definitely still interrested, just totally lost track and hadn't looked in a while... I don't think I really need the full hayes support, as I should be able to ignore any AT*
other than ATDT *
where * is host:port ... and even then, I can probably ignore that if I can activate the terminal in a connected mode.
Just curious if anyone has any tips if I wanted to do FreeDOS with an old dos dialup terminal program and use a websocket gateway to a telnet or similar endpoint.
Specifically thinking RIPTerm 1.54, and a color ANSI terminal.