mirror of
https://github.com/V2RetroComputing/analog-firmware.git
synced 2024-09-27 05:55:00 +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)() {
|
void DELAYED_COPY_CODE(render_text)() {
|
||||||
uint line;
|
uint line;
|
||||||
|
|
||||||
if((internal_flags & IFLAGS_VIDEO7) && !(soft_switches & SOFTSW_DGR)) {
|
if((internal_flags & IFLAGS_VIDEO7) && ((soft_switches & (SOFTSW_80STORE | SOFTSW_80COL | SOFTSW_DGR)) == SOFTSW_80STORE)) {
|
||||||
if(soft_switches & SOFTSW_80COL) {
|
|
||||||
for(line=0; line < 24; line++) {
|
|
||||||
render_color_text80_line(line);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
for(line=0; line < 24; line++) {
|
for(line=0; line < 24; line++) {
|
||||||
render_color_text40_line(line);
|
render_color_text40_line(line);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if(soft_switches & SOFTSW_80COL) {
|
if(soft_switches & SOFTSW_80COL) {
|
||||||
for(line=0; line < 24; line++) {
|
for(line=0; line < 24; line++) {
|
||||||
@ -78,16 +72,10 @@ void DELAYED_COPY_CODE(render_text)() {
|
|||||||
void DELAYED_COPY_CODE(render_mixed_text)() {
|
void DELAYED_COPY_CODE(render_mixed_text)() {
|
||||||
uint line;
|
uint line;
|
||||||
|
|
||||||
if((internal_flags & IFLAGS_VIDEO7) && !(soft_switches & SOFTSW_DGR)) {
|
if((internal_flags & IFLAGS_VIDEO7) && ((soft_switches & (SOFTSW_80STORE | SOFTSW_80COL | SOFTSW_DGR)) == SOFTSW_80STORE)) {
|
||||||
if(soft_switches & SOFTSW_80COL) {
|
|
||||||
for(line=20; line < 24; line++) {
|
|
||||||
render_color_text80_line(line);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
for(line=20; line < 24; line++) {
|
for(line=20; line < 24; line++) {
|
||||||
render_color_text40_line(line);
|
render_color_text40_line(line);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if(soft_switches & SOFTSW_80COL) {
|
if(soft_switches & SOFTSW_80COL) {
|
||||||
for(line=20; line < 24; line++) {
|
for(line=20; line < 24; line++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user