From a87cb5aac0dc279375cde173643d5d4a7bcd2393 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 22 Aug 2005 17:52:57 +0000 Subject: [PATCH] Apply patch 1240534: "Fix for INT10 screen output with multiple video pages" from kippesoep Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2282 --- src/ints/int10_char.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/ints/int10_char.cpp b/src/ints/int10_char.cpp index 92b1fa44..7f2ad71a 100644 --- a/src/ints/int10_char.cpp +++ b/src/ints/int10_char.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: int10_char.cpp,v 1.35 2005-07-08 13:48:58 qbix79 Exp $ */ +/* $Id: int10_char.cpp,v 1.36 2005-08-22 17:52:57 qbix79 Exp $ */ /* Character displaying moving functions */ @@ -506,9 +506,6 @@ void WriteChar(Bit16u col,Bit16u row,Bit8u page,Bit8u chr,Bit8u attr,bool useatt } void INT10_WriteChar(Bit8u chr,Bit8u attr,Bit8u page,Bit16u count,bool showattr) { - //TODO Check if this page thing is correct - if (CurMode->type!=M_TEXT) page=0xff; - if(page==0xFF) page=real_readb(BIOSMEM_SEG,BIOSMEM_CURRENT_PAGE); Bit8u cur_row=CURSOR_POS_ROW(page); Bit8u cur_col=CURSOR_POS_COL(page); BIOS_NCOLS;BIOS_NROWS; @@ -575,10 +572,6 @@ void INT10_TeletypeOutput(Bit8u chr,Bit8u attr) { } void INT10_WriteString(Bit8u row,Bit8u col,Bit8u flag,Bit8u attr,PhysPt string,Bit16u count,Bit8u page) { - //TODO Check if this page thing is correct - if (CurMode->type!=M_TEXT) page=0xff; - - if(page==0xFF) page=real_readb(BIOSMEM_SEG,BIOSMEM_CURRENT_PAGE); BIOS_NCOLS;BIOS_NROWS; Bit8u cur_row=CURSOR_POS_ROW(page); Bit8u cur_col=CURSOR_POS_COL(page);