From 01e60082eaea51a79ed9149bb3e22edd4801d65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Thu, 10 Nov 2005 20:24:55 +0000 Subject: [PATCH] enable all planes when outputing characters through int10 (fixes Ultima1 text colour) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2374 --- src/ints/int10_char.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ints/int10_char.cpp b/src/ints/int10_char.cpp index 642885e1..9f478eb8 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.39 2005-10-03 19:22:13 c2woody Exp $ */ +/* $Id: int10_char.cpp,v 1.40 2005-11-10 20:24:55 c2woody Exp $ */ /* Character displaying moving functions */ @@ -493,6 +493,7 @@ void WriteChar(Bit16u col,Bit16u row,Bit8u page,Bit8u chr,Bit8u attr,bool useatt x=8*col; y=cheight*row;Bit8u xor_mask=(CurMode->type == M_VGA) ? 0x0 : 0x80; //TODO Check for out of bounds + IO_Write(0x3c4,0x2);IO_Write(0x3c5,0xf); /* enable all planes */ for (Bit8u h=0;h