megadrive_test2

view src/io.c @ 10:ca7108a82867

fixed gamepad input on real megadrive
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 24 Jun 2017 02:33:52 +0300
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 }