Commit e684c1da authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

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

buffer where bios information (all the VIDEOSTATE struct) must be copied to.
parent fbaef1cc
......@@ -717,15 +717,13 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
break;
case 0x1b: /* FUNCTIONALITY/STATE INFORMATION */
FIXME("Get functionality/state information - partially implemented\n");
TRACE("Get functionality/state information\n");
if (BX_reg(context) == 0x0)
{
AL_reg(context) = 0x1b;
if (ISV86(context)) /* real */
context->SegEs = 0xf000;
else
context->SegEs = DOSMEM_BiosSysSeg;
BX_reg(context) = 0xe000;
/* Copy state information structure to ES:DI */
memcpy(CTX_SEG_OFF_TO_LIN(context,context->SegEs,context->Edi),
DOSMEM_BiosSys()+0xe010,sizeof(VIDEOSTATE));
}
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