aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/stdvga.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-03-31 21:58:12 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-04-05 17:58:49 -0400
commit2996819f7df7f5a8fb53528213baa48ab65dad90 (patch)
tree770c54977f875b30fef5e19b701a631dd9dd5d1a /vgasrc/stdvga.h
parent913680885350f92965d70122f6fd54406c49af7d (diff)
downloadseabios-2996819f7df7f5a8fb53528213baa48ab65dad90.tar.gz
stdvga: Rename CGA palette functions
Rename stdvga_set_border_color() to stdvga_set_cga_background_color() and stdvga_set_palette() to stdvga_set_cga_palette(). These functions implement compatibility for old CGA cards - rename them so they are not confused with the functions that manipulte the VGA palette. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/stdvga.h')
-rw-r--r--vgasrc/stdvga.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h
index ce797836..a2375c7e 100644
--- a/vgasrc/stdvga.h
+++ b/vgasrc/stdvga.h
@@ -45,10 +45,10 @@
#define SEG_MTEXT 0xB000
// stdvga.c
-void stdvga_set_border_color(u8 color);
+void stdvga_set_cga_background_color(u8 color);
+void stdvga_set_cga_palette(u8 palid);
void stdvga_set_overscan_border_color(u8 color);
u8 stdvga_get_overscan_border_color(void);
-void stdvga_set_palette(u8 palid);
void stdvga_set_all_palette_reg(u16 seg, u8 *data_far);
void stdvga_get_all_palette_reg(u16 seg, u8 *data_far);
void stdvga_toggle_intensity(u8 flag);