Display PoC
This commit is contained in:
@@ -3,5 +3,9 @@
|
|||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
nx_hwinit();
|
nx_hwinit();
|
||||||
|
display_init();
|
||||||
|
display_color_screen(0xFFFFFFFF);
|
||||||
|
|
||||||
|
/* Do nothing for now */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
.align 5
|
.align 5
|
||||||
.global _start
|
.global _start
|
||||||
_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 */
|
/* Switch to supervisor mode, mask all interrupts, clear all flags */
|
||||||
msr cpsr_cxsf, #0xDF
|
msr cpsr_cxsf, #0xDF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user