From 5523df5679a37b53345e9b974d64c9800c5d67c9 Mon Sep 17 00:00:00 2001 From: Ralf Grillenberger Date: Thu, 9 Sep 2010 18:59:00 +0000 Subject: [PATCH] SF patch 2923483: INT10: Accept the page argument when loading font bitmaps. Thanks makovick. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3638 --- src/ints/int10.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ints/int10.cpp b/src/ints/int10.cpp index fed4a7d7..0e1da39f 100644 --- a/src/ints/int10.cpp +++ b/src/ints/int10.cpp @@ -208,11 +208,11 @@ static Bitu INT10_Handler(void) { break; case 0x01: /* Load 8x14 font */ case 0x11: - INT10_LoadFont(Real2Phys(int10.rom.font_14),reg_al==0x11,256,0,0,14); + INT10_LoadFont(Real2Phys(int10.rom.font_14),reg_al==0x11,256,0,reg_bl,14); break; case 0x02: /* Load 8x8 font */ case 0x12: - INT10_LoadFont(Real2Phys(int10.rom.font_8_first),reg_al==0x12,256,0,0,8); + INT10_LoadFont(Real2Phys(int10.rom.font_8_first),reg_al==0x12,256,0,reg_bl,8); break; case 0x03: /* Set Block Specifier */ IO_Write(0x3c4,0x3);IO_Write(0x3c5,reg_bl); @@ -220,7 +220,7 @@ static Bitu INT10_Handler(void) { case 0x04: /* Load 8x16 font */ case 0x14: if (!IS_VGA_ARCH) break; - INT10_LoadFont(Real2Phys(int10.rom.font_16),reg_al==0x14,256,0,0,16); + INT10_LoadFont(Real2Phys(int10.rom.font_16),reg_al==0x14,256,0,reg_bl,16); break; /* Graphics mode calls */ case 0x20: /* Set User 8x8 Graphics characters */