Begin adding loading screen

This commit is contained in:
hkz 2025-07-23 20:48:56 +02:00
commit bc20c1390d
5 changed files with 8 additions and 2 deletions

5
src/loading_screen.c Normal file
View file

@ -0,0 +1,5 @@
#include <stdint.h>
__attribute__((section("loadscreen"))) const uint8_t __loading_screen[] = {0xDE, 0xAD, 0xBE, 0xEF};
#pragma require __loading_screen

View file

@ -33,6 +33,7 @@ void init(void) {
#define SCORE_TEXT_X 32
#define SCORE_TEXT_Y 29
#define SCORE_TEXT_WIDTH 5
#pragma require __loading_screen
__task int main(void) {
uint16_t moves_count;