From fecc2a4a8ac26e4dda8b6ccdf7280fc5833b475f Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 11 Dec 2002 19:52:37 +0000 Subject: [PATCH] int 10:0b now gives 1 warning. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@565 --- src/ints/int10.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ints/int10.cpp b/src/ints/int10.cpp index bef20fe2..34d40cf7 100644 --- a/src/ints/int10.cpp +++ b/src/ints/int10.cpp @@ -31,7 +31,7 @@ static Bitu call_10; static bool warned_ff=false; - +static bool warned_int10_0b=false; static Bitu INT10_Handler(void) { switch (reg_ah) { @@ -76,6 +76,10 @@ static Bitu INT10_Handler(void) { INT10_WriteChar(reg_al,reg_bl,reg_bh,reg_cx,false); break; case 0x0B: /* Set Background/Border Colour & Set Palette*/ + if(!warned_int10_0b) { + LOG_WARN("INT 10:0B Unsupported: Set Background/border colour & Set Pallete"); + warned_int10_0b=true; + } break; E_Exit("Unsupported int 10 call %02X" ,reg_ah); break;