graphics adapter and a test program