mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
Display PoC
This commit is contained in:
parent
b48e71ab82
commit
c6ee1bffb7
2 changed files with 8 additions and 0 deletions
|
@ -3,5 +3,9 @@
|
|||
|
||||
int main(void) {
|
||||
nx_hwinit();
|
||||
display_init();
|
||||
display_color_screen(0xFFFFFFFF);
|
||||
|
||||
/* Do nothing for now */
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue