1
0
Fork 0

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
This commit is contained in:
Ralf Grillenberger 2010-09-09 18:59:00 +00:00
parent 65649abbba
commit 5523df5679

View file

@ -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 */