mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-25 21:22:47 +00:00
Added GodMode64 and BrickedMode9 FLAVORs
This commit is contained in:
parent
7bdc153ca2
commit
f34fcf6fa3
3
Makefile
3
Makefile
@ -72,7 +72,7 @@ release: clean
|
||||
vram0:
|
||||
@mkdir -p "$(OUTDIR)"
|
||||
@echo "Creating $(VRAM_OUT)"
|
||||
@$(PY3) utils/add2tar.py $(VRAM_FLAGS) $(VRAM_OUT) $(shell ls -d $(README) $(SPLASH) $(VRAM_DATA)/*)
|
||||
@$(PY3) utils/add2tar.py $(VRAM_FLAGS) $(VRAM_OUT) $(shell ls -d $(README) $(SPLASH) $(OVERRIDE_FONT) $(VRAM_DATA)/*)
|
||||
|
||||
%.elf: .FORCE
|
||||
@echo "Building $@"
|
||||
@ -81,6 +81,7 @@ vram0:
|
||||
firm: $(ELF) vram0
|
||||
@test `wc -c <$(VRAM_OUT)` -le 3145728
|
||||
@mkdir -p $(call dirname,"$(FIRM)") $(call dirname,"$(FIRMD)")
|
||||
@echo "[FLAVOR] $(FLAVOR)"
|
||||
@echo "[VERSION] $(VERSION)"
|
||||
@echo "[BUILD] $(DBUILTL)"
|
||||
@echo "[FIRM] $(FIRM)"
|
||||
|
@ -13,6 +13,20 @@ ifeq ($(FLAVOR),SafeMode9)
|
||||
CFLAGS += -DSAFEMODE
|
||||
endif
|
||||
|
||||
ifeq ($(FLAVOR),GodMode64)
|
||||
OVERRIDE_FONT := resources/fonts/font_c64_8x8.pbm
|
||||
CFLAGS += -DDEFAULT_FONT=\"font_c64_8x8.pbm\"
|
||||
CFLAGS += -DCOLOR_STD_FONT=0xD5717B
|
||||
CFLAGS += -DCOLOR_STD_BG=0xA43041
|
||||
endif
|
||||
|
||||
ifeq ($(FLAVOR),BrickedMode9)
|
||||
OVERRIDE_FONT := resources/fonts/font_nbraille_4x6.pbm
|
||||
CFLAGS += -DDEFAULT_FONT=\"font_nbraille_4x6.pbm\"
|
||||
CFLAGS += -DCOLOR_STD_FONT=0x00FFFF
|
||||
CFLAGS += -DCOLOR_STD_BG=0xFF0000
|
||||
endif
|
||||
|
||||
ifeq ($(SALTMODE),1)
|
||||
CFLAGS += -DSALTMODE
|
||||
endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#define RGB(r,g,b) ((r)<<24|(b)<<16|(g)<<8|(r))
|
||||
#define RGB(r,g,b) ((int) ((b)<<16|(g)<<8|(r)))
|
||||
|
||||
// a base set of colors below
|
||||
#define COLOR_BLACK RGB(0x00, 0x00, 0x00)
|
||||
@ -31,8 +31,12 @@
|
||||
#define COLOR_SUPERFUCHSIA RGB(0xFF, 0x00, 0xEF)
|
||||
|
||||
// standard colors - used everywhere
|
||||
#ifndef COLOR_STD_BG
|
||||
#define COLOR_STD_BG COLOR_BLACK
|
||||
#endif
|
||||
#ifndef COLOR_STD_FONT
|
||||
#define COLOR_STD_FONT COLOR_WHITE
|
||||
#endif
|
||||
|
||||
// colors for GodMode9 file browser
|
||||
#define COLOR_SIDE_BAR COLOR_DARKGREY
|
||||
|
@ -4,9 +4,14 @@
|
||||
#include "tar.h"
|
||||
|
||||
|
||||
// set default font
|
||||
#ifndef DEFAULT_FONT
|
||||
#define DEFAULT_FONT "font_default.pbm"
|
||||
#endif
|
||||
|
||||
// known file names inside VRAM0 TAR
|
||||
#define VRAM0_AUTORUN_GM9 "autorun.gm9"
|
||||
#define VRAM0_FONT_PBM "font_default.pbm"
|
||||
#define VRAM0_FONT_PBM DEFAULT_FONT
|
||||
#define VRAM0_SCRIPTS "scripts"
|
||||
#define VRAM0_README_MD "README.md"
|
||||
#define VRAM0_SPLASH_PNG FLAVOR "_splash.png"
|
||||
|
BIN
resources/BrickedMode9_splash.png
Normal file
BIN
resources/BrickedMode9_splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
resources/GodMode64_splash.png
Normal file
BIN
resources/GodMode64_splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
Loading…
x
Reference in New Issue
Block a user