#include "stdio.h" int main() { volatile char byte; char str[] = "\n hello world! \n"; while(1){ tty_puts((void*)str); tty_getc((void*)&byte); if (byte == 'q') exit(); } exit(); } // end main