first steps towards brand-specific color schemes
This commit is contained in:
1 parent
aec7fe9721
commit
b73e9fbb7d
6 files changed
+20
-5
No files matched your search
@@ -161,6 +161,10 @@ Needs about 65 bytes of ROM space to handle both joysticks.
|
|||||||
|
|
||||||
## Eye candy
|
## Eye candy
|
||||||
|
|
||||||
|
### `CONFIG_COLORS_BRAND`
|
||||||
|
|
||||||
|
Tries to adjust the color scheme to the selected brand. Some brands might not support this.
|
||||||
|
|
||||||
### `CONFIG_BANNER_SIMPLE`, `CONFIG_BANNER_FANCY`, `CONFIG_BANNER_BRAND`
|
### `CONFIG_BANNER_SIMPLE`, `CONFIG_BANNER_FANCY`, `CONFIG_BANNER_BRAND`
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|||||||
@@ -51,7 +51,6 @@
|
|||||||
|
|
||||||
// Keyboard settings
|
// Keyboard settings
|
||||||
|
|
||||||
|
|
||||||
// #define CONFIG_LEGACY_SCNKEY
|
// #define CONFIG_LEGACY_SCNKEY
|
||||||
#define CONFIG_KEYBOARD_C128
|
#define CONFIG_KEYBOARD_C128
|
||||||
#define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
#define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
||||||
@@ -64,6 +63,7 @@
|
|||||||
|
|
||||||
// Eye candy
|
// Eye candy
|
||||||
|
|
||||||
|
#define CONFIG_COLORS_BRAND
|
||||||
// #define CONFIG_BANNER_SIMPLE
|
// #define CONFIG_BANNER_SIMPLE
|
||||||
#define CONFIG_BANNER_FANCY
|
#define CONFIG_BANNER_FANCY
|
||||||
// #define CONFIG_BANNER_BRAND
|
// #define CONFIG_BANNER_BRAND
|
||||||
|
|||||||
@@ -53,7 +53,6 @@
|
|||||||
|
|
||||||
// Keyboard settings
|
// Keyboard settings
|
||||||
|
|
||||||
|
|
||||||
// #define CONFIG_LEGACY_SCNKEY
|
// #define CONFIG_LEGACY_SCNKEY
|
||||||
// #define CONFIG_KEYBOARD_C128
|
// #define CONFIG_KEYBOARD_C128
|
||||||
// #define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
// #define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
||||||
@@ -66,6 +65,7 @@
|
|||||||
|
|
||||||
// Eye candy
|
// Eye candy
|
||||||
|
|
||||||
|
#define CONFIG_COLORS_BRAND
|
||||||
// #define CONFIG_BANNER_SIMPLE
|
// #define CONFIG_BANNER_SIMPLE
|
||||||
// #define CONFIG_BANNER_FANCY
|
// #define CONFIG_BANNER_FANCY
|
||||||
#define CONFIG_BANNER_BRAND
|
#define CONFIG_BANNER_BRAND
|
||||||
|
|||||||
@@ -52,7 +52,6 @@
|
|||||||
|
|
||||||
// Keyboard settings
|
// Keyboard settings
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_LEGACY_SCNKEY
|
#define CONFIG_LEGACY_SCNKEY
|
||||||
// #define CONFIG_KEYBOARD_C128
|
// #define CONFIG_KEYBOARD_C128
|
||||||
// #define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
// #define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
||||||
@@ -65,6 +64,7 @@
|
|||||||
|
|
||||||
// Eye candy
|
// Eye candy
|
||||||
|
|
||||||
|
// #define CONFIG_COLORS_BRAND
|
||||||
// #define CONFIG_BANNER_SIMPLE
|
// #define CONFIG_BANNER_SIMPLE
|
||||||
#define CONFIG_BANNER_FANCY
|
#define CONFIG_BANNER_FANCY
|
||||||
// #define CONFIG_BANNER_BRAND
|
// #define CONFIG_BANNER_BRAND
|
||||||
|
|||||||
@@ -51,7 +51,6 @@
|
|||||||
|
|
||||||
// Keyboard settings
|
// Keyboard settings
|
||||||
|
|
||||||
|
|
||||||
// #define CONFIG_LEGACY_SCNKEY
|
// #define CONFIG_LEGACY_SCNKEY
|
||||||
// #define CONFIG_KEYBOARD_C128
|
// #define CONFIG_KEYBOARD_C128
|
||||||
// #define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
// #define CONFIG_KEYBOARD_C128_CAPS_LOCK
|
||||||
@@ -64,6 +63,7 @@
|
|||||||
|
|
||||||
// Eye candy
|
// Eye candy
|
||||||
|
|
||||||
|
#define CONFIG_COLORS_BRAND
|
||||||
// #define CONFIG_BANNER_SIMPLE
|
// #define CONFIG_BANNER_SIMPLE
|
||||||
#define CONFIG_BANNER_FANCY
|
#define CONFIG_BANNER_FANCY
|
||||||
// #define CONFIG_BANNER_BRAND
|
// #define CONFIG_BANNER_BRAND
|
||||||
|
|||||||
@@ -44,12 +44,23 @@ setup_vicii:
|
|||||||
lda #$0F
|
lda #$0F
|
||||||
sta VIC_IRQ // clear all interrupts
|
sta VIC_IRQ // clear all interrupts
|
||||||
|
|
||||||
// We use a different colour scheme of white text on all blue
|
// We use a different colour scheme of white text on all blue by default,
|
||||||
|
// but brand-specific color scheme can also be enabled
|
||||||
|
|
||||||
|
#if CONFIG_COLORS_BRAND && CONFIG_BRAND_ULTIMATE_64
|
||||||
|
|
||||||
|
lda #$00
|
||||||
|
sta VIC_EXTCOL
|
||||||
|
sta VIC_BGCOL0
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
lda #$06
|
lda #$06
|
||||||
sta VIC_EXTCOL
|
sta VIC_EXTCOL
|
||||||
sta VIC_BGCOL0
|
sta VIC_BGCOL0
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
// Setup default I/O devices
|
// Setup default I/O devices
|
||||||
|
|
||||||
jmp clrchn_reset
|
jmp clrchn_reset
|
||||||
Reference in new issue
Block a user