From 97e1c2dc4279eeda5ba6cadb6b29be088c1881e8 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Wed, 22 Oct 2003 14:45:54 +0000 Subject: [PATCH] changes for different machine types Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1359 --- src/ints/int10.cpp | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/src/ints/int10.cpp b/src/ints/int10.cpp index 4a7d2db7..5587041a 100644 --- a/src/ints/int10.cpp +++ b/src/ints/int10.cpp @@ -25,7 +25,9 @@ #include "video.h" #include "inout.h" #include "int10.h" -#include "../hardware/vga.h" /* Maybe move this thing */ +#include "setup.h" +#include "support.h" +#include "vga.h" Int10Data int10; static Bitu call_10; @@ -70,7 +72,7 @@ static Bitu INT10_Handler(void) { reg_ah=0; break; case 0x05: /* Set Active Page */ - if (reg_al & 0x80) LOG(LOG_INT10,LOG_NORMAL)("Func %x",reg_al); + if (reg_al & 0x80) LOG(LOG_INT10,LOG_NORMAL)("Tandy set CRT/CPU Page Func %x",reg_al); else INT10_SetActivePage(reg_al); break; case 0x06: /* Scroll Up */ @@ -105,7 +107,7 @@ static Bitu INT10_Handler(void) { INT10_GetPixel(reg_cx,reg_dx,reg_bh,®_al); break; case 0x0E: /* Teletype OutPut */ - INT10_TeletypeOutput(reg_al,reg_bl,false); + INT10_TeletypeOutput(reg_al,reg_bl); break; case 0x0F: /* Get videomode */ reg_bh=real_readb(BIOSMEM_SEG,BIOSMEM_CURRENT_PAGE); @@ -255,6 +257,7 @@ graphics_chars: } break; case 0x12: /* alternate function select */ + if (machine