mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
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:
parent
fbaef1cc9a
commit
e684c1dad7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user