special handling of attribute for write character function in certain monochrome VGA mode (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3640
This commit is contained in:
parent
7bb29e185c
commit
4654193d3a
1 changed files with 3 additions and 1 deletions
|
@ -107,7 +107,9 @@ static Bitu INT10_Handler(void) {
|
|||
INT10_ReadCharAttr(®_ax,reg_bh);
|
||||
break;
|
||||
case 0x09: /* Write Character & Attribute at cursor CX times */
|
||||
INT10_WriteChar(reg_al,reg_bl,reg_bh,reg_cx,true);
|
||||
if (real_readb(BIOSMEM_SEG,BIOSMEM_CURRENT_MODE)==0x11)
|
||||
INT10_WriteChar(reg_al,(reg_bl&0x80)|0x3f,reg_bh,reg_cx,true);
|
||||
else INT10_WriteChar(reg_al,reg_bl,reg_bh,reg_cx,true);
|
||||
break;
|
||||
case 0x0A: /* Write Character at cursor CX times */
|
||||
INT10_WriteChar(reg_al,reg_bl,reg_bh,reg_cx,false);
|
||||
|
|
Loading…
Add table
Reference in a new issue