Closed NuSkooler closed 2 years ago
Hi!
emu2
has two output methods depending on which DOS functions are called:
/dev/tty
) and start emulating the video memory and other details of the DOS screen.In the second case, the emulator stops writing to the terminal directly - instead changes to the video memory are copied to the terminal about 18 times per second.
By using node-pty, the emulator should work and send the screen to the pseudo-terminal, but you will see the terminal control codes on each screen refresh.
I would start testing simpler programs first, for example the attached "scroll.com" test, and see if the logs show something. scroll.zip
Well now I feel stupid, but setting up scroll.zip
gave me a eye check. I had both a typo and a bug in my code not catching the bad configuration. Both are fixed now and emu2
+ Sleuth are working great.
Thank you!
Hi!
Well now I feel stupid, but setting up
scroll.zip
gave me a eye check. I had both a typo and a bug in my code not catching the bad configuration. Both are fixed now andemu2
+ Sleuth are working great.Thank you!
Great, glad I could help!
I'm attempting to use
emu2
to run some old text mode DOS applications under https://github.com/microsoft/node-pty for the purpose of a BBS "door". Essentially I launchemu2
undernode-pty
'sspawn()
and capturestdout
. Input from the user is sent tostdin
.Currently I'm trying this with Sleuth. When run from a standard Linux terminal, everything is fine. When run as described as above, I do not get any output.
I use the same technique for launching native OS binaries without issue.
Any ideas? I can provide any of the debug logs if they would be helpful.