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

This commit is contained in:
Robert 'Admiral' Coeyman 1999-10-23 19:01:10 +00:00 committed by Alexandre Julliard
parent 031f4faaff
commit 0e04d8b0a8
3 changed files with 18 additions and 0 deletions

View File

@ -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*);

View File

@ -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 {
*(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 );

View File

@ -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;