megadrive_test2

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/main.c	Tue Mar 14 05:59:33 2017 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +#include "vdp.h"
     1.5 +
     1.6 +int main(void)
     1.7 +{
     1.8 +	vdp_init();
     1.9 +
    1.10 +	vdp_set_pal_entry(0, 1, 7, 0, 3);
    1.11 +	vdp_set_bgcolor(0, 1);
    1.12 +
    1.13 +	for(;;);
    1.14 +
    1.15 +	return 0;
    1.16 +}