Be more compatible by converting tabs to spaces in the DOS console device rather than in the video BIOS teletype function.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3983
This commit is contained in:
parent
9fc2c31a97
commit
64a04b9985
4 changed files with 19 additions and 11 deletions
|
@ -659,13 +659,6 @@ static void INT10_TeletypeOutputAttr(Bit8u chr,Bit8u attr,bool useattr,Bit8u pag
|
|||
// cur_col=0; //Seems to break an old chess game
|
||||
cur_row++;
|
||||
break;
|
||||
case '\t':
|
||||
do {
|
||||
INT10_TeletypeOutputAttr(' ',attr,useattr,page);
|
||||
cur_row=CURSOR_POS_ROW(page);
|
||||
cur_col=CURSOR_POS_COL(page);
|
||||
} while(cur_col%8);
|
||||
break;
|
||||
default:
|
||||
/* Draw the actual Character */
|
||||
WriteChar(cur_col,cur_row,page,chr,attr,useattr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue