blob: ce0a234c4250807354c97c81d20b093226b43e34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <agbx-demo.h>
#include <ax/key.h>
#include <ax/gfx.h>
ax_err ax_main(void) {
axd_dat dat;
axd_initdat(&dat);
axd_initgfx();
bool const err = axd_loop(&dat);
if (err) {
for (ax_i01 px = 0x0u;px != 0x9600u;++px) {
ax_setpx1(dat.vaddr,px,dat.col);
axd_chgcol(&dat,0x1u);
}
return ax_err_max;
}
return ax_err_ok;
}
|