megadrive_test2

view src/vdp.c @ 3:b22bc95f0cc0

added vim modelines
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 14 Mar 2017 09:11:18 +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 }