Just sharing my experience of setting up a remote console for DVK/MC1201 core. Why? Because I wanted to have a shared clipboard and interested in running some compilers and stuff like that. Text based games are working, too Updated: Nov 4, uartmode typo. Nov 25, vtwrap page has gone south.
Pre-requisites:
vtwrap application to ensure VT52/15IE terminal support (link1, link2, link3 (tar.gz), pre-built static binary attached)
Using a keyboard and a screen attached to the MISTer device launch MC1201 core, open OSD and switch "Console:" to "Console: UART". You may want to set "CPU slow:" to "ON" if you plan on running a game.
Start GNU screen to [indirectly] handle ancient KOI7 (vtwrap can translate KOI7 into more or less supported KOI8, which will be translated into your actual termial's locale by GNU screen). Note: this is not the only way to do it, but I find it easy (and it keeps your SSH session alive as well).
The rest happens "inside" the screen session, assuming you're using local UTF-8 locale for simplicity (google how to set up encoding if you don't)
Configure screen window to use KOI8-R encoding (this can be done at any stage before running software using KOI7)
C-a: (that's Ctrl+A followed by colon)
encoding koi8-r (you type that at the ':' prompt)
Start a wrapper emulating Soviet 15IE (see footnote 1) terminal:
Some MISTer console output will look weird, just ignore it.
SSH to the mister
set uartmode to "2" (1 - ppp, 2 - serial console on ttyS1, 3,5 - midilink)
make sure the mode is set up properly (from time to time MISTer may reset it)
you should see the following, if you do not, re-run "uartmode 2"
launch picocom (microcom seems to be working with vtwrap, does NOT without it), picocom defaults to 9600 baud, so specifing correct line speed is essential:
Code: Select all
/root# picocom -b 115200 /dev/ttyS1
exit picocom when needed with C-a a C-x
At this point you better turn on CAPS LOCK as most of the commands are uppercase (lowercase English letters are mapped to Cyrillic when using KOI7)
Boot RT-11 with games image:
Other images available:
RK0 - RT-11FB (S) V05.04.D
DX0 - XXDP+
MY0 - RT-11SJ V05.01 + Soviet games
- vtwrap has the following command line switches: "-s - clears 8'th bit of each character", "-t TYPE" sets emulated terminal type, supported vt52, cm7209 and 15ie
P.S. https://pdp-11.org.ru/~form/ctakah.html mentions SET TRA:CM$7209 and SET NO TRA commands, have not tried those, I think these are really necessary if you need to use Russian software and have Soviet RT-11 (FODOS, RAFOS) variants. The page seems to be no longer available, here is the latest wayback machine snapshot. upd 2023: Original HTML pages describing vtwrap seem to disappear quickly and while it's possible find some bits with a clever search-foo when you know what you are looking for, project description has vanished from the Internet. Hence I decided to post the contents of the original tgz to GitHub. Happy to transfer ownership, if someone (original author?) wants to take over as I have no plans on enhancing/modifying it.
TODO: find out 15ie/vt52 reset sequence