summaryrefslogblamecommitdiff
path: root/demo/source/initgfx.c
blob: 31f256f40bc0f489ae6fd40c1f175e648387ad74 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                      
                   
 
                        
                                                 
                                                 


                                                 





                                                 
 
#include <agbx-demo.h>

#include <ax/gfx.h>

void axd_initgfx(void) {
	ax_set10(0x500'0000u,0b000000000000000u);
	ax_set10(0x500'0002u,0b111111111111111u);
	ax_set10(0x500'0004u,0b000000000011111u);
	ax_set10(0x500'0006u,0b00001111111111u);
	ax_set10(0x500'0008u,0b00001111100000u);
	ax_set10(0x500'000Au,0b111111111100000u);
	ax_set10(0x500'000Cu,0b111110000000000u);
	ax_set10(0x500'000Eu,0b111110000011111u);
	ax_set10(0x400'0000u,0x404u);
	ax_clrscrn4(0x600'0000u,0x0u);
	ax_clrscrn4(0x600'A000u,0x0u);
}