small build system and config files reorganization

This commit is contained in:
FeralChild64 committed 2019-12-20 17:29:06 +01:00
1 parent 8f30156ec5
commit 9392728750
20 files changed
+224 -41

No files matched your search

+24
View File
@@ -10,6 +10,8 @@ initmsg_real:
ldy #>startup_banner
jsr STROUT
#if !CONFIG_BRAND_CUSTOM_BUILD
ldx #$01
ldy #$04
jsr plot_set
@@ -18,13 +20,23 @@ initmsg_real:
ldy #>rom_revision_basic_string
jsr STROUT
#endif // no CONFIG_BRAND_CUSTOM_BUILD
#if !CONFIG_BRAND_CUSTOM_BUILD
ldx #$03
#else
ldx #$02
#endif
ldy #$04
jsr plot_set
jsr initmsg_bytes_free
#if !CONFIG_BRAND_CUSTOM_BUILD
ldx #$06
#else
ldx #$05
#endif
ldy #$00
#if CONFIG_SHOW_PAL_NTSC && CONFIG_SHOW_FEATURES
jsr plot_set
@@ -54,6 +66,8 @@ initmsg_real:
ldy #>startup_banner
jsr STROUT
#if !CONFIG_BRAND_CUSTOM_BUILD
ldx #$01
ldy #$0A
jsr plot_set
@@ -66,13 +80,23 @@ initmsg_real:
ldy #>rom_revision_basic_string
jsr STROUT
#endif // no CONFIG_BRAND_CUSTOM_BUILD
#if !CONFIG_BRAND_CUSTOM_BUILD
ldx #$03
#else
ldx #$02
#endif
ldy #$0A
jsr plot_set
jsr initmsg_bytes_free
#if !CONFIG_BRAND_CUSTOM_BUILD
ldx #$06
#else
ldx #$05
#endif
ldy #$00
#if CONFIG_SHOW_PAL_NTSC && CONFIG_SHOW_FEATURES
jsr plot_set
+8 -1
View File
@@ -8,7 +8,10 @@
.macro BANNER_TEXT() {
#if CONFIG_BRAND_GENERIC
#if CONFIG_BRAND_CUSTOM_BUILD
.text "OPEN ROMS "
.text CONFIG_CUSTOM_BRAND
#elif CONFIG_BRAND_GENERIC
.text "OPEN ROMS GENERIC BUILD"
#elif CONFIG_BRAND_TESTING
.text "OPEN ROMS TESTING BUILD"
@@ -61,11 +64,15 @@ rainbow_logo:
.byte SET_COLOR_0, $00
}
#if !CONFIG_BRAND_CUSTOM_BUILD
pre_revision_string:
.text "RELEASE "
.byte $00
#endif // no CONFIG_BRAND_CUSTOM_BUILD
#elif CONFIG_BANNER_BRAND && CONFIG_BRAND_MEGA_65
// Fancy Mega65 banner - from Retrofan
@@ -21,7 +21,12 @@ rom_revision_basic_string:
// $BF55
#if !CONFIG_BRAND_CUSTOM_BUILD
.text "(DEVEL SNAPSHOT)" // actual ROM revision string; up to 16 characters
#else
.text "(CUSTOM BUILD)"
#endif
.byte $00 // marks the end of string
__rom_revision_basic_end:
@@ -35,7 +35,12 @@ rom_revision_kernal_string:
// $E4BC
#if !CONFIG_BRAND_CUSTOM_BUILD
.text "(DEVEL SNAPSHOT)" // actual ROM revision string; up to 16 characters
#else
.text "(CUSTOM BUILD)"
#endif
.byte $00 // marks the end of string
__rom_revision_kernal_end: