Author: hbelusca
Date: Wed Jun 17 23:21:12 2015
New Revision: 68181
URL:
http://svn.reactos.org/svn/reactos?rev=68181&view=rev
Log:
[NTVDM]: Implement INT 10h, AX=1018/1019 "Set/Get PEL Mask".
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/bios…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c [iso-8859-1] Wed Jun 17 23:21:12
2015
@@ -3358,6 +3358,20 @@
break;
}
+ /* Set PEL Mask */
+ case 0x18:
+ {
+ IOWriteB(VGA_DAC_MASK, getBL());
+ break;
+ }
+
+ /* Get PEL Mask */
+ case 0x19:
+ {
+ setBL(IOReadB(VGA_DAC_MASK));
+ break;
+ }
+
default:
{
DPRINT1("BIOS Palette Control Sub-command AL = 0x%02X NOT
IMPLEMENTED\n",