extern code SetPort, getchar, putchar
