Display PoC

This commit is contained in:
TuxSH 2018-03-15 23:12:38 +01:00
parent b48e71ab82
commit c6ee1bffb7
2 changed files with 8 additions and 0 deletions

View file

@ -3,5 +3,9 @@
int main(void) {
nx_hwinit();
display_init();
display_color_screen(0xFFFFFFFF);
/* Do nothing for now */
return 0;
}

View file

@ -7,6 +7,10 @@
.align 5
.global _start
_start:
/* Insert NOPs for convenience (i.e. to use Nintendo's BCTs, for example) */
.rept 16
nop
.endr
/* Switch to supervisor mode, mask all interrupts, clear all flags */
msr cpsr_cxsf, #0xDF