I've been working on this for a while now and its getting dangerously close to being finished. I designed an Arduino style shield for the electronics so you can plug it directly on to a working project to look at the debug output or create a status display.
Attachment:
File comment: VT-220 on an Arduino style shield
DSCN1526.JPG [ 1.97 MiB | Viewed 1070 times ]
The interface is TTL level serial through the normal Arduino TXD/RXD pins. The code is configured for PAL and NTSC generator controlled by a jumper setting. The font is 8x10 (allegedly from a terminal ROM but looks like a PC character set to me). Its kept in RAM so I can implement downloadable soft character sets.
There are two outputs for the 'white' portion of the signal so I can general normal and bright white pixels. The generation code supports attributes for normal, bright, inverse, flashing and underlined characters as well as double height and double width. The display is 80x24 for terminal output with an extra line for the status at the bottom.
Attachment:
File comment: Sample output showing normal and bright intensity characters
DSCN1525.JPG [ 2.07 MiB | Viewed 1070 times ]
I have to complete the coding for the PS/2 keyboard input - It wasn't on my strip board prototype. I put a USB socket on the board so you don't have to have a big chunky USB/PS2 adaptor hanging off the side.
I'm going to port my 65C02 emulator to another 70MIP PIC with 16K of RAM (32K ROM) and see if I can write enough of an Acorn MOS ROM emulator to get BBC Basic to boot using the VT 220 shield for I/O. Should give create a 65C02 emulation equivalent to a real device at about 10Mhz.