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
This commit is contained in:
parent
01c7e8b454
commit
fc4c24f231
1 changed files with 6 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue