megadrive_test2

view src/io.c @ 12:54caa2b214ca

TMSS code
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 26 Dec 2018 04:39:09 +0200
parents
children
line source
1 #include "io.h"
3 void io_init(void)
4 {
5 io_setdir(0, 0x40);
6 io_setdir(1, 0x40);
8 IO_REG_DATA(0) = 0;
9 IO_REG_DATA(1) = 0;
10 }