Signed-off-by: Kevin O'Connor kevin@koconnor.net --- vgasrc/stdvga.c | 4 ++-- vgasrc/stdvga.h | 2 +- vgasrc/vgabios.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/vgasrc/stdvga.c b/vgasrc/stdvga.c index 149c88a..63700d4 100644 --- a/vgasrc/stdvga.c +++ b/vgasrc/stdvga.c @@ -86,9 +86,9 @@ stdvga_get_all_palette_reg(u16 seg, u8 *data_far)
// Set blinking mode (when enabled, palette index bit 0x08 indicates blinking) void -stdvga_toggle_intensity(u8 flag) +stdvga_set_palette_blinking(u8 enable_blink) { - stdvga_attr_mask(0x10, 0x08, (flag & 0x01) << 3); + stdvga_attr_mask(0x10, 0x08, (enable_blink & 0x01) << 3); }
void diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h index a2375c7..6ce6a90 100644 --- a/vgasrc/stdvga.h +++ b/vgasrc/stdvga.h @@ -51,7 +51,7 @@ void stdvga_set_overscan_border_color(u8 color); u8 stdvga_get_overscan_border_color(void); 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); +void stdvga_set_palette_blinking(u8 enable_blink); void stdvga_select_video_dac_color_page(u8 flag, u8 data); void stdvga_read_video_dac_state(u8 *pmode, u8 *curpage); void stdvga_perform_gray_scale_summing(u16 start, u16 count); diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c index d522f83..b55a4db 100644 --- a/vgasrc/vgabios.c +++ b/vgasrc/vgabios.c @@ -544,7 +544,7 @@ handle_101002(struct bregs *regs) static void handle_101003(struct bregs *regs) { - stdvga_toggle_intensity(regs->bl); + stdvga_set_palette_blinking(regs->bl); }
static void