These are the test codes for the ncurses library taken from my 6502 project