configuration cleanup
This commit is contained in:
1 parent
abc669d761
commit
d6f4f80e89
7 files changed
+38
-38
No files matched your search
@@ -11,7 +11,7 @@ Just edit them and recompile the project. To enable particular option - uncommen
|
||||
|
||||
Note however, that features do not came for free - enabling them needs some additional ROM space (in BASIC segment, in KERNAL segment, or in both), which is VERY limited on the target machines. Some options might be unavailable for speecific targets - read the comments in the configuration files. Some options might also carry compatibility and/or performance hit - so choose wisely.
|
||||
|
||||
## Hardware platform and variant
|
||||
## Hardware platform and brand
|
||||
|
||||
### `CONFIG_PLATFORM_COMMODORE_64`
|
||||
|
||||
@@ -23,11 +23,11 @@ Since Open ROMs is highly modular, it should be possible to add other platforms
|
||||
* 8KB ROM area `$A000`-`$BFFF`
|
||||
* 8KB ROM area `$E000`-`$FFFF`
|
||||
|
||||
### `CONFIG_VARIANT_GENERIC`
|
||||
### `CONFIG_BRAND_GENERIC`
|
||||
|
||||
If you don't know which variant to choose - select this one.
|
||||
|
||||
### `CONFIG_VARIANT_MEGA_65`, `CONFIG_VARIANT_ULTIMATE_64`
|
||||
### `CONFIG_BRAND_MEGA_65`, `CONFIG_BRAND_ULTIMATE_64`
|
||||
|
||||
Select if you are using appropriate motherboard.
|
||||
|
||||
@@ -153,11 +153,11 @@ Needs about 65 bytes of ROM space to handle both joysticks.
|
||||
|
||||
## Eye candy
|
||||
|
||||
### `CONFIG_BANNER_SIMPLE`, `CONFIG_BANNER_FANCY`, `CONFIG_BANNER_VARIANT`
|
||||
### `CONFIG_BANNER_SIMPLE`, `CONFIG_BANNER_FANCY`, `CONFIG_BANNER_BRAND`
|
||||
|
||||
Select startup banner - either a simple one, or with some colorful elements. `CONFIG_BANNER_VARIANT` heavily depends on the selected hardware target, not all targets support it.
|
||||
Select startup banner - either a simple one, or with some colorful elements. `CONFIG_BANNER_BRAND` heavily depends on the selected brand, not all the brands support it.
|
||||
|
||||
Richer banners need more BASIC segment, varies between hardware variants.
|
||||
Richer banners need more BASIC segment, varies between brands.
|
||||
|
||||
### `CONFIG_BANNER_PAL_NTSC`
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
// - do not enable features which are a significant compatibility risk
|
||||
|
||||
|
||||
// Hardware platform and variant
|
||||
// Hardware platform and brand
|
||||
|
||||
#define CONFIG_PLATFORM_COMMODORE_64
|
||||
|
||||
#define CONFIG_VARIANT_GENERIC
|
||||
// #define CONFIG_VARIANT_MEGA_65
|
||||
// #define CONFIG_VARIANT_ULTIMATE_64
|
||||
#define CONFIG_BRAND_GENERIC
|
||||
// #define CONFIG_BRAND_MEGA_65
|
||||
// #define CONFIG_BRAND_ULTIMATE_64
|
||||
|
||||
|
||||
// Processor instruction set
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
// #define CONFIG_BANNER_SIMPLE
|
||||
#define CONFIG_BANNER_FANCY
|
||||
// #define CONFIG_BANNER_VARIANT
|
||||
// #define CONFIG_BANNER_BRAND
|
||||
#define CONFIG_SHOW_PAL_NTSC
|
||||
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
// do not enable CPU-specific optimizations; ROMs would be hard to test
|
||||
|
||||
|
||||
// Hardware platform and variant
|
||||
// Hardware platform and brand
|
||||
|
||||
#define CONFIG_PLATFORM_COMMODORE_64
|
||||
|
||||
// #define CONFIG_VARIANT_GENERIC
|
||||
#define CONFIG_VARIANT_MEGA_65
|
||||
// #define CONFIG_VARIANT_ULTIMATE_64
|
||||
// #define CONFIG_BRAND_GENERIC
|
||||
#define CONFIG_BRAND_MEGA_65
|
||||
// #define CONFIG_BRAND_ULTIMATE_64
|
||||
|
||||
|
||||
// Processor instruction set
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
// - do not enable features which are a significant compatibility risk
|
||||
|
||||
|
||||
// Hardware platform and variant
|
||||
// Hardware platform and brand
|
||||
|
||||
#define CONFIG_PLATFORM_COMMODORE_64
|
||||
|
||||
// #define CONFIG_VARIANT_GENERIC
|
||||
// #define CONFIG_VARIANT_MEGA_65
|
||||
#define CONFIG_VARIANT_ULTIMATE_64
|
||||
// #define CONFIG_BRAND_GENERIC
|
||||
// #define CONFIG_BRAND_MEGA_65
|
||||
#define CONFIG_BRAND_ULTIMATE_64
|
||||
|
||||
|
||||
// Processor instruction set
|
||||
|
||||
@@ -19,28 +19,28 @@
|
||||
|
||||
|
||||
|
||||
// Check that platform variant configuration is correct
|
||||
// Check that platform and brand configuration is correct
|
||||
|
||||
{
|
||||
.var selected = 0;
|
||||
|
||||
#if CONFIG_VARIANT_GENERIC
|
||||
#if CONFIG_BRAND_GENERIC
|
||||
.eval selected++
|
||||
#endif
|
||||
#if CONFIG_VARIANT_MEGA_65
|
||||
#if CONFIG_BRAND_MEGA_65
|
||||
.eval selected++
|
||||
#endif
|
||||
#if CONFIG_VARIANT_ULTIMATE_64
|
||||
#if CONFIG_BRAND_ULTIMATE_64
|
||||
.eval selected++
|
||||
#endif
|
||||
|
||||
.if (selected != 1) .error "Please select exactly one CONFIG_VARIANT_* option"
|
||||
.if (selected != 1) .error "Please select exactly one CONFIG_BRAND_* option"
|
||||
|
||||
#if !CONFIG_PLATFORM_COMMODORE_64 && CONFIG_VARIANT_MEGA_65 &&
|
||||
.error "CONFIG_VARIANT_MEGA_65 can only be used with CONFIG_PLATFORM_COMMODORE_64"
|
||||
#if !CONFIG_PLATFORM_COMMODORE_64 && CONFIG_BRAND_MEGA_65 &&
|
||||
.error "CONFIG_BRAND_MEGA_65 can only be used with CONFIG_PLATFORM_COMMODORE_64"
|
||||
#endif
|
||||
#if !CONFIG_PLATFORM_COMMODORE_64 && CONFIG_VARIANT_ULTIMATE_64 &&
|
||||
.error "CONFIG_VARIANT_ULTIMATE_64 can only be used with CONFIG_PLATFORM_COMMODORE_64"
|
||||
#if !CONFIG_PLATFORM_COMMODORE_64 && CONFIG_BRAND_ULTIMATE_64 &&
|
||||
.error "CONFIG_BRAND_ULTIMATE_64 can only be used with CONFIG_PLATFORM_COMMODORE_64"
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -97,18 +97,18 @@
|
||||
#if CONFIG_BANNER_FANCY
|
||||
.eval selected++
|
||||
#endif
|
||||
#if CONFIG_BANNER_VARIANT
|
||||
#if CONFIG_BANNER_BRAND
|
||||
.eval selected++
|
||||
#endif
|
||||
|
||||
.if (selected != 1) .error "Please select exactly one CONFIG_MEMORY_MODEL_* option"
|
||||
|
||||
#if CONFIG_BANNER_VARIANT && !CONFIG_VARIANT_MEGA_65
|
||||
.error "CONFIG_BANNER_VARIANT is not supported for your CONFIG_VARIANT_*"
|
||||
#if CONFIG_BANNER_BRAND && !CONFIG_BRAND_MEGA_65
|
||||
.error "CONFIG_BANNER_BRAND is not supported for your CONFIG_BRAND_*"
|
||||
#endif
|
||||
|
||||
#if CONFIG_BANNER_VARIANT && CONFIG_VARIANT_MEGA_65 && CONFIG_SHOW_PAL_NTSC
|
||||
.error "MEGA65 variant banner does not support showing PAL/NTSC"
|
||||
#if CONFIG_BANNER_BRAND && CONFIG_BRAND_MEGA_65 && CONFIG_SHOW_PAL_NTSC
|
||||
.error "MEGA65 brand banner does not support showing PAL/NTSC"
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ initmsg_real:
|
||||
ldy #$00
|
||||
jmp plot_set
|
||||
|
||||
#elif CONFIG_BANNER_VARIANT && CONFIG_VARIANT_MEGA_65
|
||||
#elif CONFIG_BANNER_BRAND && CONFIG_BRAND_MEGA_65
|
||||
|
||||
lda #<startup_banner
|
||||
ldy #>startup_banner
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
.macro BANNER_TEXT() {
|
||||
|
||||
#if CONFIG_VARIANT_GENERIC
|
||||
#if CONFIG_BRAND_GENERIC
|
||||
.text "OPEN ROMS GENERIC BUILD"
|
||||
#elif CONFIG_VARIANT_MEGA_65
|
||||
#elif CONFIG_BRAND_MEGA_65
|
||||
.text "OPEN ROMS FOR MEGA65"
|
||||
#elif CONFIG_VARIANT_ULTIMATE_64
|
||||
#elif CONFIG_BRAND_ULTIMATE_64
|
||||
.text "OPEN ROMS FOR ULTIMATE 64"
|
||||
#endif
|
||||
|
||||
@@ -42,7 +42,7 @@ pre_revision_string:
|
||||
.text "RELEASE "
|
||||
.byte $00
|
||||
|
||||
#elif CONFIG_BANNER_VARIANT && CONFIG_VARIANT_MEGA_65
|
||||
#elif CONFIG_BANNER_BRAND && CONFIG_BRAND_MEGA_65
|
||||
|
||||
// Fancy Mega65 banner - from Retrofan
|
||||
.byte $9a, $12, $20, $20, $7f, $a9, $20, $20, $1f, $20, $9a, $20, $20, $20
|
||||
|
||||
Reference in new issue
Block a user