From cb98d87b7a6b236d60de83b8b04261ee9fd41581 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 19 Apr 2007 13:11:49 +0000 Subject: [PATCH] Make textmode 54 and 55 work again Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2845 --- src/gui/render_scalers.h | 4 ++-- src/ints/int10_modes.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/render_scalers.h b/src/gui/render_scalers.h index 9f1b1636..9fe6691d 100644 --- a/src/gui/render_scalers.h +++ b/src/gui/render_scalers.h @@ -21,8 +21,8 @@ //#include "render.h" #include "video.h" - -#define SCALER_MAXWIDTH 1024 +//MAXWIDTH: increased it for the large text modi +#define SCALER_MAXWIDTH 1280 #define SCALER_MAXHEIGHT 768 #define SCALER_COMPLEXWIDTH 512 diff --git a/src/ints/int10_modes.cpp b/src/ints/int10_modes.cpp index c5c9ae17..a5331424 100644 --- a/src/ints/int10_modes.cpp +++ b/src/ints/int10_modes.cpp @@ -52,7 +52,7 @@ VideoModeBlock ModeList_VGA[]={ { 0x012 ,M_EGA ,640 ,480 ,80 ,30 ,8 ,16 ,1 ,0xA0000 ,0xA000 ,100 ,525 ,80 ,480 ,0 }, { 0x013 ,M_VGA ,320 ,200 ,40 ,25 ,8 ,8 ,1 ,0xA0000 ,0x2000 ,100 ,449 ,80 ,400 ,0 }, -{ 0x054 ,M_TEXT ,1056,688, 132,43, 8, 8, 1 ,0xB8000 ,0x4000, 192, 800, 132,688, 0 }, +{ 0x054 ,M_TEXT ,1056,688, 132,43, 8, 16, 1 ,0xB8000 ,0x4000, 192, 800, 132,688, 0 }, { 0x055 ,M_TEXT ,1056,400, 132,25, 8, 16, 1 ,0xB8000 ,0x2000, 192, 449, 132,400, 0 }, { 0x06A ,M_LIN4 ,800 ,600 ,100,37 ,8 ,16 ,1 ,0xA0000 ,0x10000,128 ,663 ,100,600 ,0 },