megadrive_test2

annotate 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
rev   line source
nuclear@0 1 #include "vdp.h"
nuclear@0 2
nuclear@0 3 void vdp_init(void)
nuclear@0 4 {
nuclear@0 5 vdp_setreg(VDP_REG_MODE1, VDP_MODE1_BASE);
nuclear@0 6 vdp_setreg(VDP_REG_MODE2, VDP_MODE2_BASE | VDP_MODE2_DISP);
nuclear@0 7
nuclear@0 8 vdp_set_autoinc(2);
nuclear@0 9 }