This commit add console driver that can work with the simulator,
it's qouted from libgloss write system call. Hello.exe now builds.