From c6ee1bffb7b5a6eb4fbf6550df6277cb7ecfad7f Mon Sep 17 00:00:00 2001 From: TuxSH Date: Thu, 15 Mar 2018 23:12:38 +0100 Subject: [PATCH] Display PoC --- fusee/src/main.c | 4 ++++ fusee/src/start.s | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/fusee/src/main.c b/fusee/src/main.c index 98ea3f3b3..b0f3ba233 100644 --- a/fusee/src/main.c +++ b/fusee/src/main.c @@ -3,5 +3,9 @@ int main(void) { nx_hwinit(); + display_init(); + display_color_screen(0xFFFFFFFF); + + /* Do nothing for now */ return 0; } diff --git a/fusee/src/start.s b/fusee/src/start.s index 36e020085..961542f45 100644 --- a/fusee/src/start.s +++ b/fusee/src/start.s @@ -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