megadrive_test1

diff src/main.c @ 4:e7138066c7ea

started the vdp.h header, and hastily rewrote the VDP test as C code
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 01 Feb 2017 13:40:50 +0200
parents
children f99eab59e7dc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/main.c	Wed Feb 01 13:40:50 2017 +0200
     1.3 @@ -0,0 +1,12 @@
     1.4 +#include "vdp.h"
     1.5 +
     1.6 +int main(void)
     1.7 +{
     1.8 +	VDP_PORT_CTL = 0xc000;
     1.9 +	VDP_PORT_CTL = 0;
    1.10 +	VDP_PORT_DATA = 0x1f8;
    1.11 +	VDP_PORT_CTL = 0x8700;
    1.12 +	VDP_PORT_CTL = 0x8004;
    1.13 +	VDP_PORT_CTL = 0x8144;
    1.14 +	return 0;
    1.15 +}