mirror of
https://github.com/V2RetroComputing/analog-firmware.git
synced 2024-06-27 17:29:28 +00:00
Status line tweaks
Fix border size
This commit is contained in:
parent
08ba4e7911
commit
6d83fc50eb
|
@ -219,10 +219,9 @@ void DELAYED_COPY_CODE(render_loop)() {
|
||||||
} else {
|
} else {
|
||||||
vga_prepare_frame();
|
vga_prepare_frame();
|
||||||
|
|
||||||
render_border(24);
|
render_border(16);
|
||||||
if(status_line[0] != 0) {
|
if(status_line[0] != 0) {
|
||||||
render_status_line();
|
render_status_line();
|
||||||
render_border(16);
|
|
||||||
} else {
|
} else {
|
||||||
render_border(32);
|
render_border(32);
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,7 +140,7 @@ void DELAYED_COPY_CODE(render_testpattern)() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DELAYED_COPY_CODE(render_status_line)() {
|
void DELAYED_COPY_CODE(render_status_line)() {
|
||||||
for(uint glyph_line=0; glyph_line < 8; glyph_line++) {
|
for(uint glyph_line=0; glyph_line < 16; glyph_line++) {
|
||||||
struct vga_scanline *sl = vga_prepare_scanline();
|
struct vga_scanline *sl = vga_prepare_scanline();
|
||||||
uint8_t *line_buf = status_line;
|
uint8_t *line_buf = status_line;
|
||||||
uint32_t bits;
|
uint32_t bits;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user