Commit f7c6049d authored by Joseph Pranevich's avatar Joseph Pranevich Committed by Alexandre Julliard

Added some traces and cleaned up a couple of things.

parent e8d281d4
...@@ -35,15 +35,26 @@ ...@@ -35,15 +35,26 @@
void WINAPI INT_Int10Handler( CONTEXT *context ) void WINAPI INT_Int10Handler( CONTEXT *context )
{ {
switch(AH_reg(context)) switch(AH_reg(context)) {
{
case 0x00: /* SET VIDEO MODE */ case 0x00: /* SET VIDEO MODE */
/* If the mode is 0x02 or 0x07 then we are still in /* Text Modes: (can xterm or similar change text rows/cols?) */
80x25 text and can ignore the request */ /* (mode) (text rows/cols)
if ((AL_reg(context) == 0x02) || (AL_reg(context) == 0x07)) 0x00 - 40x25
break; 0x01 - 40x25
0x02 - 80x25
0x03 - 80x25 or 80x43 or 80x50
0x07 - 80x25
*/
FIXME(int10, "Set Video Mode - Not Supported\n"); if ((AL_reg(context) == 0x02) || (AL_reg(context) == 0x07)) {
TRACE(int10, "Set Video Mode - Set to Text - 0x0%x\n",
AL_reg(context));
}
else {
FIXME(int10, "Set Video Mode (0x%x) - Not Supported\n",
AL_reg(context));
}
break; break;
case 0x01: /* SET CURSOR SHAPE */ case 0x01: /* SET CURSOR SHAPE */
...@@ -116,10 +127,12 @@ void WINAPI INT_Int10Handler( CONTEXT *context ) ...@@ -116,10 +127,12 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
break; break;
case 0x0e: /* TELETYPE OUTPUT */ case 0x0e: /* TELETYPE OUTPUT */
TRACE(int10, "Teletype Output\n");
_lwrite16(1, &AL_reg(context), 1); _lwrite16(1, &AL_reg(context), 1);
break; break;
case 0x0f: /* GET CURRENT VIDEO MODE */ case 0x0f: /* GET CURRENT VIDEO MODE */
TRACE(int10, "Get Current Video Mode\n");
AL_reg(context) = 0x5b; /* WHY ARE WE RETURNING THIS? */ AL_reg(context) = 0x5b; /* WHY ARE WE RETURNING THIS? */
break; break;
...@@ -129,7 +142,8 @@ void WINAPI INT_Int10Handler( CONTEXT *context ) ...@@ -129,7 +142,8 @@ void WINAPI INT_Int10Handler( CONTEXT *context )
FIXME(int10, "Set Single Palette Register - Not Supported\n"); FIXME(int10, "Set Single Palette Register - Not Supported\n");
break; break;
case 0x01: /* SET BORDER (OVERSCAN) */ case 0x01: /* SET BORDER (OVERSCAN) */
FIXME(int10, "Set Border (Overscan) - Not Supported\n"); /* Text terminals have no overscan */
TRACE(int10, "Set Border (Overscan) - Ignored\n");
break; break;
case 0x02: /* SET ALL PALETTE REGISTERS */ case 0x02: /* SET ALL PALETTE REGISTERS */
FIXME(int10, "Set all palette registers - Not Supported\n"); FIXME(int10, "Set all palette registers - Not Supported\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment