megadrive_test2

view src/vdp.c @ 0:ce1b05082ac4

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 14 Mar 2017 05:59:33 +0200
parents
children ea70f3da150f
line source
1 #include "vdp.h"
3 void vdp_init(void)
4 {
5 vdp_setreg(VDP_REG_MODE1, VDP_MODE1_BASE);
6 vdp_setreg(VDP_REG_MODE2, VDP_MODE2_BASE | VDP_MODE2_DISP);
8 vdp_set_autoinc(2);
9 }