Signed-off-by: Kevin O'Connor kevin@koconnor.net --- vgasrc/stdvga.c | 14 +++++++------- vgasrc/stdvga.h | 2 +- vgasrc/vgabios.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/vgasrc/stdvga.c b/vgasrc/stdvga.c index 2edd6d7..060e866 100644 --- a/vgasrc/stdvga.c +++ b/vgasrc/stdvga.c @@ -154,13 +154,6 @@ stdvga_perform_gray_scale_summing(u16 start, u16 count) * Memory control ****************************************************************/
-// Set the video memory location of the start of character fonts -void -stdvga_set_text_block_specifier(u8 spec) -{ - stdvga_sequ_write(0x03, spec); -} - // Enable reads and writes to the given "plane" when in planar4 mode. void stdvga_planar4_plane(int plane) @@ -180,6 +173,13 @@ stdvga_planar4_plane(int plane) * Font loading ****************************************************************/
+// Set the video memory location of the start of character fonts +void +stdvga_set_font_location(u8 spec) +{ + stdvga_sequ_write(0x03, spec); +} + static void get_font_access(void) { diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h index e9cd2f0..8760486 100644 --- a/vgasrc/stdvga.h +++ b/vgasrc/stdvga.h @@ -56,8 +56,8 @@ void stdvga_set_palette_pagesize(u8 pal_pagesize); void stdvga_set_palette_page(u8 pal_page); void stdvga_get_palette_page(u8 *pal_pagesize, u8 *pal_page); void stdvga_perform_gray_scale_summing(u16 start, u16 count); -void stdvga_set_text_block_specifier(u8 spec); void stdvga_planar4_plane(int plane); +void stdvga_set_font_location(u8 spec); void stdvga_load_font(u16 seg, void *src_far, u16 count , u16 start, u8 destflags, u8 fontsize); u16 stdvga_get_crtc(void); diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c index 00325f5..22c0261 100644 --- a/vgasrc/vgabios.c +++ b/vgasrc/vgabios.c @@ -686,7 +686,7 @@ handle_101102(struct bregs *regs) static void handle_101103(struct bregs *regs) { - stdvga_set_text_block_specifier(regs->bl); + stdvga_set_font_location(regs->bl); }
static void