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
2e5b1b66
Commit
2e5b1b66
authored
Nov 11, 2002
by
Robert 'Admiral' Coeyman
Committed by
Alexandre Julliard
Nov 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bit 2 value and set bit 1 too.
parent
44519bde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
int11.c
msdos/int11.c
+5
-2
No files found.
msdos/int11.c
View file @
2e5b1b66
...
...
@@ -67,7 +67,10 @@ void WINAPI INT_Int11Handler( CONTEXT86 *context )
bits 15-14 } Added by William Owen Smith,
bits 11-9 } wos@dcs.warwick.ac.uk
bits 7-6
bit 2 (always set)
bit 2 (always set) ( bit 2 = 4 )
bit 1 } Robert 'Admiral' Coeyman
All *nix systems either have a math processor or
emmulate one.
*/
if
(
GetDriveTypeA
(
"A:
\\
"
)
==
DRIVE_REMOVABLE
)
diskdrives
++
;
...
...
@@ -98,5 +101,5 @@ void WINAPI INT_Int11Handler( CONTEXT86 *context )
if
(
parallelports
>
3
)
/* 2 bits -- maximum value = 3 */
parallelports
=
3
;
SET_AX
(
context
,
(
diskdrives
<<
6
)
|
(
serialports
<<
9
)
|
(
parallelports
<<
14
)
|
0x0
2
);
SET_AX
(
context
,
(
diskdrives
<<
6
)
|
(
serialports
<<
9
)
|
(
parallelports
<<
14
)
|
0x0
6
);
}
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