megadrive_test2

annotate src/main.c @ 0:ce1b05082ac4

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 14 Mar 2017 05:59:33 +0200
parents
children 2560a8be8cb8
rev   line source
nuclear@0 1 #include "vdp.h"
nuclear@0 2
nuclear@0 3 int main(void)
nuclear@0 4 {
nuclear@0 5 vdp_init();
nuclear@0 6
nuclear@0 7 vdp_set_pal_entry(0, 1, 7, 0, 3);
nuclear@0 8 vdp_set_bgcolor(0, 1);
nuclear@0 9
nuclear@0 10 for(;;);
nuclear@0 11
nuclear@0 12 return 0;
nuclear@0 13 }