Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ee957090
Commit
ee957090
authored
Apr 17, 2002
by
Christian Costa
Committed by
Alexandre Julliard
Apr 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement SET INDIVIDUAL DAC REGISTER and SET BLOCK OF DAC REGISTERS.
parent
77d6a07c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
int10.c
dlls/winedos/int10.c
+26
-2
No files found.
dlls/winedos/int10.c
View file @
ee957090
...
...
@@ -543,10 +543,34 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
" - Not Supported
\n
"
);
break
;
case
0x10
:
/* SET INDIVIDUAL DAC REGISTER */
FIXME
(
"Set Individual DAC register - Not Supported
\n
"
);
{
PALETTEENTRY
paldat
;
TRACE
(
"Set Individual DAC register
\n
"
);
paldat
.
peRed
=
DH_reg
(
context
);
paldat
.
peGreen
=
CH_reg
(
context
);
paldat
.
peBlue
=
CL_reg
(
context
);
paldat
.
peFlags
=
0
;
VGA_SetPalette
(
&
paldat
,
BX_reg
(
context
)
&
0xFF
,
1
);
}
break
;
case
0x12
:
/* SET BLOCK OF DAC REGISTERS */
FIXME
(
"Set Block of DAC registers - Not Supported
\n
"
);
{
int
i
;
PALETTEENTRY
paldat
;
BYTE
*
pt
;
TRACE
(
"Set Block of DAC registers
\n
"
);
pt
=
(
BYTE
*
)
CTX_SEG_OFF_TO_LIN
(
context
,
context
->
SegEs
,
context
->
Edx
);
for
(
i
=
0
;
i
<
CX_reg
(
context
);
i
++
)
{
paldat
.
peRed
=
(
*
(
pt
+
i
*
3
+
0
))
<<
2
;
paldat
.
peGreen
=
(
*
(
pt
+
i
*
3
+
1
))
<<
2
;
paldat
.
peBlue
=
(
*
(
pt
+
i
*
3
+
2
))
<<
2
;
paldat
.
peFlags
=
0
;
VGA_SetPalette
(
&
paldat
,(
BX_reg
(
context
)
+
i
)
&
0xFF
,
1
);
}
}
break
;
case
0x13
:
/* SELECT VIDEO DAC COLOR PAGE */
FIXME
(
"Select video DAC color page - Not Supported
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment