mirror of
https://github.com/V2RetroComputing/analog-firmware.git
synced 2024-06-16 15:29:35 +00:00
Video 7 Color Text Fixes
Removed color 80 column (for now)
This commit is contained in:
parent
9c5804c33d
commit
dd3a58f51c
|
@ -52,16 +52,10 @@ static inline uint_fast8_t char_text_bits(uint_fast8_t ch, uint_fast8_t glyph_li
|
|||
void DELAYED_COPY_CODE(render_text)() {
|
||||
uint line;
|
||||
|
||||
if((internal_flags & IFLAGS_VIDEO7) && !(soft_switches & SOFTSW_DGR)) {
|
||||
if(soft_switches & SOFTSW_80COL) {
|
||||
for(line=0; line < 24; line++) {
|
||||
render_color_text80_line(line);
|
||||
}
|
||||
} else {
|
||||
if((internal_flags & IFLAGS_VIDEO7) && ((soft_switches & (SOFTSW_80STORE | SOFTSW_80COL | SOFTSW_DGR)) == SOFTSW_80STORE)) {
|
||||
for(line=0; line < 24; line++) {
|
||||
render_color_text40_line(line);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(soft_switches & SOFTSW_80COL) {
|
||||
for(line=0; line < 24; line++) {
|
||||
|
@ -78,16 +72,10 @@ void DELAYED_COPY_CODE(render_text)() {
|
|||
void DELAYED_COPY_CODE(render_mixed_text)() {
|
||||
uint line;
|
||||
|
||||
if((internal_flags & IFLAGS_VIDEO7) && !(soft_switches & SOFTSW_DGR)) {
|
||||
if(soft_switches & SOFTSW_80COL) {
|
||||
for(line=20; line < 24; line++) {
|
||||
render_color_text80_line(line);
|
||||
}
|
||||
} else {
|
||||
if((internal_flags & IFLAGS_VIDEO7) && ((soft_switches & (SOFTSW_80STORE | SOFTSW_80COL | SOFTSW_DGR)) == SOFTSW_80STORE)) {
|
||||
for(line=20; line < 24; line++) {
|
||||
render_color_text40_line(line);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(soft_switches & SOFTSW_80COL) {
|
||||
for(line=20; line < 24; line++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user