Here is the code for the AVR as well as some pictures.
The C code: RS232_Testboard.zip
The code is public domain.
I am using Peter Fleury's AVR UART library for this project.
The first picture shows a test application, written on an 80286 with Borland TurboC that communicates with the RS232 testboard: