mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-28 09:30:58 +01:00
Display PoC
This commit is contained in:
parent
b48e71ab82
commit
c6ee1bffb7
@ -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 New Issue
Block a user