patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Name: 200112032202
ChangeLog: Christian COSTA <christian.costa@worldonline.fr>
	Function 1Bh (Get functionality/state information) should copy the state structure to ES:DI.
GenDate: 2001/12/03 22:02:25 UTC
ModifiedFiles: msdos/int10.c
AddedFiles: 
===================================================================
RCS file: /home/wine/wine/msdos/int10.c,v
retrieving revision 1.34
diff -u -r1.34 int10.c
--- msdos/int10.c	2001/11/06 20:57:24	1.34
+++ msdos/int10.c	2001/12/03 20:26:09
@@ -720,15 +720,13 @@
     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;
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux