+/*-------------------------------------------------------------------------\r
+ putchar.c - putchar implementation for DS80C390\r
+\r
+ Written By - Maarten Brock, sourceforge.brock@dse.nl\r
+\r
+ This program is free software; you can redistribute it and/or modify it\r
+ under the terms of the GNU General Public License as published by the\r
+ Free Software Foundation; either version 2, or (at your option) any\r
+ later version.\r
+\r
+ This program is distributed in the hope that it will be useful,\r
+ but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+ GNU General Public License for more details.\r
+\r
+ You should have received a copy of the GNU General Public License\r
+ along with this program; if not, write to the Free Software\r
+ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\r
+\r
+ In other words, you are welcome to use, share and improve this program.\r
+ You are forbidden to forbid anyone else to use, share and improve\r
+ what you give them. Help stamp out software-hoarding!\r
+-------------------------------------------------------------------------*/\r
+\r
+#include <tinibios.h>\r
+#include <stdio.h>\r
+\r
+void putchar (char c)\r
+{\r
+ Serial0PutChar(c);\r
+}\r
+\r
+extern char getchar(void)\r
+{\r
+ return Serial0GetChar();\r
+}\r