GET FUNCTIONALITY/STATE INFORMATION: The input parameter ES:DI is a

buffer where bios information (all the VIDEOSTATE struct) must be
copied to.
This commit is contained in:
Christian Costa 2002-04-20 20:52:05 +00:00 committed by Alexandre Julliard
parent fbaef1cc9a
commit e684c1dad7
1 changed files with 4 additions and 6 deletions

View File

@ -717,15 +717,13 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
break; break;
case 0x1b: /* FUNCTIONALITY/STATE INFORMATION */ case 0x1b: /* FUNCTIONALITY/STATE INFORMATION */
FIXME("Get functionality/state information - partially implemented\n"); TRACE("Get functionality/state information\n");
if (BX_reg(context) == 0x0) if (BX_reg(context) == 0x0)
{ {
AL_reg(context) = 0x1b; AL_reg(context) = 0x1b;
if (ISV86(context)) /* real */ /* Copy state information structure to ES:DI */
context->SegEs = 0xf000; memcpy(CTX_SEG_OFF_TO_LIN(context,context->SegEs,context->Edi),
else DOSMEM_BiosSys()+0xe010,sizeof(VIDEOSTATE));
context->SegEs = DOSMEM_BiosSysSeg;
BX_reg(context) = 0xe000;
} }
break; break;