--- /dev/null
+#include "vend.h"
+#include "sci.h"
+
+void sci_init() {
+ _io_ports[M6811_BAUD] = M6811_DEF_BAUD;
+ /* Setup character format 1 start, 8-bits, 1 stop. */
+ _io_ports[M6811_SCCR1] = 0;
+
+ /* Enable reciever and transmitter. */
+ _io_ports[M6811_SCCR2] = 0xc;
+}