blob: 474d5cd685fd815f74e4b7286d25aa7e01c8d6d1 (
plain) (
tree)
|
|
#include <agbx-demo.h>
#include <agbx/gfx.h>
void agbxd_initgfx(void) {
agbx_set10(0x500'0000u,0b0u);
agbx_set10(0x500'0002u,0b111111111111111u);
agbx_set10(0x500'0004u,0b11111u);
agbx_set10(0x500'0006u,0b1111111111u);
agbx_set10(0x500'0008u,0b1111100000u);
agbx_set10(0x500'000Au,0b111111111100000u);
agbx_set10(0x500'000Cu,0b111110000000000u);
agbx_set10(0x500'000Eu,0b111110000011111u);
agbx_set10(0x400'0000u,0x404u);
agbx_clrscrn4(0x600'0000u,0x0u);
agbx_clrscrn4(0x600'A000u,0x0u);
}
|