From fc4c24f231246542ca96c88329f6c1a406df126d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Mon, 22 May 2006 15:36:28 +0000 Subject: [PATCH] fix scanlength setting for INT10_LoadFont functions (7 Spirits of Ra) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2632 --- src/ints/int10.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ints/int10.cpp b/src/ints/int10.cpp index 21749b28..2f2c9bbc 100644 --- a/src/ints/int10.cpp +++ b/src/ints/int10.cpp @@ -203,15 +203,19 @@ static Bitu INT10_Handler(void) { break; case 0x01: /* Load 8x14 font */ case 0x11: - INT10_LoadFont(Real2Phys(int10.rom.font_14),true,256,0,0,14); + INT10_LoadFont(Real2Phys(int10.rom.font_14),reg_al==0x11,256,0,0,14); break; case 0x02: /* Load 8x8 font */ case 0x12: - INT10_LoadFont(Real2Phys(int10.rom.font_8_first),true,256,0,0,8); + INT10_LoadFont(Real2Phys(int10.rom.font_8_first),reg_al==0x12,256,0,0,8); break; case 0x03: /* Set Block Specifier */ IO_Write(0x3c4,0x3);IO_Write(0x3c5,reg_bl); break; + case 0x04: /* Load 8x16 font */ + case 0x14: + INT10_LoadFont(Real2Phys(int10.rom.font_16),reg_al==0x14,256,0,0,16); + break; /* Graphics mode calls */ case 0x20: /* Set User 8x8 Graphics characters */ RealSetVec(0x1f,RealMake(SegValue(es),reg_bp));