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
31f35146
Commit
31f35146
authored
Apr 08, 2003
by
Jukka Heinonen
Committed by
Alexandre Julliard
Apr 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return correct segment for VESA information.
Check oem number/version flag first and after that overwrite condition code.
parent
0114f775
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
int10.c
dlls/winedos/int10.c
+2
-2
int21.c
dlls/winedos/int21.c
+4
-4
No files found.
dlls/winedos/int10.c
View file @
31f35146
...
...
@@ -607,8 +607,8 @@ INT10_HEAP *INT10_GetHeap( void )
int
i
;
heap_pointer
=
DOSVM_AllocDataUMB
(
sizeof
(
INT10_HEAP
),
0
,
&
segment
);
&
segment
,
0
);
for
(
i
=
0
;
i
<
7
;
i
++
)
heap_pointer
->
StaticModeSupport
[
i
]
=
0xff
;
/* FIXME */
...
...
dlls/winedos/int21.c
View file @
31f35146
...
...
@@ -1585,15 +1585,15 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
TRACE
(
"GET DOS VERSION - %s requested
\n
"
,
(
AL_reg
(
context
)
==
0x00
)
?
"OEM number"
:
"version flag"
);
SET_AL
(
context
,
HIBYTE
(
HIWORD
(
GetVersion16
()))
);
/* major version */
SET_AH
(
context
,
LOBYTE
(
HIWORD
(
GetVersion16
()))
);
/* minor version */
if
(
AL_reg
(
context
)
==
0x00
)
SET_BH
(
context
,
0xff
);
/* OEM number => undefined */
else
SET_BH
(
context
,
0x08
);
/* version flag => DOS is in ROM */
SET_BL
(
context
,
0x12
);
/* 0x123456 is Wine's serial # */
SET_AL
(
context
,
HIBYTE
(
HIWORD
(
GetVersion16
()))
);
/* major version */
SET_AH
(
context
,
LOBYTE
(
HIWORD
(
GetVersion16
()))
);
/* minor version */
SET_BL
(
context
,
0x12
);
/* 0x123456 is 24-bit Wine's serial # */
SET_CX
(
context
,
0x3456
);
break
;
...
...
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