megadrive_test1

view src/main.c @ 4:e7138066c7ea

started the vdp.h header, and hastily rewrote the VDP test as C code
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 01 Feb 2017 13:40:50 +0200
parents
children f99eab59e7dc
line source
1 #include "vdp.h"
3 int main(void)
4 {
5 VDP_PORT_CTL = 0xc000;
6 VDP_PORT_CTL = 0;
7 VDP_PORT_DATA = 0x1f8;
8 VDP_PORT_CTL = 0x8700;
9 VDP_PORT_CTL = 0x8004;
10 VDP_PORT_CTL = 0x8144;
11 return 0;
12 }