mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-01 02:37:27 +01:00
Display PoC
This commit is contained in:
parent
b48e71ab82
commit
c6ee1bffb7
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user