Commit 0e04d8b0 authored by Robert 'Admiral' Coeyman's avatar Robert 'Admiral' Coeyman Committed by Alexandre Julliard

Report non-hercules video. Turned on int 2a.

parent 031f4faa
...@@ -167,6 +167,9 @@ extern void WINAPI INT_Int26Handler(CONTEXT86*); ...@@ -167,6 +167,9 @@ extern void WINAPI INT_Int26Handler(CONTEXT86*);
/* msdos/int29.c */ /* msdos/int29.c */
extern void WINAPI INT_Int29Handler(CONTEXT86*); extern void WINAPI INT_Int29Handler(CONTEXT86*);
/* msdos/int2a.c */
extern void WINAPI INT_Int2aHandler(CONTEXT86*);
/* msdos/int2f.c */ /* msdos/int2f.c */
extern void WINAPI INT_Int2fHandler(CONTEXT86*); extern void WINAPI INT_Int2fHandler(CONTEXT86*);
......
...@@ -292,6 +292,12 @@ void WINAPI INT_Int10Handler( CONTEXT86 *context ) ...@@ -292,6 +292,12 @@ void WINAPI INT_Int10Handler( CONTEXT86 *context )
case 0x09: /* SET PALETTE ENTRIES */ case 0x09: /* SET PALETTE ENTRIES */
FIXME("VESA Set palette entries - not implemented\n"); FIXME("VESA Set palette entries - not implemented\n");
break; break;
case 0xef: /* get video mode for hercules-compatables */
/* There's no reason to really support this */
/* is there?....................(A.C.) */
TRACE("Just report the video not hercules compatable\n");
DX_reg(context) = 0xffff;
break;
case 0xff: /* Turn VESA ON/OFF */ case 0xff: /* Turn VESA ON/OFF */
/* i dont know what to do */ /* i dont know what to do */
break; break;
...@@ -731,6 +737,12 @@ else { ...@@ -731,6 +737,12 @@ else {
*(DWORD *)(p+0x0a) = 0xfffffffd; /* capabilities flags :-) */ *(DWORD *)(p+0x0a) = 0xfffffffd; /* capabilities flags :-) */
} }
break; break;
case 0xef: /* get video mode for hercules-compatables */
/* There's no reason to really support this */
/* is there?....................(A.C.) */
TRACE("Just report the video not hercules compatable\n");
DX_reg(context) = 0xffff;
break;
default: default:
FIXME("Unknown - 0x%x\n", AH_reg(context)); FIXME("Unknown - 0x%x\n", AH_reg(context));
INT_BARF( context, 0x10 ); INT_BARF( context, 0x10 );
......
...@@ -142,6 +142,9 @@ int INT_RealModeInterrupt( BYTE intnum, CONTEXT86 *context ) ...@@ -142,6 +142,9 @@ int INT_RealModeInterrupt( BYTE intnum, CONTEXT86 *context )
case 0x29: case 0x29:
INT_Int29Handler(context); INT_Int29Handler(context);
break; break;
case 0x2a:
INT_Int2aHandler(context);
break;
case 0x2f: case 0x2f:
INT_Int2fHandler(context); INT_Int2fHandler(context);
break; break;
......
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